http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54671
Bug #: 54671 Summary: gcc 4.7.2 -Wl,--no-ctors-in-init-array causes binutils test failure, works with 4.7.1 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: ncahill_...@yahoo.com Created attachment 28249 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28249 broken output file and generating makefile binutils-2.22/gold has an extra test failure when built with gcc 4.7.2. This is the offending command: gcc -Bgcctestdir/ -Wl,--no-ctors-in-init-array -Wl,-O1,--as-needed -o broken_by_gcc_472 a.o With 4.7.1, the test passes. I have put this in the 'other' category as no compilation seems to be taking place. In the attachment, you'll find output files generated with 4.7.2 and 4.7.1 to compare, hopefully the second is obviously broken. Also there is a Makefile to run the offending command, and preprocessed source for the object file being used. Thank you, hope this is enough to find/fix the error. Neil Cahill.