This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52717] thunk referenced in discarded section when building samba with -flto


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
             Target|                            |sparc-*-linux
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org, hubicka at gcc dot
                   |                            |gnu.org
          Component|middle-end                  |target

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-26 08:13:03 UTC ---
Which binutils version are you using?  The symbol seems to be one that is
supposed to be provided by libgcc (see sparc.c:get_pc_thunk_name, used
by GOT register loading)

That stuff might simply not be set up properly for LTO (it does not seem
to be integrated with the cgraph).  Honza?  Eric?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]