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.

Reply via email to