This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java/2530: java-interp.h (in gcc 3.0) fails to compile with certain options



>Number:         2530
>Category:       java
>Synopsis:       java-interp.h (in gcc 3.0) fails to compile with certain options
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 10 18:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ben Bucksch
>Release:        gcc-20010402
>Organization:
>Environment:
Redhat 6.0-6.2, gcc2.95.2
>Description:
I got the following error msg while compiling (with the options noted below) gcc 3.0:

/mnt/compile/linux/gcc/gccbuild/gcc/g++ -B/mnt/compile/linux/gcc/gccbuild/gcc/ -nostdinc++ -nostdinc++ -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/include -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/include/std -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/include/c_std -I/mnt/compile/linux/gcc/gccbuild/i686-pc-linux-gnu/libstdc++-v3/include -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/libsupc++ -I/mnt/compile/linux/gcc/gccbuild/i686-pc-linux-gnu/libstdc++-v3/libio -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/libio -I/mnt/compile/linux/gcc/gcc-20010402/libstdc++-v3/libmath -L/mnt/compile/linux/gcc/gccbuild/i686-pc-linux-gnu/libstdc++-v3/src -L/mnt/compile/linux/gcc/gccbuild/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/packages/java/gcc//i686-pc-linux-gnu/bin/ -B/usr/local/packages/java/gcc//i686-pc-linux-gnu/lib/ -isystem /usr/local/packages/java/gcc//i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../gcc-20010402/libjava -I./include -I../../../gcc-20010402/libjava -Iinclude -I../../../gcc-20010402/libjava/include -I../../../gcc-20010402/libjava/../boehm-gc -I./../boehm-gc -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I../../../gcc-20010402/libjava/libltdl -I../../../gcc-20010402/libjava/libltdl -I../../../gcc-20010402/libjava/../gcc -I../../../gcc-20010402/libjava/../include -I../../../gcc-20010402/libjava/../zlib -I../../../gcc-20010402/libjava/../libffi/include -I../libffi/include -fno-rtti -fvtable-thunks -fasynchronous-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES -ffloat-store -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -g -O2 -fvtable-thunks -D_GNU_SOURCE -Wp,-MD,.deps/jni.pp -c ../../../gcc-20010402/libjava/jni.cc  -fPIC -DPIC -o .libs/jni.o
In file included from ../../../gcc-20010402/libjava/jni.cc:48:
../../../gcc-20010402/libjava/include/java-interp.h:121: type specifier omitted 
   for parameter
../../../gcc-20010402/libjava/include/java-interp.h:121: parse error before `*' 
   token
../../../gcc-20010402/libjava/include/java-interp.h:122: type specifier omitted 
   for parameter
../../../gcc-20010402/libjava/include/java-interp.h:122: parse error before `*' 
   token
../../../gcc-20010402/libjava/include/java-interp.h:123: type specifier omitted 
   for parameter
../../../gcc-20010402/libjava/include/java-interp.h:123: parse error before `*' 
   token
../../../gcc-20010402/libjava/include/java-interp.h:125: type specifier omitted 
   for parameter
../../../gcc-20010402/libjava/include/java-interp.h:125: parse error before `*' 
   token
../../../gcc-20010402/libjava/include/java-interp.h:198: type specifier omitted 
   for parameter
../../../gcc-20010402/libjava/include/java-interp.h:198: parse error before `*' 
   token
../../../gcc-20010402/libjava/jni.cc:1768: type specifier omitted for parameter
../../../gcc-20010402/libjava/jni.cc:1768: parse error before `*' token
../../../gcc-20010402/libjava/jni.cc: In static member function `static void 
   _Jv_JNIMethod::call(...)':
../../../gcc-20010402/libjava/jni.cc:1770: `__this' undeclared (first use this 
   function)
../../../gcc-20010402/libjava/jni.cc:1770: (Each undeclared identifier is 
   reported only once for each function it appears in.)
../../../gcc-20010402/libjava/jni.cc:1787: `ffi_raw' undeclared (first use this 
   function)
../../../gcc-20010402/libjava/jni.cc:1787: parse error before `[' token
../../../gcc-20010402/libjava/jni.cc:1791: `real_args' undeclared (first use 
   this function)
../../../gcc-20010402/libjava/jni.cc:1799: `args' undeclared (first use this 
   function)
../../../gcc-20010402/libjava/jni.cc:1803: `ret' undeclared (first use this 
   function)
../../../gcc-20010402/libjava/jni.cc:1803: `ffi_raw_call' undeclared (first use 
   this function)
make[3]: *** [jni.lo] Error 1
make[3]: Leaving directory `/mnt/compile/linux/gcc/gccbuild/i686-pc-linux-gnu/libjava'


|ffi_raw| doesn't seem to be found.
>How-To-Repeat:
../gcc-20010402/configure --prefix=/usr/local/packages/java/gcc/ --enable-optimize --disable-debug --enable-shared --enable-threads --enable-languages=c++,java
make LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates' bootstrap-lean

Sorry, no time to pin down. My guess is bootstrap-lean, your guess is probably better.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]