From: Andrew Haley <aph@redhat.com>
To: Matthias Klose <doko@ubuntu.com>
Cc: java@gcc.gnu.org
Subject: Re: libgcj testsuite FAILs on Ubuntu
Date: Wed, 05 Aug 2009 13:50:00 -0000 [thread overview]
Message-ID: <4A798E09.90009@redhat.com> (raw)
In-Reply-To: <4A7983F6.4060201@redhat.com>
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.
prev parent reply other threads:[~2009-08-05 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 10:58 Andrew Haley
2009-08-05 11:08 ` Matthias Klose
2009-08-05 11:12 ` Andrew Haley
2009-08-05 13:07 ` Andrew Haley
2009-08-05 13:50 ` Andrew Haley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A798E09.90009@redhat.com \
--to=aph@redhat.com \
--cc=doko@ubuntu.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).