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 lto/51887] New: wrapped function with LTO - multiple prevailing defs


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.


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