gcc 4.2.0 20061007 problem with libgomp
Tim Prince
timothyprince@sbcglobal.net
Tue Nov 7 13:24:00 GMT 2006
Haris Saybasili wrote:
>
> 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
> ../../../gcc-4.2-20061007/libgomp/parallel.c:48
> 48 ../../../gcc-4.2-20061007/libgomp/parallel.c: No such file or
> directory.
> in ../../../gcc-4.2-20061007/libgomp/parallel.c
> (gdb)
>
> ---------
Did you try increasing your stack limit?
More information about the Gcc-help
mailing list