Current and diablo-jdk

Andrey Slusar anrays at gmail.com
Fri Sep 21 10:22:18 PDT 2007


Thu, 20 Sep 2007 20:17:01 +0200, Zahemszky Gábor wrote:

> > On the other hand, diablo jdk functionality is enough to build
> > java/jdk15 and java/jdk16 ports, that work good enough for me.

> OK, I tried to compile it. But I cannot. Here is an excerpt from the
> make output. How to go on?
[...]
> ../../../../../src/share/classes/java/io/ObjectStreamClass.java:976:
> warning: non-varargs call of varargs method with inexact argument type
> for last parameter; cast to java.lang.Object for a varargs call cast to
> java.lang.Object[] for a non-varargs call and to suppress this warning
> readObjectNoDataMethod.invoke(obj, null); ^
> gmake[7]: *** [.compile.classlist] Error 4
> gmake[7]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
> gmake[6]: *** [optimized] Error 2 gmake[6]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile/library'
> gmake[5]: *** [all] Error 1 gmake[5]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac/recompile' gmake[4]:
> *** [all] Error 1 gmake[4]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/sun/javac' gmake[3]: *** [all]
> Error 2 gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/java/javac' gmake[2]: *** [all]
> Error 1 gmake[2]: Leaving directory
> `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
> gmake: *** [j2se-build] Error 2
> *** Error code 2

 It's gcc4 problem. Add to CFLAGS `-fno-tree-vrp'.

-- 
Regards,
Andrey.


More information about the freebsd-java mailing list