This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13391] AIX: collect2 emits bad code with duplicated symbols
- From: "greed at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2004 15:44:45 -0000
- Subject: [Bug target/13391] AIX: collect2 emits bad code with duplicated symbols
- References: <20031212191310.13391.greed@pobox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From greed at pobox dot com 2004-03-05 15:44 -------
(In reply to comment #35)
> After all this, this single line change is ALL that is required to fix the
> exception problem.
Yes, getting rid of the static members of libstdc++.a does the trick. (Using
the contrived testcase in this bug.)
> This patch is not necessary to fix the exception problem.
> However it is an optimization on exported symbols and fixes the duplicate
> _GLOBAL_* symbol linker warnings.
...which is a good thing all by itself.
> Thank you very much for your help, David.
I agree, thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13391