https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074
Andreas Schwab <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andreas Schwab <[email protected]> --- > $ 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.
