This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/59000] lto can't merge user-defined weak builtin functions
- From: "dev-zero at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Feb 2016 15:21:58 +0000
- Subject: [Bug lto/59000] lto can't merge user-defined weak builtin functions
- Auto-submitted: auto-generated
- References: <bug-59000-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59000
Tiziano MÃller <dev-zero at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dev-zero at gentoo dot org
--- Comment #5 from Tiziano MÃller <dev-zero at gentoo dot org> ---
Found my way here via bug #52159. When building Qemu with -flto I get with
gcc-5.3.0:
[...]
lto1: error: two or more sections for .gnu.lto_fprintf.288635079aa9eb60
(null):0: confused by earlier errors, bailing out
lto-wrapper: fatal error:
/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0/x86_64-pc-linux-gnu-g++ returned 1 exit
status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status