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



--- Comment #4 from Pawel Sikora <pluto at agmk dot net> 2012-09-25 19:23:15 
UTC ---

(In reply to comment #2)

> I think this is a user bug.  If gcc is configured against binutils that 
> support

> conversion of ctors into init_array, then it will assume it, obviously you

> can't use --no-ctors-in-init-array then, you'd need to configure gcc not to

> assume it.

> Why do you need to use that option (actually, I wonder why the linker has that

> option at all)?



e.g. i'd like to build an application for an old enterprise distro

(which doesn't support init/fini arrays) on my brand new distro.

-Wl,--no-ctors-in-init-array works perfectly fine in this case.

Reply via email to