bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12762] lto produces multiple definition errors for all symbols (


From: xunxun1982 at gmail dot com
Subject: [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++
Date: Mon, 1 Aug 2011 14:57:41 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12762

--- Comment #10 from PcX <xunxun1982 at gmail dot com> 2011-08-01 14:57:09 UTC 
---
(In reply to comment #9)
> Hi,
> 
> As a workaround have you tried adding -Wl,-allow-multiple-definition to the
> final gcc command line ?
> 
> I have uploaded a patch that *might* solve this problem.  I do not have the
> build environment in which to fully test it however, so there may well be
> problems with it.  Please give it a go anyway and let me know what happens.
> 
> Cheers
>   Nick

Yea, these days I use -Wl,-allow-multiple-definition to avoid this problem.
I will test the patch sometime.
Thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]