This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Re: PPC issues


Bryce McKinlay wrote:
> 
> 
> 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".
> 

  When I use the --disable-multilib on the configure command, the
compilation works
fine for the ffi libraries.


> > 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?
> 
>   [ bryce ]


   The --disable-multilib flag does not solve the problem with the
GC_dlopen
command.  This problem exists until I configure without posix thread
support.


    OK - so using the flags --disable-multilib and not enabling posix
support
I am able to get a clean compile straight from the CVS sources.  The
only
problem is then I core dump when I try to run some java code compiled to
native.
When I compile without posix support and manually adjust Makefile's so
that I can compile, the resultant libgcj does let me run (at least
simple java
programs)


   Is there any documentation (besides the code) that someone could
point
me to on what multilib is and what it is trying to do?

-- 
Wendell Duncan <duncan@intermountain.com>

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