This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Solaris 2.8 build


On 18 Mar 2002, Tom Tromey wrote:
>> I tried bootstrapping mainline with --enable-libgcj and an already
>> existing installed tree at --prefix [...]
> Yes.

Now that sparc-sun-solaris2.8 is finally bootstrapping again with
--enable-libgcj I ran a couple of tests as prompised and indeed (as
Brad reported) the problem still is here. :-(

Do we already have a PR for this? If not, I can create one, referring
to analyses by Rainer Orth and Alexandre Oliva:

  http://gcc.gnu.org/ml/java/2002-03/msg00348.html
  http://gcc.gnu.org/ml/java/2002-03/msg00343.html

Alexandre's suggestion

  Perhaps we could test for ${libdir}/libgcj.la and error out if it's
  present, telling the user to use a different prefix or remove the
  earlier version, but only if using Solaris' ld.

seems like a useful approach to me, BTW?

Gerald

:
(cd .libs && rm -f libgcj.la && ln -s ../libgcj.la libgcj.la)
/bin/ksh ./libtool --tag=GCJ --mode=link /files/pfeifer/OBJ-0329-2139/gcc/gcj -B/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava/ -B/files/pfeifer/OBJ-0329-2139/gcc/ -L/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava -g -O2  -m64 -m64 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /sw/test/gcc/SunOS/lib/sparcv9 -shared-libgcc   libgcj.la -L/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava/.libs
/files/pfeifer/OBJ-0329-2139/gcc/gcj -B/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava/ -B/files/pfeifer/OBJ-0329-2139/gcc/ -g -O2 -m64 -m64 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc  -L/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava ./.libs/libgcj.so -L/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -lpthread -lrt -ldl -L/files/pfeifer/OBJ-0329-2139/gcc/sparcv9 -L/files/pfeifer/OBJ-0329-2139/gcc -L/sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.1/sparcv9 -L/sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.1 -L/usr/ccs/bin/sparcv9 -L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib -L/sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../sparcv9 -L/sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../.. -L/lib/sparcv9 -L/usr/lib/sparcv9 -lgcc_s_sparcv9 -lgcc_s_sparcv9 -L/files/pf!
eifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava/.libs -Wl,-R -Wl,/sw/test/gcc/SunOS/lib/sparcv9
ld: fatal: file /sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.1/../../../sparcv9/libgcj.so: recording name `libgcj.so.3' matches that provided by file ./.libs/libgcj.so
ld: fatal: File processing errors. No output written to .libs/jv-convert
collect2: ld returned 1 exit status
gmake[5]: *** [jv-convert] Error 1
gmake[5]: Leaving directory `/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/sparcv9/libjava'
gmake[3]: *** [multi-do] Error 1
gmake[3]: Leaving directory `/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/libjava'
gmake[2]: *** [all-multi] Error 2
gmake[2]: Leaving directory `/files/pfeifer/OBJ-0329-2139/sparc-sun-solaris2.8/libjava'
gmake[1]: *** [all-target-libjava] Error 2



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