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: gcj cross-compilation segfaults


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


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