This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: testing an integrated build
Well, following up to my last message...
I just edited the generated Makefile rather than trying to guess how to
fix the libjava/Makefile.am. It looks like COMPPATH (?) isn't getting
set correctly, but that's a guess. Setting ZIP=zip in the Makefile got
me over that hurdle.
Next, libtool died on compiling prims.cc to prims.lo, with the infamous
"unable to infer a @#$!*$ thing, use a --tag". Adding "--tag CXX" to
LTCXXCOMPILE in the generated file got libtool to try to compile prims.cc,
but...
/builddir/gcc/g++ -B/builddir/gcc/ -nostdinc++ -I/builddir/sparc-sun-solaris2.8/libstdc++-v3 -nostdinc++ -I/srcdir/libstdc++-v3/include/std -I/srcdir/libstdc++-v3/include/c -I/srcdir/libstdc++-v3/libsupc++ -I/srcdir/libstdc++-v3/include -I/builddir/sparc-sun-solaris2.8/libstdc++-v3/libio -I/srcdir/libstdc++-v3/libio -I/srcdir/libstdc++-v3/libmath -I/builddir/sparc-sun-solaris2.8/libstdc++-v3/include -L/builddir/sparc-sun-solaris2.8/libstdc++-v3/src -L/builddir/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B/installdir/sparc-sun-solaris2.8/bin/ -B/installdir/sparc-sun-solaris2.8/lib/ -isystem /installdir/sparc-sun-solaris2.8/include -L/builddir/ld -DHAVE_CONFIG_H -I. -I../../../unified/libjava -I./include -I../../../unified/libjava -Iinclude -I../../../unified/libjava/include -I../../../unified/libjava/../boehm-gc -I./../boehm-gc -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I../../../unified/libjava/libltdl -I../../../unified/libjava/libltdl -I../../../unified/libjava/../gcc -I../../../unified/libjava/../include -I../../../unified/libjava/../zlib -I../../../unified/libjava/../libffi/include -I../libffi/include -fno-rtti -fvtable-thunks -fasynchronous-exceptions -fdollars-in-identifiers -W -Wall -D_GNU_SOURCE -g -O2 -Wp,-MD,.deps/prims.pp -c ../../../unified/libjava/prims.cc -fPIC -DPIC -o .libs/prims.o
In file included from java/lang/String.h:9,
from ../../../unified/libjava/java/lang/Class.h:18,
from ../../../unified/libjava/gcj/cni.h:17,
from ../../../unified/libjava/prims.cc:30:
../../../unified/libjava/gcj/array.h:59: Internal error #20000409.
../../../unified/libjava/gcj/array.h:59: Internal compiler error in
write_builtin_type, at cp/mangle.c:1483
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[2]: *** [prims.lo] Error 1
gmake[2]: Leaving directory `/builddir/sparc-sun-solaris2.8/libjava'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/builddir/sparc-sun-solaris2.8/libjava'
gmake: *** [all-target-libjava] Error 2
...the experiment ended there. :-(
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.