solaris, collect2 and ld

Drury Tim Tim_Drury@bscc.bls.com
Wed Jun 9 14:43:00 GMT 1999


It's me again. <groans from the audience>
Anthony suggested:
> > The trick is to configure egcs using 
> > --with-ld=/usr/tim/binutils/bin/ld

I replied:
> I'm rebuilding egcs now. Should be done in a couple
> more hours. zzzzzzzz. Then I'll rebuild libgcj and
> see what results I get.

The latest:
Recompiled egcs with the above option. Then I started
on the libgcj build. I got past the error with collect2 
wanting to use /usr/ccs/bin/ld and now have the following 
problem. Incidentally, this is the same problem I had 
when I temporarily replaced /usr/ccs/bin/ld with a symbolic 
link to the gnu linker.
-tim
How configure was called:
aries:/codebase/tim/libgcj-obj> ../libgcj-snapshot-1999年06月02日/configure
--prefix=/backup/tim/egcs-1999年06月02日 --enable-java-gc=boehm
--enable-fast-character --enable-threads=posix
--with-ld=/user/tim/binutils/bin/ld --with-gnu-as
Then I called "gmake" and got this build error:
c++ -shared prims.lo jni.lo exception.lo gnu/gcj/convert/BytesToUnicode.lo
gnu/gcj/convert/Convert.lo gnu/gcj/convert/Input_8859_1.lo
gnu/gcj/convert/Input_EUCJIS.lo gnu/gcj/convert/Input_JavaSrc.lo
gnu/gcj/convert/Input_SJIS.lo gnu/gcj/convert/Input_UTF8.lo
gnu/gcj/convert/Output_8859_1.lo gnu/gcj/convert/Output_EUCJIS.lo
gnu/gcj/convert/Output_JavaSrc.lo gnu/gcj/convert/Output_SJIS.lo
gnu/gcj/convert/Output_UTF8.lo gnu/gcj/convert/UnicodeToBytes.lo
gnu/gcj/text/BaseBreakIterator.lo 
<whole bunch of .lo files removed>
java/lang/e_rem_pio2.lo java/lang/s_fabs.lo java/lang/w_pow.lo
java/lang/e_remainder.lo java/lang/s_floor.lo java/lang/w_remainder.lo
java/lang/e_scalb.lo java/lang/s_rint.lo java/lang/w_sqrt.lo
java/lang/e_sqrt.lo java/lang/s_scalbn.lo java/lang/sf_rint.lo
java/lang/k_cos.lo java/lang/s_sin.lo boehm.lo posix-threads.lo -lc
-Wl,-soname -Wl,libgcj.so.0 -o .libs/libgcj.so.0.0.0
prims.lo: could not read symbols: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [libgcj.la] Error 1
gmake[2]: Leaving directory
`/codebase/tim/libgcj-obj/sparc-sun-solaris2.5.1/libjava'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/codebase/tim/libgcj-obj/sparc-sun-solaris2.5.1/libjava'
gmake: *** [all-target-libjava] Error 2
aries:/codebase/tim/libgcj-obj>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /