java/1367: Latest gcc cannot compile interfaces
bryce@albatross.co.nz
bryce@albatross.co.nz
Wed Dec 20 12:25:00 GMT 2000
>Number: 1367
>Category: java
>Synopsis: Latest gcc cannot compile interfaces
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: apbianco
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:19 PST 2000
>Closed-Date: Fri Oct 15 16:59:43 PDT 1999
>Last-Modified: Fri Oct 15 17:00:00 PDT 1999
>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:
Something has been fixed in g++. Who knows what.
It just works now. Let me know and I close this PR out.
>Release-Note:
>Audit-Trail:
Formerly PR gcj/34
State-Changed-From-To: open->feedback
State-Changed-By: green
State-Changed-When: Fri Aug 27 17:51:08 1999
State-Changed-Why:
It works now :-)
State-Changed-From-To: feedback->closed
State-Changed-By: apbianco
State-Changed-When: Fri Oct 15 16:59:43 1999
State-Changed-Why:
A month and a half after Anthony's initial feedback, gcj
still compiles interfaces. I'm closing this PR.
From: apbianco@cygnus.com
To: apbianco@cygnus.com, bryce@albatross.co.nz,
java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/34
Date: 15 Oct 1999 23:59:43 -0000
Synopsis: Latest gcc cannot compile interfaces
State-Changed-From-To: feedback->closed
State-Changed-By: apbianco
State-Changed-When: Fri Oct 15 16:59:43 1999
State-Changed-Why:
A month and a half after Anthony's initial feedback, gcj
still compiles interfaces. I'm closing this PR.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=34
>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
More information about the Gcc-prs
mailing list