From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31011 invoked by alias); 14 Nov 2006 13:47:19 -0000 Received: (qmail 31003 invoked by uid 22791); 14 Nov 2006 13:47:18 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Nov 2006 13:47:08 +0000 Received: by ug-out-1314.google.com with SMTP id z34so1191769ugc for ; Tue, 14 Nov 2006 05:47:05 -0800 (PST) Received: by 10.67.26.7 with SMTP id d7mr1288344ugj.1163512025288; Tue, 14 Nov 2006 05:47:05 -0800 (PST) Received: by 10.67.92.4 with HTTP; Tue, 14 Nov 2006 05:47:05 -0800 (PST) Message-ID: <685abb830611140547x6d91e3b1g50f5ab787955c809@mail.gmail.com> Date: Tue, 14 Nov 2006 13:47:00 -0000 From: "Haris Saybasili" To: gcc-help@gcc.gnu.org Subject: libgomp problem with gcc-4.2.0 20061107 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg00192.txt.bz2 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