This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34719] New: N_GSYM stabs warning with common blocks on Mac OS X Leopard


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]