------- Comment #2 from jakub at gcc dot gnu dot org 2009-02-13 11:50 ------- This has been repeated many times. Don't use -static for threaded programs, it is really bad idea, and if you really have to, you need to link the whole libpthread.a in (-Wl,--whole-archive -lpthread -Wl,--no-whole-archive), otherwise if it works, it is by pure luck. This certainly isn't a regression.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Target Milestone|4.4.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176