solaris2 libjava 500 failures

Jeff Sturm
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:

-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, -o
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file cannot open file: No such file or
directoryld: fatal: File processing errors. No output written to

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

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

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


More information about the Java mailing list