This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: solaris2 libjava 500 failures
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: solaris2 libjava 500 failures
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Thu, 26 Apr 2001 21:42:38 -0400 (EDT)
- cc: tromey at redhat dot com, aoliva at redhat dot com, gcc-bugs at gcc dot gnu dot org, java at gcc dot gnu dot org
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