This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/34: Latest gcc cannot compile interfaces
- To: java-gnats@sourceware.cygnus.com
- Subject: gcj/34: Latest gcc cannot compile interfaces
- From: bryce@albatross.co.nz
- Date: 16 Aug 1999 01:50:44 -0000
- Reply-To: bryce@albatross.co.nz
- Resent-Cc: java-prs@sourceware.cygnus.com, green@cygnus.com,
- Resent-Reply-To: gnats-admin@sourceware.cygnus.com, bryce@albatross.co.nz
- Resent-To: apbianco@cygnus.com
>Number: 34
>Category: gcj
>Synopsis: Latest gcc cannot compile interfaces
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 15 19:00:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Bryce McKinlay
>Release: gcc version 2.96 19990815 (experimental)
>Organization:
>Environment:
Linux reason 2.2.5 #10 Mon May 10 13:52:11 NZST 1999 i686 unknown
>Description:
libgcj does not compile with the current gcc from cvs. This
seems to be because gcc currently cannot compile ANY java
interfaces. This problem has been around since at least
19990810, possibly earlier.
>How-To-Repeat:
public interface Bob {}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>gcj Bob.java
GNU gdb 4.17.0.11 with Linux support
Starting program: /nzdis/lib/gcc-lib/i686-pc-linux-gnu/2.96/jc1 Bob.java -fno-use-divide-subroutine -quiet -g1 -version -o /tmp/ccpMe3O0.s
GNU Java version 2.96 19990810 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 19990803 (experimental).
Program received signal SIGSEGV, Segmentation fault.
0x80d3d88 in start_sequence () at ../../gcc/emit-rtl.c:3208
Source file is more recent than executable.
3208 tem = sequence_element_free_list;
(gdb) bt
#0 0x80d3d88 in start_sequence () at ../../gcc/emit-rtl.c:3208
#1 0x49 in ?? ()
#2 0x805fa73 in emit_register_classes () at ../../../gcc/java/class.c:1731
#3 0x806f8ab in yyparse () at ../../../gcc/java/jcf-parse.c:902
#4 0x8078ab1 in compile_file (name=0xbffff9a3 "Bob.java")
at ../../gcc/toplev.c:3268
#5 0x807bc6a in main (argc=8, argv=0xbffff854) at ../../gcc/toplev.c:5442
#6 0x40031cb3 in __libc_start_main (main=0x807ad30 <main>, argc=8,
argv=0xbffff854, init=0x8049028 <_init>, fini=0x81a3b74 <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff84c)
at ../sysdeps/generic/libc-start.c:78