------- Comment #3 from jv244 at cam dot ac dot uk 2009-07-28 14:34 ------- (In reply to comment #1) > I certainly can't reproduce any kind of segfault with this.
It could be that it segfaults for Bill because 'ftn' adds -static to the compiler options, but doesn't link libpthread with '-Wl,--whole-archive -lpthread -Wl,--no-whole-archive' (see PR39176). Certainly, this happened in the past on the XT5. It is something Bill could check on the Cray :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40876