------- Comment #8 from jakub at gcc dot gnu dot org 2009-02-13 21:10 ------- This is not a gcc bug, glibc either should not ship libpthread.a at all or mv libpthread.a libpthreadx.a; gcc -r -nostdlib -o libpthread.a --whole-archive libpthreadx.a; rm libpthreadx.a I'll try the latter in Fedora soon. In any case, users really shouldn't use -static except for a few system recovery tools, see http://people.redhat.com/drepper/no_static_linking.html
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176