This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj cross-compilation segfaults
- From: Anthony Green <green at redhat dot com>
- To: Nils Roeder <nroeder at inf dot ed dot ac dot uk>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 04 Aug 2005 07:19:24 -0700
- Subject: Re: gcj cross-compilation segfaults
- References: <42F21D18.90509@inf.ed.ac.uk>
On Thu, 2005-08-04 at 14:50 +0100, Nils Roeder wrote:
> i use gcj-3.4.3 to cross compile code from i686 to ARM XScale PXA255.
> My problem is that when i try to run the compiled code, it immediately
> segfaults. I could'n find any information about this so far - i know
> how tricky it is once a cross compilation is involved - but i was hoping
> maybe someone else had a similiar problem.
Some people definitely are using ARM Linux cross tools for gcj, so we
know it must work. You'll need to post a stack trace to get any advice.
Filing it as a bug report (gcc.gnu.org/bugzilla) may work also.
Ideally, however, you'd be using a more modern GCC release, like 4.0.
Many bugs get fixed between releases.
AG
>
> here my compiler information
> $ arm-linux-gcj -v
>
> Configured with: ../gcc-3.4.3/configure --target=arm-linux
> --prefix=/group/teaching/iar/armcore-gx/toolchain
> --enable-languages=c,c++,objc,java --disable-nls --nfp --with-cpu=xscale
> --with-softfloat-support=internal
> Thread model: posix
> gcc version 3.4.3
>
> Thanks,
>
> Nils