[Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs
ncahill_alt at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 20:43:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list