This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libgomp problem with gcc-4.2.0 20061107
- From: "Haris Saybasili" <haris dot saybasili at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 14 Nov 2006 15:47:05 +0200
- Subject: libgomp problem with gcc-4.2.0 20061107
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