Is anyone else building java with lto-bootstrap? At r170606 I am seeing a 
bootstrap
failure which appears as...

        /bin/sh ./libtool --tag=CXX   --mode=compile 
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/xgcc -shared-libgcc 
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc -nostdinc++ 
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libstdc++-v3/src
 
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.7.0/libstdc++-v3/src/.libs
 -B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/bin/ 
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/lib/ -isystem 
/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/include -isystem 
/sw/lib/gcc4.6/x86_64-apple-darwin10.7.0/sys-include    -DHAVE_CONFIG_H -I. 
-I../../../gcc-4.6-20110301/libjava -I./include -I./gcj  
-I../../../gcc-4.6-20110301/libjava -Iinclude 
-I../../../gcc-4.6-20110301/libjava/include 
-I../../../gcc-4.6-20110301/libjava/classpath/include -Iclasspath/include 
-I../../../gcc-4.6-20110301/libjava/classpath/native/fdlibm 
-I../../../gcc-4.6-20110301/libjava/../boehm-gc/include -I../boehm-gc/include  
-I../../../gcc-4.6-20110301/libjava/libltdl 
-I../../../gcc-4.6-20110301/libjava/libltdl 
-I../../../gcc-4.6-20110301/libjava/.././libjava/../gcc  
-I../../../gcc-4.6-20110301/libjava/../libffi/include -I../libffi/include 
-I/sw/include -fno-rtti -fnon-call-exceptions  -fdollars-in-identifiers 
-Wswitch-enum -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -Wextra -Wall 
-D_GNU_SOURCE -DPREFIX="\"/sw/lib/gcc4.6\"" 
-DTOOLEXECLIBDIR="\"/sw/lib/gcc4.6/lib\"" -DJAVA_HOME="\"/sw/lib/gcc4.6\"" 
-DBOOT_CLASS_PATH="\"/sw/lib/gcc4.6/share/java/libgcj-4.6.0.jar\"" 
-DJAVA_EXT_DIRS="\"/sw/lib/gcc4.6/share/java/ext\"" 
-DGCJ_ENDORSED_DIRS="\"/sw/lib/gcc4.6/share/java/gcj-endorsed\"" 
-DGCJ_VERSIONED_LIBDIR="\"/sw/lib/gcc4.6/lib/gcj-4.6.0-12\"" 
-DPATH_SEPARATOR="\":\"" -DECJ_JAR_FILE="\"/sw/lib/gcc4.6/share/java/ecj.jar\"" 
-DLIBGCJ_DEFAULT_DATABASE="\"/sw/lib/gcc4.6/lib/gcj-4.6.0-12/classmap.db\"" 
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"gcj-4.6.0-12/classmap.db\"" -g -O2 -MT 
jni-libjvm.lo -MD -MP -MF $depbase.Tpo -c -o jni-libjvm.lo 
../../../gcc-4.6-20110301/libjava/jni-libjvm.cc &&\
        mv -f $depbase.Tpo $depbase.Plo
make[4]: *** No rule to make target `.deps/gij.Plo'.  Stop.
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs....

Could this be related to the recent lto-streamer changes? I am using...

../gcc-4.6-20110301/configure --prefix=/sw --prefix=/sw/lib/gcc4.6 
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info 
--with-build-config=bootstrap-lto --enable-stage1-languages=c,lto 
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --enable-build-with-cxx 
--with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw 
--with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include 
--x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.6 --enable-checking=yes 
--enable-cloog-backend=isl

on x86_64-apple-darwin10 with 'make -j 8'. Oddly, after the failed bootstrap, 
if I just use 'make'
the build completes successfully.
              Jack

Reply via email to