This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/55571] [4.6/4.7/4.8 regression] PR48076 fix broke bootstrap on armv5tel-linux-gnueabi
- From: "rth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Dec 2012 19:05:44 +0000
- Subject: [Bug bootstrap/55571] [4.6/4.7/4.8 regression] PR48076 fix broke bootstrap on armv5tel-linux-gnueabi
- Auto-submitted: auto-generated
- References: <bug-55571-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55571
--- Comment #10 from Richard Henderson <rth at gcc dot gnu.org> 2012-12-04 19:05:44 UTC ---
I can reproduce Joel's problem with the g++ driver or,
as expected, by adding -shared-libgcc to the link line.
Leaving aside the odd and transient bootstrap problem
(which really should not have occurred using -static-libgcc),
it becomes easy to see that when the shared libgcc has an
undefined symbol that is resolvable by the static libgcc,
then the linker is correct in generating the "hidden symbol
referenced by DSO" error.
The attachment I posted for gcc 4.7 applies with fuzz 1 to
mainline.