[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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 10:14:00 GMT 2012


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-24 10:13:53 UTC ---
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)?



More information about the Gcc-bugs mailing list