gcc 4.2.0 20061007 problem with libgomp

Haris Saybasili haris.saybasili@gmail.com
Tue Nov 7 07:29:00 GMT 2006

Hi everybody,

I installed gcc 4.2.0 on MacOS X 10.4.8 with Developer Toolkit 2.4.1
for OpenMP support. I have a OpenMP code  using several libraries:
fftw-2.1.5 freeglut-2.4.0 atlas-3.6.0

I can compile without any errors, however, when I run the program, I
receive a bus error. I debugged it after compiling with -ggdb flag,
and received this error:


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
[Switching to process 432 thread 0xf03]
gomp_resolve_num_threads (specified=0) at
48      ../../../gcc-4.2-20061007/libgomp/parallel.c: No such file or directory.
        in ../../../gcc-4.2-20061007/libgomp/parallel.c


Do you have any idea?

here is the output for gcc -v:

Using built-in specs.
Target: i386-apple-darwin8.8.1
Configured with: ../gcc-4.2-20061007/configure
Thread model: posix
gcc version 4.2.0 20061007 (experimental)

Thanks in advance...

Haris Saybasili

More information about the Gcc-help mailing list