From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15344 invoked by alias); 5 Aug 2009 13:50:16 -0000 Received: (qmail 15315 invoked by uid 22791); 5 Aug 2009 13:50:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 05 Aug 2009 13:50:07 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n75Do53j030415; Wed, 5 Aug 2009 09:50:05 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n75Do4pK004092; Wed, 5 Aug 2009 09:50:04 -0400 Received: from zebedee.pink (vpn1-4-46.ams2.redhat.com [10.36.4.46]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n75Do2G9029007; Wed, 5 Aug 2009 09:50:03 -0400 Message-ID: <4A798E09.90009@redhat.com> Date: Wed, 05 Aug 2009 13:50:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.17 (X11/20081009) MIME-Version: 1.0 To: Matthias Klose CC: java@gcc.gnu.org Subject: Re: libgcj testsuite FAILs on Ubuntu References: <4A7965CE.7080601@redhat.com> <4A794BFA.2060702@ubuntu.com> <4A796911.3010202@redhat.com> <4A7983F6.4060201@redhat.com> In-Reply-To: <4A7983F6.4060201@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00012.txt.bz2 Andrew Haley wrote: > OK, sorry for the noise, I think I've found the real problem. > > Run nm on StackTrace2.exe, find the address of StackTrace2::main, and use > addr2line to get the line number: > > $ nm ./testsuite/StackTrace2.exe | grep 'StackTrace2.*main' | awk '{print $1}' | addr2line -e ./testsuite/StackTrace2.exe > BFD: Dwarf Error: mangled line number section. > crtstuff.c:0 > > On a non-broken x86_64 system: > > $ nm ./testsuite/StackTrace2.exe | grep 'StackTrace2.*main' | awk '{print $1}' | addr2line -e ./testsuite/StackTrace2.exe > /home/aph/gcc/trunk/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/StackTrace2.java:10 > > In general, I have found a great many errors with debuginfo. It would be > interesting to know if any gdb tests pass. binutils 2.19.51.20090805-1ubuntu1 fixes this. The test runs correctly. Andrew.