Bug 414411 - [gcj-backend] internal compiler error: in java_mark_cni_decl_local, at java/decl.c:2115
[gcj-backend] internal compiler error: in java_mark_cni_decl_local, at java/d...
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
Blocks: 173278
  Show dependency treegraph
Reported: 2007-12-06 12:18 EST by Andrew Cagney
Modified: 2008-05-21 10:34 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0301
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 10:34:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Cagney 2007-12-06 12:18:47 EST
First use ECJ to compile up the .jar file:

gij --classpath
org.eclipse.jdt.internal.compiler.batch.Main -1.4 -d classes -warn:+semicolon
                @./files-java.list \
                2>&1 | tee frysk-sys.log

then try to compile the .jar:

gcj -I../../frysk/frysk-sys -I. -I../frysk-imports/
-I../../frysk/frysk-sys/../frysk-imports/ -I../frysk-imports/jline.jar
-I../frysk-imports/antlr.jar -I../frysk-imports/junit.jar
-I../frysk-imports/getopt.jar -I../frysk-imports/jdom.jar
-I../frysk-imports/cdtparser.jar -fPIC  -g -O -Werror -c frysk-sys.jar
frysk/Config.java:0: internal compiler error: in java_mark_cni_decl_local, at
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

this was using frysk32.hsv.redhat.com:/notnfs/cagney/build/frysk-sys
Comment 1 Andrew Cagney 2007-12-06 12:19:42 EST
Add rhel 5.2? affects frysk build.
Comment 2 RHEL Product and Program Management 2007-12-06 12:24:28 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 3 Andrew Haley 2007-12-06 14:55:12 EST
OK, trying to duplicate.  It's definitely fixed in all current gcj versions, so
it's probably a matter of back-porting a fix.

Investigation in progress.
Comment 4 Andrew Haley 2007-12-07 08:02:49 EST
This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27643
Comment 5 Andrew Haley 2007-12-17 12:53:26 EST
I have a fix for this at http://gcc.gnu.org/ml/java-patches/2007-q4/msg00090.html

It is a low-risk change that only affects code that would have triggered this
internal compiler error.  Waiting for your ACK to push the patch to release.
Comment 6 Andrew Cagney 2007-12-21 18:03:14 EST
I've tested it on:
tortura$ rpm -q gcc
and frysk was successfully built.

I'm seeing two test failures but they are related to OS differences and not this
Comment 7 Andrew Haley 2007-12-22 06:02:51 EST
Reassigning to jakub@redhat.com for respin.
Comment 8 Jakub Jelinek 2008-01-03 05:10:15 EST
Preliminary packages uploaded to http://people.redhat.com/jakub/gcc/4.1.2-37.el5/
Comment 14 errata-xmlrpc 2008-05-21 10:34:30 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.