Mainline Bootstrap Failure for Java (i686-pc-linux-gnu)

Ranjit Mathew rmathew@gmail.com
Thu Apr 29 10:11:00 GMT 2004


Hi,

   The current mainline fails to bootstrap for me in
Java while compiling Class.java. Backtrace from GDB
included below.

Configuring was done with:

$GCC_SRC_DIR/configure --prefix=$HOME/gcc \
--enable-languages=c,c++,java --disable-nls --disable-checking \
--disable-debug --enable-threads=posix --enable-__cxa_atexit

System is Red Hat Enterprise Linux 3 (kernel 2.4.21-9.EL,
glibc 2.3.2, gcc 3.2.3).

My natural inclination from the trace is to suspect:

2004-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * convert.c (convert_to_integer): Convert (long)round -> lround,
        etc.

But I could be mistaken and I apologise in advance.

Ranjit.

========================================================================
(gdb) r
Starting program: /home/ranmath/src/gcc/build/gcc/jc1 /home/ranmath/src/gcc/gcc-20040429/libjava/java/lang/Class.java -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase Class.java -mtune=pentiumpro -auxbase-strip java/lang/.libs/Class.o -g -O2 -Wno-deprecated -fencoding=UTF-8 -fclasspath= -fbootclasspath=/home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava -ffloat-store -fno-omit-frame-pointer -fPIC -MD_ -MT java/lang/Class.lo -MF java/lang/Class.d -o /tmp/ccCizmd1.s

Program received signal SIGSEGV, Segmentation fault.
0x080b4c1d in convert_to_integer (type=0x40022948, expr=0x40020500)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/convert.c:340
340       if (optimize
(gdb) bt
#0  0x080b4c1d in convert_to_integer (type=0x40022948, expr=0x40020500)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/convert.c:340
#1  0x0807c736 in convert (type=0x40022948, expr=0x40020500)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/java/typeck.c:144
#2  0x0827e5a8 in build_index_type (maxval=0x40020500)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/tree.c:4050
#3  0x0806f43f in java_init_decl_processing ()
    at /home/ranmath/src/gcc/gcc-20040429/gcc/java/decl.c:545
#4  0x0807b63f in java_init ()
    at /home/ranmath/src/gcc/gcc-20040429/gcc/java/lang.c:497
#5  0x08278acd in toplev_main (argc=0, argv=0xbfffbf84)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/toplev.c:2532
#6  0x080929de in main (argc=0, argv=0x0)
    at /home/ranmath/src/gcc/gcc-20040429/gcc/main.c:35
(gdb)
========================================================================

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

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



More information about the Java mailing list