This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
c++/java relocation errors on sparc-sun-solaris2.7 (Re: More info on Java coredump on sparc Solaris)
- To: martin dot kahlert at infineon dot com
- Subject: c++/java relocation errors on sparc-sun-solaris2.7 (Re: More info on Java coredump on sparc Solaris)
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Mon, 21 May 2001 09:53:59 +0100
- CC: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <20010520201944.57272.qmail@web13802.mail.yahoo.com> <Pine.LNX.4.10.10105210157530.24928-100000@mars.deadcafe.org> <20010521085146.A13791@keksy.muc.infineon.com>
Martin Kahlert wrote:
> dbx ./hello
> Reading hello
> Reading ld.so.1
> signal BUS (invalid address alignment) in elf_reloc_relative at 0xff3c5a94
> 0xff3c5a94: elf_reloc_relative+0x002c: ld [%g1 + %i3], %l0
Thanks. I've reproduced the failure with my build. Solaris 2.7 ld.so.1
gives a more helpful message:
$ ./hello
ld.so.1: ./hello: fatal: relocation error: R_SPARC_32: file
/opt/gcc/lib/libgcj.
so.2: symbol __gxx_personality_v0: offset 0xff2e2319 is non-aligned
ld.so.1: ./hello: fatal: relocation error: R_SPARC_32: file
/opt/gcc/lib/libgcj.
so.2: symbol __gxx_personality_v0: offset 0xff2e2829 is non-aligned
ld.so.1: ./hello: fatal: relocation error: R_SPARC_32: file
/opt/gcc/lib/libgcj.
so.2: symbol __gcj_personality_v0: offset 0xff2e28c2 is non-aligned
Bus Error(coredump)
I'm copying the gcc list since C++ programs exhibit a similar failure.
This is with gcc version 3.0 20010517 (prerelease).
Jeff