This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g++ -vs- libgcj
- To: Gcc Bug List <bug-gcc at gnu dot org>
- Subject: g++ -vs- libgcj
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 19 Jun 2000 16:22:07 -0600
- Reply-To: tromey at cygnus dot com
The current g++ can't compile libgcj:
c++ -DHAVE_CONFIG_H -I. -I../../../libgcj/libjava -I./include -I../../../libgcj/libjava -Iinclude -I../../../libgcj/libjava/include -I../../../libgcj/libjava/../boehm-gc -I./../boehm-gc -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -I../../../libgcj/libjava/libltdl -I./libltdl -I../../../libgcj/libjava/../compat-include -I../../../libgcj/libjava/../zlib -I../../../libgcj/libjava/../libffi/include -I../libffi/include -fno-rtti -fvtable-thunks -fasynchronous-exceptions -D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -g -Wp,-MD,.deps/prims.pp -c -fPIC -DPIC ../../../libgcj/libjava/prims.cc -o .libs/prims.lo
In file included from ../../../libgcj/libjava/java/lang/Object.h:16,
from ../../../libgcj/libjava/gcj/cni.h:16,
from ../../../libgcj/libjava/prims.cc:32:
../../../libgcj/libjava/gcj/javaprims.h:24: Tree check: expected class 'd', have 't' (integer_type)
../../../libgcj/libjava/gcj/javaprims.h:24: Internal compiler error in `push_lang_context', at
../egcs/gcc/cp/class.c:5685
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I'd like to recommend that C++ front end changes be used to rebuild
libgcj on a regular basis. libgcj uses some g++ features that nobody
else uses (e.g., `extern "Java"'). We see g++ breakage much more
frequently than we'd like.
Tom