https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074

Andreas Schwab <sch...@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Andreas Schwab <sch...@linux-m68k.org> ---
> $ gcc -Wl,-L. -Wl,--export-dynamic -pie foo.o -o foo.so

Don't use --export-dynamic.  This causes __libc_csu_{init,fini} to be shared
between the objects instead of having a private copy in each object.

Reply via email to