Re: libgcj testsuite FAILs on Ubuntu

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.