This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: PPC issues
Wendell Duncan wrote:
> 1) libffi
> In the
> /home/duncan/temp/libgcj/objdir/powerpc-unknown-linux-gnu/nof/libjava
> as a kludge I add the command -lffi to
>
> jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
> -rpath $(toolexeclibdir) -lffi
>
> gij_LDFLAGS = -rpath $(toolexeclibdir) -lffi
>
> I also manually modified the -L paths going into these commands to
> include
> a path to the ffi libraries.
I had this problem when building for linux/alpha. libffi doesn't seem to
get linked into libgcj.so when doing a multilib build. My solution was to
configure with "--disable-multilib".
> 2) I was not able to configure with --enable-threads=posix because
> the is also a problem with GC_dlopen. I'm believe this is
> also a problem with configure scripts not making the dyn_load.c
> functions available in any library when trying to compile
> jv-convert and gij.
This is strange, and possibly also related to the fact that your configure
script is doing a multilib build?
regards
[ bryce ]