From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9984 invoked by alias); 8 Jan 2008 21:25:03 -0000 Received: (qmail 8867 invoked by uid 48); 8 Jan 2008 21:24:16 -0000 Date: Tue, 08 Jan 2008 21:36:00 -0000 Subject: [Bug fortran/34719] New: N_GSYM stabs warning with common blocks on Mac OS X Leopard X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dojo at masterleep dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00795.txt.bz2 Under Mac OS X Leopard using the prepackaged gfortran binaries from 12/31/2007, any fortran program with a common block emits a N_GSYM stabs warning when compiled in debug mode. This is with the Leopard version of XCode (3.0). $ cat test.f program test common nrange call firmssh(1) end subroutine firmssh(curmax) common nrange return end $ gfortran -g -c test.f $ gfortran test.o can't find atom for N_GSYM stabs nrange:G(0,5) in test.o can't find atom for N_GSYM stabs nrange:G(0,5) in test.o ld: warning, duplicate dylib /usr/local/gfortran/lib/libgcc_s.1.dylib $ gfortran --version GNU Fortran (GCC) 4.3.0 20071231 (experimental) [trunk revision 131236] Copyright (C) 2007 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING $ ld -v @(#)PROGRAM:ld PROJECT:ld64-77 -- Summary: N_GSYM stabs warning with common blocks on Mac OS X Leopard Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dojo at masterleep dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34719