C++ FE problem building libjava.
Alexandre Petit-Bianco
apbianco@cygnus.com
Fri Jul 13 16:13:00 GMT 2001
I run into this problem building libjava with an uptodate C++
compiler:
/home/apbianco/build/egcs/i686-pc-linux-gnu/gcc/g++ -B/home/apbianco/build/egcs/i686-pc-linux-gnu/gcc/ -nostdinc++ -nostdinc++ -I/home/apbianco/build/egcs/i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include -I/home/apbianco/src/egcs/libstdc++-v3/include -I/home/apbianco/src/egcs/libstdc++-v3/include/std -I/home/apbianco/src/egcs/libstdc++-v3/include/c_std -I/home/apbianco/src/egcs/libstdc++-v3/libsupc++ -I/home/apbianco/src/egcs/libstdc++-v3/libio -I/home/apbianco/src/egcs/libstdc++-v3/testsuite -I/home/apbianco/src/egcs/libstdc++-v3/include/backward -I/home/apbianco/src/egcs/libstdc++-v3/include/ext -L/home/apbianco/build/egcs/i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/src -L/home/apbianco/build/egcs/i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/apbianco/install/egcs/install-x86/i686-pc-linux-gnu/bin/ -B/home/apbianco/install/egcs/install-x86/i686-pc-linux-gnu/lib/ -isystem /home/apbianco/install/egcs/install-x86/i686-pc-linux-gnu/include -DHAV!
E_CONFIG_H -I. -I/home/apbianco/src/egcs/libjava -I./include -I./gcj -I/home/apbianco/src/egcs/libjava -Iinclude -I/home/apbianco/src/egcs/libjava/include -I/home/apbianco/src/egcs/libjava/../boehm-gc/include -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I/home/apbianco/src/egcs/libjava/libltdl -I/home/apbianco/src/egcs/libjava/libltdl -I/home/apbianco/src/egcs/libjava/.././libjava/../gcc -I/home/apbianco/src/egcs/libjava/../zlib -I/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES -ffloat-store -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/home/apbianco/install/egcs/install-x86\" -g -O2 -D_GNU_SOURCE -Wp,-MD,.deps/name-finder.pp -c /home/apbianco/src/egcs/libjava/name-finder.cc -fPIC -DPIC
cc1plus: warning: changing search order for system directory "."
cc1plus: warning: as it has already been specified as a non-system directory
cc1plus: warning: changing search order for system directory "/home/apbianco/instal
l/egcs/install-x86/i686-pc-linux-gnu/include"
cc1plus: warning: as it has already been specified as a system directory
/home/apbianco/src/egcs/libjava/name-finder.cc: In member function `void
_Jv_name_finder::toHex(void*)':
/home/apbianco/src/egcs/libjava/name-finder.cc:115: warning: cast from pointer
to integer of different size
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[1]: *** [name-finder.lo] Error 1
make[1]: Leaving directory `/home/apbianco/build/egcs/i686-pc-linux-gnu/i686-pc-lin
ux-gnu/libjava'
It's fairly easy to reproduce with the following test case:
int foo(void *p)
{
unsigned long long n = (unsigned long long)p;
}
Is anyone else seeing this?
./A
More information about the Gcc-bugs
mailing list