This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52717] thunk referenced in discarded section when building samba with -flto
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Mar 2012 10:48:33 +0000
- Subject: [Bug target/52717] thunk referenced in discarded section when building samba with -flto
- Auto-submitted: auto-generated
- References: <bug-52717-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52717
--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> 2012-03-26 10:48:33 UTC ---
> > That stuff might simply not be set up properly for LTO (it does not seem
> > to be integrated with the cgraph). Honza? Eric?
>
> Yes, that's very likely the source of the problem.
Hmm, if the sparc_get_pc_thunk is reference to libgcc, how it can end up being
defined
in ltrans24? Perhaps renaming interfere here with the references done in sparc
frontend?
Honza