This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/31325] gcj support for ARM EABI
- From: "s_j_newbury at yahoo dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 23 Mar 2007 13:13:57 -0000
- Subject: [Bug java/31325] gcj support for ARM EABI
- References: <bug-31325-12652@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from s_j_newbury at yahoo dot co dot uk 2007-03-23 13:13 -------
I have encountered a strange build failure with classpath. It is somehow
getting the build order wrong resulting in this error:
/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/build/gcc/gcj
-B/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/build/arm-iwmmxt-linux-gnueabi/libjava/
-B/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/build/gcc/
-Wno-deprecated --encoding=UTF-8 --bootclasspath '' --classpath
..:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/build/arm-iwmmxt-linux-gnueabi/libjava:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath/external/w3c_dom:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath/external/sax:/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath/external/relaxngDatatype:.::
-C -d . -MD -MF lists/gnu-CORBA-DynAn.deps -MT lists/gnu-CORBA-DynAn.stamp -MP
@lists/gnu-CORBA-DynAn.list
/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath/java/lang/Throwable.java:44:
error: Class or interface 'java.io.Serializable' not found in import.
import java.io.Serializable;
^
/home/tmp/portage/dev-java/gcj-4.2.0_beta20070307/work/gcc-4.2-20070307/libjava/classpath/java/lang/Throwable.java:107:
error: Superinterface 'Serializable' of class 'java.lang.Throwable' not found.
public class Throwable implements Serializable
^
Manually building java.io.Serializable allows the build to continue. Why is
this happening? It doesn't happen with i686 or x86_64 with the same snapshot.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31325