FW: [kaffe] segmentation fault in LIBRARYLOAD

Sanjeev Manral sanjeevm at sanyo.co.in
Tue Nov 12 05:01:31 PST 2002


I've corrected LD and built static vm also but it is still giving the same
it is trying to load /usr/local/crossppc/kaffe/jre/lib/powerpc/libnative.la
 and segmentation fault

I'm totally stuck.

Thanks and  Regards,

-----Original Message-----
From: Dalibor Topic [mailto:robilad at yahoo.com]
Sent: Tuesday, November 12, 2002 2:50 PM
To: Sanjeev Manral; kaffe at kaffe.org
Subject: Re: FW: [kaffe] segmentation fault in LIBRARYLOAD

--- Sanjeev Manral <sanjeevm at sanyo.co.in> wrote:
> I've configure it --prefix=/usr/local/crossppc
> I've complied with-
> export
> CC=ppc_405-gcc AS=ppc_405-as LS=ppc_405-ld
> AR=ppc_405-ar CPP=ppc_405-g++
> STRIP=ppc_405-strip RANLIB=ppc_405-ranlib
> CFLAGS=-msoft-float ./configure
> --without-x --without-awt
> --prefix=/usr/local/crossppc/kaffe
> --host=powerpc-linux --target=powerpc-linux
> --with-thread=unix-pthreads --with-engine=intrp
> --enable-debug

Your linker setting is wrong. It should be LD not LS. 

You might also want to try statically compiling
everything, as in --with-staticvm --with-staticlib
--with-staticbin, or --disable-shared. See
FAQ/FAQ.libtool for more info.

best regards,

dalibor topic

Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos

More information about the kaffe mailing list