This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Tests on powerpc-unknown-linux-gnu
- From: Mark Wielaard <mark at klomp dot org>
- To: java at gcc dot gnu dot org
- Date: 21 Mar 2002 00:53:16 +0100
- Subject: Re: Tests on powerpc-unknown-linux-gnu
- References: <1016659879.32569.24.camel@elsschot>
Hi,
> So it seems that the testsuite does not setup the library path
> correctly. Has anybody run a make check-target-libjava on powerpc and
> knows how to setup the testsuite correctly?
Seems that I should have tested a simple Hello World program first since
even that doesn't work. gdb does not like it very much either:
(gdb) run
Starting program: /tmp/a.out
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
[New Thread 1024 (LWP 11635)]
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
Error while reading shared library symbols:
DW_FORM_strp pointing outside of .debug_str section
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 11635)]
0x0fc2fa48 in ?? () from /usr/local/gcc31/lib/libgcj.so.3
(gdb) bt
#0 0x0fc2fa48 in ?? () from /usr/local/gcc31/lib/libgcj.so.3
I get the same kind of errors when trying to link with --static
/usr/bin/ld: Dwarf Error: DW_FORM_strp offset (4294960375) greater than
or equal to .debug_str size (9637).
[...]
/usr/bin/ld: Dwarf Error: DW_FORM_strp offset (4294965351) greater than
or equal to .debug_str size (9637).
/usr/local/gcc31/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/../../../libgcj.a(dyn_load.o)::462: undefined reference to `_DYNAMIC'
collect2: ld returned 1 exit status
Hmmmm. I am stuck.
Mark