* gcc 3.4.6 build failure Solaris 5.8 (libgcj.la)
@ 2009-07-24 1:00 Shaun Deacon
0 siblings, 0 replies; only message in thread
From: Shaun Deacon @ 2009-07-24 1:00 UTC (permalink / raw)
To: java
Hi,
I'm currently trying to build gcc 3.4.6 on a Solaris 5.8 box for a colleague
who requires this version and gcj (our default gcc is built for c, c++, and
fortran). However, I'm getting the following error and currently haven't
found any clues in any forums :
<snip>
/home/sdeacon/tools/gcc/build/gcc/xgcc -shared-libgcc
-B/home/sdeacon/tools/gcc/build/gcc/ -nostdinc++
-L/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src
-L/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs
-B/home/sdeacon/gcc/sparc-sun-solaris2.8/bin/
-B/home/sdeacon/gcc/sparc-sun-solaris2.8/lib/ -isystem
/home/sdeacon/gcc/sparc-sun-solaris2.8/include -isystem
/home/sdeacon/gcc/sparc-sun-solaris2.8/sys-include -m64 -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.4.6/libjava -I./include -I./gcj
-I../../../../gcc-3.4.6/libjava -Iinclude
-I../../../../gcc-3.4.6/libjava/include
-I/home/sdeacon/tools/gcc/gcc-3.4.6/boehm-gc/include -DGC_SOLARIS_THREADS=1
-DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-I../../../../gcc-3.4.6/libjava/libltdl
-I../../../../gcc-3.4.6/libjava/libltdl
-I../../../../gcc-3.4.6/libjava/.././libjava/../gcc
-I../../../../gcc-3.4.6/libjava/../zlib
-I../../../../gcc-3.4.6/libjava/../libffi/include -I../libffi/include -O2 -O
-I/usr/local/include -fno-rtti -fnon-call-exceptions
-fdollars-in-identifiers -Wswitch-enum -W -Wall -D_GNU_SOURCE
-DPREFIX=\"/home/sdeacon/gcc\" -DLIBDIR=\"/home/sdeacon/gcc/lib\"
-DBOOT_CLASS_PATH=\"/home/sdeacon/gcc/share/java/libgcj-3.4.6.jar\" -g -O2
-m64 -Wp,-MD,.deps/posix.pp -c ../../../../gcc-3.4.6/libjava/posix.cc -o
posix.o >/dev/null 2>&1
Creating list of files to link...
/bin/sh ./libtool --tag=CXX --mode=link
/home/sdeacon/tools/gcc/build/gcc/xgcc -shared-libgcc
-B/home/sdeacon/tools/gcc/build/gcc/ -nostdinc++
-L/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src
-L/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs
-B/home/sdeacon/gcc/sparc-sun-solaris2.8/bin/
-B/home/sdeacon/gcc/sparc-sun-solaris2.8/lib/ -isystem
/home/sdeacon/gcc/sparc-sun-solaris2.8/include -isystem
/home/sdeacon/gcc/sparc-sun-solaris2.8/sys-include -m64
-L/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libjava -g -O2
-m64 -m64 -o libgcj.la -objectlist libgcj.objectlist \
../boehm-gc/libgcjgc_convenience.la ../libffi/libffi_convenience.la
../zlib/libzgcj_convenience.la \
-rpath /home/sdeacon/gcc/lib/sparcv9 -rpath /home/sdeacon/gcc/lib/sparcv9
-lpthread -lrt ./libltdl/libltdlc.la -version-info `grep -v '^#'
../../../../gcc-3.4.6/libjava/libtool-version`
libtool: link: link input file `' does not exist
gmake[5]: *** [libgcj.la] Error 1
gmake[5]: Leaving directory
`/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libjava'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/sparcv9/libjava'
gmake[3]: *** [multi-do] Error 1
gmake[3]: Leaving directory
`/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/libjava'
gmake[2]: *** [all-multi] Error 2
gmake[2]: Leaving directory
`/home/sdeacon/tools/gcc/build/sparc-sun-solaris2.8/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/home/sdeacon/tools/gcc/build'
gmake: *** [bootstrap-lean] Error 2
My build configuration was as follows :
./configure --prefix=/home/sdeacon/gcc --enable-shared
--enable-languages=c,c++,java --with-libiconv-prefix=/usr/local
The error occurs with both 'make bootstrap' and 'make bootstrap-lean'
The version of gcc used for the build is 3.4.6 with the following config :
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
Any suggestions would be most appreciated.
Thanks,
Shaun
--
View this message in context: http://www.nabble.com/gcc-3.4.6-build-failure-Solaris-5.8-%28libgcj.la%29-tp24637080p24637080.html
Sent from the gcc - java mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-24 1:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-24 1:00 gcc 3.4.6 build failure Solaris 5.8 (libgcj.la) Shaun Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).