http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57220
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-05-08 21:02:08 UTC --- Well, you should us the nm tool to check for existance of a symbol. Grepping for strings might lead you to wrong direction. I don't see anything obviously wrong on you temp-file. The only thing I am a bit confused about is that there seems to be a 4.7.2 directory used for crtend object ... so it looks to me that you might be still using two different runtimes and mixing stuff here happily. I just did a rebuild of all required stuff and I can't reproduce this issue. The options you've shown initially have for sure nothing to do with link-order, or about use of libraries.