java/6005: gcj fails to build rhug on alpha
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
>Originator:     Tom Tromey
>Release:        gcj (GCC) 3.1 20020318 (prerelease)
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/
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/ In class `org.apache.xerces.validators.common.CMStateSet':
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/ In method `org.apache.xerces.validators.common.CMStateSet.isEmpty()':
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/ internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref
../../rhug/xerces/upstream/src/org/apache/xerces/validators/common/ confused by earlier errors, bailing out

The problem is that fold() generates a bit field operation as an optimization.

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.

More information about the Java-prs mailing list