This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tests on powerpc-unknown-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]