This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Libjava bootstrap still broken on arm-linux


On Sun, 2004-11-28 at 15:52, Richard Earnshaw wrote:
> On Sat, 27 Nov 2004 12:37:32 GMT, Andrew Haley wrote:
> > Richard Earnshaw writes:
> >  > Bootstrap has been broken on arm-linux since around the time of the BC 
> >  > branch merge (last successful bootstrap from sources checked out sometime 
> >  > on Nov 24).
> >  > 
> >  > This is with sources checked out at 'Fri Nov 26 22:16:25 UTC 2004', so it 
> >  > should include Tom's latest patch.
> > 
> > Committed.  Try it now.
> > 
> > 2004-11-27  Andrew Haley  <aph@redhat.com>
> > 
> > 	* link.cc (ensure_class_linked): Conditionally compile
> > 	_Jv_IsInterpretedClass on INTERPRETER.
> > 	(print_class_loaded): Likewise.
> > 	(wait_for_state): Likewise.
> > 
> > 	* include/jvm.h (ROUND): Move to here from include/java-interp.h.
> > 	* include/java-interp.h (ROUND): Remove.
> 
> Sanity is restored.

But not on an arm-elf cross using newlib :-(

It appears that we never include limits.h directly, but rely on some
other header dragging it in.

/work/rearnsha/gnu/egcs/gcc/xgcc -shared-libgcc
-B/work/rearnsha/gnu/egcs/gcc/ -nostdinc++
-L/work/rearnsha/gnu/egcs/arm-elf/thumb/libstdc++-v3/src
-L/work/rearnsha/gnu/egcs/arm-elf/thumb/libstdc++-v3/src/.libs -nostdinc
-B/work/rearnsha/gnu/egcs/arm-elf/thumb/newlib/ -isystem
/work/rearnsha/gnu/egcs/arm-elf/thumb/newlib/targ-include -isystem
/home/rearnsha/gnusrc/egcs-cross/newlib/libc/include
-B/work/rearnsha/gnu/testinstall/arm-elf/bin/
-B/work/rearnsha/gnu/testinstall/arm-elf/lib/ -isystem
/work/rearnsha/gnu/testinstall/arm-elf/include -isystem
/work/rearnsha/gnu/testinstall/arm-elf/sys-include
-L/work/rearnsha/gnu/egcs/ld -mthumb -DHAVE_CONFIG_H -I.
-I/home/rearnsha/gnusrc/egcs-cross/libjava -I./include -I./gcj
-I/home/rearnsha/gnusrc/egcs-cross/libjava -Iinclude
-I/home/rearnsha/gnusrc/egcs-cross/libjava/include
-I/home/rearnsha/gnusrc/egcs-cross/libjava/../boehm-gc/include
-I../boehm-gc/include
-I/home/rearnsha/gnusrc/egcs-cross/libjava/.././libjava/../gcc
-I/home/rearnsha/gnusrc/egcs-cross/libjava/../zlib
-I/home/rearnsha/gnusrc/egcs-cross/libjava/../libffi/include
-I../libffi/include -O2 -g -O2 -fno-rtti -fnon-call-exceptions
-fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64
-I/usr/X11R6/include -Wextra -Wall -D_GNU_SOURCE
-DPREFIX=\"/work/rearnsha/gnu/testinstall\"
-DLIBDIR=\"/work/rearnsha/gnu/testinstall/lib\"
-DBOOT_CLASS_PATH=\"/work/rearnsha/gnu/testinstall/share/java/libgcj-4.0.0.jar\" -DJAVA_EXT_DIRS=\"/work/rearnsha/gnu/testinstall/share/java/ext\" -g -O2 -mthumb -MT link.lo -MD -MP -MF .deps/link.Tpo -c /home/rearnsha/gnusrc/egcs-cross/libjava/link.cc -o link.o
./include/java-threads.h:117: warning: unused parameter 'data'
./include/java-threads.h:139: warning: unused parameter 'data'
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc:434: error: 'SHRT_MAX'
was not declared in this scope
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc: In static member
function 'static void
_Jv_Linker::prepare_constant_time_tables(java::lang::Class*)':
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc:532: error: 'SHRT_MAX'
was not declared in this scope
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc: In static member
function 'static void
_Jv_Linker::link_symbol_table(java::lang::Class*)':
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc:1076: error: 'intptr_t'
was not declared in this scope
/home/rearnsha/gnusrc/egcs-cross/libjava/link.cc:1076: error: expected
`;' before 'i'
gnumake[4]: *** [link.lo] Error 1


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