This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Solaris 2.8 build failure for 4.1.1 (libtool/libjava)


I haven't tried to build Java on Solaris in quite a while because it
takes so long.

My attempt to build on Solaris 2.8 with binutils 2.16.1 died with

/bin/ksh ./libtool --tag=GCJ --mode=link /remote/atg2/jbuck/solaris.tmp/411/gcc/gcj -B/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava/ -B/remote/atg2/jbuck/solaris.tmp/411/gcc/ -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert -rpath /u/jbuck/cvs.sol2/4.1.1/lib -shared-libgcc   -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava/.libs libgcj.la 
/remote/atg2/jbuck/solaris.tmp/411/gcc/gcj -B/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava/ -B/remote/atg2/jbuck/solaris.tmp/411/gcc/ -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc  -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libjava/.libs ./.libs/libgcj.so -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libstdc++-v3/src -L/remote/atg2/jbuck/solaris.tmp/411/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -lpthread -lrt -ldl -L/remote/atg2/jbuck/solaris.tmp/411/./gcc -L/usr/ccs/lib -lgcc_s -lgcc_s -Wl,--rpath -Wl,/u/jbuck/cvs.sol2/4.1.1/lib
/u/jbuck/gnu.sol2/bin/ld: unrecognized option '-Wl,-rpath'
/u/jbuck/gnu.sol2/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status

It's GNU ld version 2.16.1.  This is strange; I would have expected the
linker to get just -rpath: -Wl should tell gcj to pass the following
option to the linker.

Any clues?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]