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



             Bug #: 55063

           Summary: [4.8 Regression] Thousands of failures in the

                    libstdc++-v3 tests after revision 192739

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: debug

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: domi...@lps.ens.fr

                CC: howa...@nitro.med.uc.edu, ia...@gcc.gnu.org,

                    pkon...@gcc.gnu.org

              Host: x86_64-apple-darwin10

            Target: x86_64-apple-darwin10

             Build: x86_64-apple-darwin10





After revision 192739, I got thousands of failures in the libstdc++-v3 tests on

x86_64-apple-darwin10 (Xcode 3.2.6) of the kind:



FAIL: 17_intro/static.cc (test for excess errors)

Excess errors:

warning: invalid DWARF generated by the compiler: DIE 0x0000459e has multiple 

AT_declaration attributes in '/var/tmp//ccYrx3xr.o'.



I don't know if this is an Apple's bug or not (and I don't care! if it is the

case it won't be fixed for darwin 10). I have silenced the failures with the

following hack (i.e., pruning the warning):



--- ../_clean/libstdc++-v3/testsuite/lib/prune.exp    2012-04-11

14:09:59.000000000 +0200

+++ libstdc++-v3/testsuite/lib/prune.exp    2012-10-24 16:55:36.000000000 +0200

@@ -63,6 +63,7 @@ proc libstdc++-dg-prune { system text } 

     regsub -all "(^|\n)\[^\n\]*ld: warning: can't add line info to anonymous

symbol\[^\n\]*" $text "" text

     regsub -all "(^|\n)\[^\n\]*warning:

DWARFDebugInfoEntry::AppendDependants\[^\n\]*AT_\[^\n\]*_bound\[^\n\]*FORM_ref4\[^\n\]*"

$text "" text

     regsub -all "(^|\n)\[^\n\]*warning:\[^\n\]*TAG_variable: 

AT_location\[^\n\]*didn't have valid function low pc\[^\n\]*" $text "" text

+    regsub -all "(^|\n)\[^\n\]*warning: invalid DWARF generated by the

compiler: DIE \[^\n\]* has multiple  AT_declaration attributes in\[^\n\]*"

$text "" text



     # Ignore harmless warnings from Xcode 4.0.

     regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind

for\[^\n\]*" $text "" text



tested with -m64 only.

Reply via email to