From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28954 invoked by alias); 24 Jul 2009 01:00:53 -0000 Received: (qmail 28942 invoked by uid 22791); 24 Jul 2009 01:00:52 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_62,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 01:00:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MU99I-0003xe-Az for java@gcc.gnu.org; Thu, 23 Jul 2009 18:00:36 -0700 Message-ID: <24637080.post@talk.nabble.com> Date: Fri, 24 Jul 2009 01:00:00 -0000 From: Shaun Deacon To: java@gcc.gnu.org Subject: gcc 3.4.6 build failure Solaris 5.8 (libgcj.la) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00058.txt.bz2 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 : /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.