------- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-29 14:31 ------- You need to link libpthread.a with -Wl,--whole-archive
In general static linking is not recommended with glibc and threads. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41504