[Top][All Lists]
[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.
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, nickc at redhat dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, nickc at redhat dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++,
xunxun1982 at gmail dot com <=
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, xunxun1982 at gmail dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, amodra at gmail dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, amodra at gmail dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, amodra at gmail dot com, 2011/08/01
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, nickc at redhat dot com, 2011/08/02
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, amodra at gmail dot com, 2011/08/02
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, steve at sk2 dot org, 2011/08/03
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, vanboxem.ruben at gmail dot com, 2011/08/03
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, amodra at gmail dot com, 2011/08/04
- [Bug ld/12762] lto produces multiple definition errors for all symbols (including CRT) in C++, cvs-commit at gcc dot gnu.org, 2011/08/04