Tests on powerpc-unknown-linux-gnu

Mark Wielaard mark@klomp.org
Wed Mar 20 15:53:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /