java/6005: gcj fails to build rhug on alpha

tromey@redhat.com tromey@redhat.com
Tue Mar 19 09:46:00 GMT 2002


>Number:         6005
>Category:       java
>Synopsis:       gcj fails to build rhug on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 19 09:46:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tom Tromey
>Release:        gcj (GCC) 3.1 20020318 (prerelease)
>Organization:
>Environment:
alphaev67-unknown-linux-gnu
>Description:
gcj fails to build rhug on the alpha.
This is the error:

gcj -C --encoding=8859_1 --classpath=upstream/src:../../rhug/xerces/upstream/src -O2 -d upstream/src ../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java: In class `org.apache.xerces.validators.common.CMStateSet':
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java: In method `org.apache.xerces.validators.common.CMStateSet.isEmpty()':
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java:180: internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/CMStateSet.java:180: confused by earlier errors, bailing out


The problem is that fold() generates a bit field operation as an optimization.
>How-To-Repeat:

>Fix:
We could either turn the bit field operations back into something we understand (hard) or write our own fold() that doesn't perform these optimizations, or change fold() so that it doesn't do these operations when -C is in use.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list