This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/18679] New: Does not bootstrap; error: '_Jv_Constants java::lang::Class::constants' is private
- From: "schnetter at aei dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2004 01:40:59 -0000
- Subject: [Bug java/18679] New: Does not bootstrap; error: '_Jv_Constants java::lang::Class::constants' is private
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I checked out a version from CVS on 2004-11-25, configured with
~/src/gcc/configure --prefix=$HOME/gcc
--enable-languages=c,ada,c++,f95,java,objc,treelang
and ran "make bootstrap". This fails with the error
In file included from /home/eschnett/src/gcc/libjava/link.cc:13:
./include/config.h:408:1: warning: this is the location of the previous
definition
/home/eschnett/src/gcc/libjava/link.cc: In static member function 'static
_Jv_word _Jv_Linker::resolve_pool_entry(java::lang::Class*, int)':
/home/eschnett/src/gcc/libjava/java/lang/Class.h:497: error: '_Jv_Constants
java::lang::Class::constants' is private
/home/eschnett/src/gcc/libjava/link.cc:101: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:530: error:
'java::lang::ClassLoader* java::lang::Class::loader' is private
/home/eschnett/src/gcc/libjava/link.cc:115: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:530: error:
'java::lang::ClassLoader* java::lang::Class::loader' is private
/home/eschnett/src/gcc/libjava/link.cc:117: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:493: error: '_Jv_ushort
java::lang::Class::accflags' is private
/home/eschnett/src/gcc/libjava/link.cc:129: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:491: error: '_Jv_Utf8Const*
java::lang::Class::name' is private
/home/eschnett/src/gcc/libjava/link.cc:130: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:491: error: '_Jv_Utf8Const*
java::lang::Class::name' is private
... and then many similar errors. The error messages finish with
/home/eschnett/src/gcc/libjava/link.cc:1760: error: within this context
/home/eschnett/src/gcc/libjava/java/lang/Class.h:534: error: 'jbyte
java::lang::Class::state' is private
/home/eschnett/src/gcc/libjava/link.cc:1762: error: within this context
make[3]: *** [link.lo] Error 1
make[3]: Leaving directory
`/home/eschnett/src/gcc-build/i686-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/eschnett/src/gcc-build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/eschnett/src/gcc-build'
make: *** [bootstrap] Error 2
--
Summary: Does not bootstrap; error: '_Jv_Constants
java::lang::Class::constants' is private
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18679