Problems building classpath on MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I'm running into problems trying to build classpath-0.98 on a MIPS32 target:

CFLAGS="-O2 -mips32 -msoft-float" ./configure --prefix=/opt/classpath --build=mipsel-softfloat-linux-gnu --host=mipsel-softfloat-linux-gnu --target=mipsel-softfloat-linux-gnu --disable-gconf-peer --disable-gtk-peer --disable-plugin --enable-gmp --enable-regen-headers --enable-static --enable-shared --disable-rpath --with-gnu-ld

bugs out at:

checking for gcj... gcj -C
checking if gcj -C is a version of gcj... yes
checking if gcj -C -g works... yes
checking if gij works... configure: error: The Java compiler gcj -C -g failed (see config.log, check the CLASSPATH?)

the log is full of these:
/root/classpath-0.98/./java/lang/Object.java:314: error: VMObject cannot be resolved
        return VMObject.clone((Cloneable) this);
               ^^^^^^^^
/root/classpath-0.98/./java/lang/Object.java:331: error: VMObject cannot be resolved
        return VMObject.getClass(this);

[...]

/root/classpath-0.98/./java/lang/Thread.java:489: error: VMThread cannot be resolved
        return VMThread.currentThread();

[...]

/root/classpath-0.98/./java/lang/Thread.java:1331: warning: Type safety: The method put(Object, Object) belongs to the raw type Map. Refere
        traces.put(threadList[a],
                 threadList[a].getStackTrace());
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/root/classpath-0.98/./java/lang/Thread.java:1333: warning: Type safety: The expression of type Map needs unchecked conversion to conform t
        return traces;
               ^^^^^^
363 problems (284 errors, 79 warnings)
configure:35024: 0 = 1
configure: failed program was:
/* [#]line 35013 "configure" */
public class Test {
public static void main (String args[]) {
        System.exit (0);
} }
configure:35030: error: The Java compiler gcj -C -g failed (see config.log, check the CLASSPATH?)

# gcj -v
Using built-in specs.
Reading specs from /usr/lib/gcc/mipsel-softfloat-linux-gnu/4.3.3/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: mipsel-softfloat-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.3/work/gcc-4.3.3/configure --prefix=/usr --bindir=/usr/mipsel-softfloat-linux-gnu/gcc-bin/4.3.3 --includedir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.3.3/include --datadir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.3.3 --mandir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.3.3/man --infodir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.3.3/info --with-gxx-include-dir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.3.3/include/g++-v4 --host=mipsel-softfloat-linux-gnu --build=mipsel-softfloat-linux-gnu --disable-altivec --disable-fixed-point --with-float=soft --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --disable-libgomp --enable-cld --enable-languages=c,c++,java,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.3 p1.0'
Thread model: posix
gcc version 4.3.3 (Gentoo 4.3.3 p1.0)


Did I miss any prerequisites?
Any help is very much appreciated!

Thanks,
	Manuel Lauss



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux