solaris2 libjava 500 failures

Jeff Sturm jsturm@one-point.com
Thu Apr 26 18:43:00 GMT 2001


On Thu, 26 Apr 2001, Kaveh R. Ghazi wrote:
> The remaining unexpected failures all show the ld warnings.  So I
> think we need to figure out how to help you reproduce it on your
> system.  Any luck with the native as/ld build?

I don't know about Tom, but I'm attempting a build on Solaris 2.7 without
GNU binutils. I don't get as far as you did:

/export/home/jsturm/dev/gcc/objdir/gcc/xgcc
-B/export/home/jsturm/dev/gcc/objdir/gcc/
-B/usr/local/sparc-sun-solaris2.7/bin/
-B/usr/local/sparc-sun-solaris2.7/lib/ -isystem
/usr/local/sparc-sun-solaris2.7/include -shared  src/.libs/debug.o
src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o
src/.libs/java_raw_api.o src/sparc/.libs/ffi.o src/sparc/.libs/v8.o
src/sparc/.libs/v9.o  -lc  -Wl,-soname -Wl,libffi-2.00-beta.so -o
.libs/libffi-2.00-beta.so
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libffi-2.00-beta.so: cannot open file: No such file or
directoryld: fatal: File processing errors. No output written to
.libs/libffi-2.00-beta.so

Libtool is attempting to use -soname and -rpath with Solaris ld.  As
libstdc++ builds OK, the CXX tag is doing the right thing, but the others
don't.

If I stuff --tag=CXX in enough places, I eventually get the warning you
reported.

I love libtool, I hate libtool... <sigh>.

Jeff




More information about the Java mailing list