------- Comment #9 from howarth at nitro dot med dot uc dot edu 2008-12-11 00:28 ------- On i686-apple-darwin9, configured as...
Using built-in specs. Target: i686-apple-darwin9 Configured with: ../gcc-4.4-20081209/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-arch=nocona --with-tune=generic --build=i686-apple-darwin9 --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.4.0 20081210 (experimental) (GCC) I get... rogram received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 [Switching to process 560 thread 0x313] 0x00001ae9 in MAIN__.omp_fn.0 () (gdb) bt #0 0x00001ae9 in MAIN__.omp_fn.0 () #1 0x0001a204 in gomp_thread_start (xdata=0xbfffe7f0) at ../../../gcc-4.4-20081209/libgomp/team.c:118 #2 0x910c4095 in _pthread_start () #3 0x910c3f52 in thread_start () I assume I am using emutls since I see... nm crayptr2.exe | grep emut 00001cd0 t ___emutls_get_address 00001c90 t ___emutls_register_common 00002014 d ___emutls_v.ip.1499 00001f10 t _emutls_destroy 00001ed0 t _emutls_init 00002090 b _emutls_key 00002040 d _emutls_mutex 00002094 b _emutls_size I'll try a build of current gcc trunk with your patch and see if it helps. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35677