public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs
@ 2012-01-17 20:43 ncahill_alt at yahoo dot com
  2012-01-18  3:36 ` [Bug lto/51887] " pinskia at gcc dot gnu.org
  2012-01-18 10:37 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ncahill_alt at yahoo dot com @ 2012-01-17 20:43 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/51887] wrapped function with LTO - multiple prevailing defs
  2012-01-17 20:43 [Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs ncahill_alt at yahoo dot com
@ 2012-01-18  3:36 ` pinskia at gcc dot gnu.org
  2012-01-18 10:37 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-18  3:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51887

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-18 01:04:51 UTC ---
Related to bug 51859.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/51887] wrapped function with LTO - multiple prevailing defs
  2012-01-17 20:43 [Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs ncahill_alt at yahoo dot com
  2012-01-18  3:36 ` [Bug lto/51887] " pinskia at gcc dot gnu.org
@ 2012-01-18 10:37 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-18 10:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51887

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-18 10:08:39 UTC ---
I'd say it's a duplicate (and I think an ld bug, ld should put the
backwards-translated names in the resolution file).

*** This bug has been marked as a duplicate of bug 51859 ***


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-18 10:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-17 20:43 [Bug lto/51887] New: wrapped function with LTO - multiple prevailing defs ncahill_alt at yahoo dot com
2012-01-18  3:36 ` [Bug lto/51887] " pinskia at gcc dot gnu.org
2012-01-18 10:37 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).