libgomp problem with gcc-4.2.0 20061107

Haris Saybasili haris.saybasili@gmail.com
Tue Nov 14 13:47:00 GMT 2006


Hi everybody,

I recently compiled gcc-4.2.0 latest on my MacBook Pro (Mac OS X
10.4.8). I got these messages during make:

ranlib: file: .libs/libgomp.a(mutex.o) has no symbols
ranlib -c .libs/libgomp.a
ranlib: file: .libs/libgomp.a(mutex.o) has no symbols
creating libgomp.la


However, there was no errors, and I did "make install".

Now I can compile and run openmp applications without any errors. But,
when I try compiling an application which uses a lot of libraries like
atlas, fftw, freeglut, openmp, it fails during runtime. The debugging
information is like that:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000008
[Switching to process 1193 thread 0xf03]
gomp_resolve_num_threads (specified=0) at ../../../libgomp/parallel.c:48
48        if (gomp_thread()->ts.team && !gomp_nest_var)


I'd compiled atlas,freeglut,fftw using gcc-4.0.1. Can this cause this
kind of problems?

Thanks a lot...

haris



More information about the Gcc-help mailing list