http://sourceware.org/bugzilla/show_bug.cgi?id=13254
Bug #: 13254 Summary: -z text warning breaks gcc testsuite on Solaris Product: binutils Version: 2.22 Status: NEW Severity: critical Priority: P1 Component: ld AssignedTo: unassig...@sourceware.org ReportedBy: r...@techfak.uni-bielefeld.de CC: amo...@gmail.com Classification: Unclassified Host: *-*-solaris2.* Target: *-*-solaris2.* Build: *-*-solaris2.* I've just tried mainline gcc with binutils 2.21.90 on Solaris 11/x86. Two changes from 2.21.1 cause massive gcc testsuite failures: FAIL: staticrootslib.lo -O2 (test for excess errors) Excess errors: /vol/gcc/bin/gld-2.21.90: warning: -z text ignored. The warning is new in 2.22. It was introduced by this change 2011-07-14 Alan Modra <amo...@gmail.com> * emultempl/elf32.em (gld${EMULATION_NAME}_add_options, gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options): Provide --build-id, -z defs, -z muldefs, -z max-page-size, -z common-page-size, -z execstack, -z noexecstack for all targets. Add help for --exclude-libs. but is missing from the ChangeLog. If this warning remains in the released ld 2.22, that becomes mostly useless on Solaris. While one might be able to change gcc itself to not pass -z text if using (recent) gld, other instances of the option are from libtool and cannot that easily changed. Rainer -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils