http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42690
--- Comment #25 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-22 18:02:47 UTC --- The current linker plugin scheme may be flawed. The order of linking libraries (archive and DSO) is very important. They have to be placed between crti.o and crtn.o. We may not link an archive after crtn.o.