http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2010-11-19 
16:45:51 UTC ---
(In reply to comment #0)
> Created attachment 22457 [details]
> main prog C++ source
> 
> As discussed in http://gcc.gnu.org/ml/gcc-help/2010-11/msg00198.html, the G++
> driver does not link with -lgcc when creating a shared lib.

The example in the link above works for me with my native arm-linux-gnueabi
toolchain.

Did you forget to install the libgcc_s.so linker script?  The very purpose of
that script is to make -lgcc_s suck in both the dynamic and the static libgcc,
since (as you've noticed) some symbols are only defined in the static libgcc.

Reply via email to