GCC-3.2.3 Java Bug

Justin Piszcz jpiszcz@lucidpixels.com
Fri Apr 25 08:36:00 GMT 2003


During make install I get this, not make, any idea why?


make[3]: Nothing to be done for `install-exec-am'.
/home/war/gcc-3.2.3/mkinstalldirs /app/gcc-3.2.3/include
 /bin/sh /home/war/gcc-3.2.3/install-sh -c -m 644 jni.h 
/app/gcc-3.2.3/include/j
ni.h
 /bin/sh /home/war/gcc-3.2.3/install-sh -c -m 644 jvmpi.h 
/app/gcc-3.2.3/include
/jvmpi.h
make[3]: Leaving directory 
`/home/war/gcc-3.2.3/i686-pc-linux-gnu/libjava/includ
e'
make[2]: Leaving directory 
`/home/war/gcc-3.2.3/i686-pc-linux-gnu/libjava/includ
e'
make[2]: Entering directory `/home/war/gcc-3.2.3/i686-pc-linux-gnu/libjava'
Makefile:3392: target `java/lang/Object.h' given more than once in the 
same rule
.
Makefile:3392: target `java/lang/Class.h' given more than once in the 
same rule.
/bin/sh ./libtool --tag=CXX --mode=compile /home/war/gcc-3.2.3/gcc/xgcc 
-shared-
libgcc -B/home/war/gcc-3.2.3/gcc/ -nostdinc++  
-L/home/war/gcc-3.2.3/i686-pc-lin
ux-gnu/libstdc++-v3/src 
-L/home/war/gcc-3.2.3/i686-pc-linux-gnu/libstdc++-v3/src
/.libs -B/app/gcc-3.2.3/i686-pc-linux-gnu/bin/ 
-B/app/gcc-3.2.3/i686-pc-linux-gn
u/lib/ -isystem /app/gcc-3.2.3/i686-pc-linux-gnu/include -DHAVE_CONFIG_H 
-I. -I.
 -I./include -I./gcj -I. -Iinclude -I./include -I./../boehm-gc/include 
-DGC_LINU
X_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 
-DNO_SIGNALS=1 -DNO
_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 
-DGC_GCJ_S
UPPORT=1 -DATOMIC_UNCOLLECTABLE=1   -I./libltdl -I./libltdl 
-I./../.././libjava/
../gcc -I./../zlib -I./../libffi/include -I../libffi/include   -fno-rtti 
-fnon-c
all-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES  
-ffloat-store  -W -
Wall -D_GNU_SOURCE -DPREFIX="\"/app/gcc-3.2.3\"" -O3 -pipe 
-fomit-frame-pointer
-funroll-loops -march=pentium4 -mcpu=pentium4 -mfpmath=sse -mmmx -msse 
-msse2 -D
_GNU_SOURCE -c defineclass.cc
/home/war/gcc-3.2.3/gcc/xgcc -shared-libgcc -B/home/war/gcc-3.2.3/gcc/ 
-nostdinc
++ -L/home/war/gcc-3.2.3/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/war/gcc-3.2.
3/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/app/gcc-3.2.3/i686-pc-linux-gnu/bi
n/ -B/app/gcc-3.2.3/i686-pc-linux-gnu/lib/ -isystem 
/app/gcc-3.2.3/i686-pc-linux
-gnu/include -DHAVE_CONFIG_H -I. -I. -I./include -I./gcj -I. -Iinclude 
-I./inclu
de -I./../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 
-DTHREAD_LOCAL_AL
LOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 
-DALL_INTERIOR_POINTER
S=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 
-I./libltd
l -I./libltdl -I./../.././libjava/../gcc -I./../zlib 
-I./../libffi/include -I../
libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers 
-D__NO_M
ATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE 
-DPREFIX=\"/app/gcc-3.2.3\" -O3
 -pipe -fomit-frame-pointer -funroll-loops -march=pentium4 
-mcpu=pentium4 -mfpma
th=sse -mmmx -msse -msse2 -D_GNU_SOURCE -Wp,-MD,.deps/defineclass.pp -c 
definecl
ass.cc  -fPIC -DPIC -o .libs/defineclass.o
In file included from defineclass.cc:31:
java/lang/Double.h:43: `inf' was not declared in this scope
java/lang/Double.h:44: `inf' was not declared in this scope
java/lang/Double.h:45: `nan' was not declared in this scope
make[2]: *** [defineclass.lo] Error 1
make[2]: Leaving directory `/home/war/gcc-3.2.3/i686-pc-linux-gnu/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/war/gcc-3.2.3/i686-pc-linux-gnu/libjava'
make: *** [install-target-libjava] Error 2
Command exited with non-zero status 2
12.89user 4.70system 0:25.62elapsed 68%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (511687major+316865minor)pagefaults 0swaps
war@war:~/gcc-3.2.3$

Gabriel Dos Reis wrote:

>Justin Piszcz <jpiszcz@lucidpixels.com> writes:
>
>| With those CFLAGS?
>
>Yes.
>
>-- Gaby
>
>
>  
>




More information about the Gcc-bugs mailing list