building libgcj on irix 6.5

Jeff Sturm jsturm@sigma6.com
Wed Dec 8 21:04:00 GMT 1999


I've seen the same thing happen on other platforms... it appears to be
due to the new setjmp/longjmp exceptions, but I haven't completely
figured it out yet.  If you do a "nm libgcj.so.1 | grep Throw" I think
you'll see _Jv_Throw is absent and _Jv_SjljThrow is defined instead...

You might get a successful build with --disable-sjlj-exceptions.

John-Marc Chandonia wrote:
> 
> Hi,
>         I tried to build the latest libgcj snapshot (12/8) using
> gcc 2.95.2 with Bryce's patches.  I configured both with --disable-multilib
> and --disable-threads.  I get the following linking error after
> much successful compiling:
> 
> gcj -g -L/home/cornelius/jmc/home/build_libgcj/mips-sgi-irix6.5/libjava -o .libs/jv-convert --main=gnu.gcj.convert.Convert gnu/gcj/convert/BytesToUnicode.o gnu/gcj/convert/Convert.o gnu/gcj/convert/Input_8859_1.o gnu/gcj/convert/Input_EUCJIS.o gnu/gcj/convert/Input_JavaSrc.o gnu/gcj/convert/Input_SJIS.o gnu/gcj/convert/Input_UTF8.o gnu/gcj/convert/Output_8859_1.o gnu/gcj/convert/Output_EUCJIS.o gnu/gcj/convert/Output_JavaSrc.o gnu/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o gnu/gcj/convert/UnicodeToBytes.o .libs/libgcj.so ./../boehm-gc/.libs/libgcjgc.so -L/home/cornelius/jmc/home/build_libgcj/mips-sgi-irix6.5/libjava/../boehm-gc/.libs ./../zlib/.libs/libzgcj.so -L/home/cornelius/jmc/home/build_libgcj/mips-sgi-irix6.5/libjava/../zlib/.libs -L/home/cornelius/jmc/home/build_libgcj/mips-sgi-irix6.5/libjava/.libs  -Wl,-rpath -Wl,/home/cornelius/jmc/egcs//lib
> ld32: WARNING 84 : /usr/lib32/libm.so is not used for resolving any symbol.
> ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
> ld32: ERROR   33 : Unresolved text symbol "_Jv_Throw" -- 1st referenced by gnu/gcj/convert/BytesToUnicode.o.
> 
>         Has anybody succeeded in getting a recent snapshot to build?  Do
> I need to use gnu ld and/or gnu as, as on Solaris?  I didn't need to in
> the past, but I haven't gotten a snapshot to build correctly in almost
> 6 months.
> 
> Thanks,
> JMC
> --
> John-Marc Chandonia (jmc@cmpharm.ucsf.edu)              We're everywhere...
> Cohen Lab, University of California San Francisco       for your convenience.
> http://yuri.harvard.edu/~jmc                                -- Psi Corps <*>


More information about the Java mailing list