This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap fails in libjava


Andreas Schwab wrote:
> Current mainline fails to build libjava:

Revert gcc/java/gjavah.c to revision 1.124:

http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gjavah.c.diff?r1=1.124&r2=1.125

Works for me (i686-pc-linux-gnu).

Thanks,
Ranjit.


> if /bin/sh ./libtool --mode=compile /tmp/cvs/gcc-20050201/Build/gcc/xgcc -shared-libgcc -B/tmp/cvs/gcc-20050201/Build/gcc/ -nostdinc++ -L/tmp/cvs/gcc-20050201/Build/ia64-suse-linux/libstdc++-v3/src -L/tmp/cvs/gcc-20050201/Build/ia64-suse-linux/libstdc++-v3/src/.libs -B/usr/local/ia64-suse-linux/bin/ -B/usr/local/ia64-suse-linux/lib/ -isystem /usr/local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj  -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -I../boehm-gc/include  -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc  -I../../../libjava/../libffi/include -I../libffi/include  -fno-rtti -fnon-call-exceptions  -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -funwind-tables -Wextra -Wall -D_GNU_SOURCE -DPR
>  EFIX="\"/usr/local\"" -DLIBDIR="\"/usr/local/lib\"" -DBOOT_CLASS_PATH="\"/usr/local/share/
>  java/libgcj-4.0.0.jar\"" -DJAVA_EXT_DIRS="\"/usr/local/share/java/ext\"" -g -O2 -D_GNU_SOURCE -MT prims.lo -MD -MP -MF "$depbase.Tpo" -c -o prims.lo ../../../libjava/prims.cc; \
> then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
> /tmp/cvs/gcc-20050201/Build/gcc/xgcc -shared-libgcc -B/tmp/cvs/gcc-20050201/Build/gcc/ -nostdinc++ -L/tmp/cvs/gcc-20050201/Build/ia64-suse-linux/libstdc++-v3/src -L/tmp/cvs/gcc-20050201/Build/ia64-suse-linux/libstdc++-v3/src/.libs -B/usr/local/ia64-suse-linux/bin/ -B/usr/local/ia64-suse-linux/lib/ -isystem /usr/local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -I../boehm-gc/include -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -funwind-tables -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local
>  /lib\" -DBOOT_CLASS_PATH=\"/usr/local/share/java/libgcj-4.0.0.jar\" -DJAVA_EXT_DIRS=\"/usr
>  /local/share/java/ext\" -g -O2 -D_GNU_SOURCE -MT prims.lo -MD -MP -MF .deps/prims.Tpo -c ../../../libjava/prims.cc  -fPIC -DPIC -o .libs/prims.o
> ../../../libjava/prims.cc:149: warning: unused parameter '_sip'
> ../../../libjava/prims.cc: In function 'jint _Jv_CreateJavaVM(void*)':
> ./java/lang/VMThrowable.h:35: error: invalid use of non-static data member 'java::lang::VMThrowable::trace_enabled'
> ../../../libjava/prims.cc:959: error: from this location
> ./java/lang/VMThrowable.h:35: error: invalid use of non-static data member 'java::lang::VMThrowable::trace_enabled'
> ../../../libjava/prims.cc:975: error: from this location
> ../../../libjava/prims.cc: In function 'void _Jv_RunMain(java::lang::Class*, const char*, int, const char**, bool)':
> ./java/lang/System.h:48: error: invalid use of non-static data member 'java::lang::System::err'
> ../../../libjava/prims.cc:1039: error: from this location
> ./java/lang/ThreadGroup.h:51: error: invalid use of non-static data member 'java::lang::ThreadGroup::had_uncaught_exception'
> ../../../libjava/prims.cc:1049: error: from this location
> 
> Andreas.
> 


-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


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