Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 13:01:43 +0300
From:      Andrey Slusar <anrays@gmail.com>
To:        Zahemszky Gábor <Gabor@Zahemszky.HU>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Current and diablo-jdk
Message-ID:  <86bqbwtjzs.fsf@santinel.home.ua>
In-Reply-To: <20070920201701.486a2f6b@Picasso.Zahemszky.HU> (Zahemszky's message of "Thu, 20 Sep 2007 20:17:01 %2B0200")
References:  <20070919084913.14113.qmail@mail.integrity.hu> <20070919100956.GZ79542@deviant.kiev.zoral.com.ua> <20070920201701.486a2f6b@Picasso.Zahemszky.HU>

next in thread | previous in thread | raw e-mail | index | archive | help
Thu, 20 Sep 2007 20:17:01 +0200, Zahemszky G=E1bor 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'.

--=20
Regards,
Andrey.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bqbwtjzs.fsf>