This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/5183: jc1 produces invalid assembly (for native as/ld) on solaris2.7
- From: ghazi at caip dot rutgers dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 24 Dec 2001 02:55:53 -0000
- Subject: java/5183: jc1 produces invalid assembly (for native as/ld) on solaris2.7
- Reply-to: ghazi at caip dot rutgers dot edu
>Number: 5183
>Category: java
>Synopsis: jc1 produces invalid assembly (for native as/ld) on solaris2.7
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sun Dec 23 18:56:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Kaveh Ghazi
>Release: gcc 3.1 20011223 (experimental)
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
When bootstrapping on solaris2.7 with native as/ld,
the 3-stage completes fine, then I get this error when it
compiles libjava:
/tmp/foo/java/build/gcc/gcj
-B/tmp/foo/java/build/sparc-sun-solaris2.7/sparcv9/libjava/
-B/tmp/foo/java/build/gcc/ --encoding=UTF-8 -fassume-compiled
-fclasspath=/tmp/foo/java/build/sparc-sun-solaris2.7/sparcv9/libjava
-L/tmp/foo/java/build/sparc-sun-solaris2.7/sparcv9/libjava -g -O2 -m64
-MD -MT java/lang/ThreadGroup.lo -MF java/lang/ThreadGroup.d -c
../../../../egcc-CVS20011223/libjava/java/lang/ThreadGroup.java -fPIC
-o java/lang/.libs/ThreadGroup.o
/usr/ccs/bin/as: "/var/tmp//ccXcaRxe.s", line 3022: error: can't
compute value of an expression involving an external symbol
/usr/ccs/bin/as: "/var/tmp//ccXcaRxe.s", line 3055: error: can't
compute value of an expression involving an external symbol
make[5]: *** [java/lang/ThreadGroup.lo] Error 1
>How-To-Repeat:
Bootstrap on solaris2.7 with java enabled
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: