This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.2.0 20061007 problem with libgomp


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]