Currently the ld64 on Darwin seems to create warnings of the form...

can't find atom for N_GSYM stabs i:G(0,2) in /var/tmp//cc6KtMzX.o

when compiling Fortran COMMON blocks at -m64 with the -g flag. These warnings
incorrectly cause about 38 apparent fortran testsuite failures on Darwin. This
problem can be suppressed until the issue causing the warnings (whose cause is
currently unknown) is addressed. The following patch (sorry about the unified
format) allows these warnings to be pruned and ignored during a -m64 make
check.

--- gcc-4.2-20060822/gcc/testsuite/lib/prune.exp.org    2006-08-23
18:33:56.000000000 -0400
+++ gcc-4.2-20060822/gcc/testsuite/lib/prune.exp        2006-08-23
18:41:28.000000000 -0400
@@ -43,6 +43,7 @@
     regsub -all "(^|\n)\[^\n\]*file path prefix \[^\n\]* never used" $text ""
text
     regsub -all "(^|\n)\[^\n\]*linker input file unused since linking not
done" $text "" text

+    regsub -all "(^|\n)can't find atom for N_GSYM stabs \[^\n\]* in \[^\n\]*"
$text "" text
     #send_user "After:$text\n"

     return $text

With this patch in place the fortran testsuite failures for -m64 are identical 
to those for -m32 with three unexpected passes. This patch will help remove
the "noise" off of the Darwin -m64 test results.


-- 
           Summary: need to prune "can't find atom for N_GSYM stabs"
                    warnings on Darwin for -m64
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: powerpc-apple-darwin8
  GCC host triplet: powerpc-apple-darwin8
GCC target triplet: powerpc-apple-darwin8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28837

Reply via email to