This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34719] New: N_GSYM stabs warning with common blocks on Mac OS X Leopard
- From: "dojo at masterleep dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2008 21:24:16 -0000
- Subject: [Bug fortran/34719] New: N_GSYM stabs warning with common blocks on Mac OS X Leopard
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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