This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs
- From: "ncahill_alt at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2012 20:07:51 +0000
- Subject: [Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51887
Bug #: 51887
Summary: wrapped function with LTO - multiple prevailing defs
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ncahill_alt@yahoo.com
Created attachment 26358
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26358
lto build error - multiple prevailing defs
This command, "gcc -flto -Wl,-wrap,WrapMe -o a a.c b.c", fails for the attached
testcase with the following error message:
lto1: fatal error: multiple prevailing defs for 'WrapMe'
compilation terminated.
This works if "-flto" is removed.
Neil.