[Bug other/54671] [4.7/4.8 Regression] gcc 4.7.2 -Wl,--no-ctors-in-init-array causes binutils test failure, works with 4.7.1

ncahill_alt at yahoo dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 24 20:14:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54671

--- Comment #3 from ncahill_alt at yahoo dot com 2012-09-24 20:14:04 UTC ---
>From what I understand, gold's failing test assumes that gcc will make
available in general the old functionality, functionality that certain BSD
derived systems lacking the .init_array ELF section require(d), but which glibc
has not used in 10 years.  What can I say, the test is wrong.

I will report this to binutils, that the initpri3b test should disclaim or run
only when the system-default is a separate .ctors section.

Thank you, Jakub, for the quick response and clarification.

Neil.



More information about the Gcc-bugs mailing list