From owner-freebsd-java@FreeBSD.ORG Fri Sep 21 17:22:17 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECA1216A418 for ; Fri, 21 Sep 2007 17:22:17 +0000 (UTC) (envelope-from anrays@gmail.com) Received: from mail.matrix.farlep.net (mail.matrix.farlep.net [217.146.241.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC0413C447 for ; Fri, 21 Sep 2007 17:22:17 +0000 (UTC) (envelope-from anrays@gmail.com) Received: from santinel.home.ua (senser.ppp.matrix.private [10.64.37.183]) by mail.matrix.farlep.net with ESMTP id 1IYm8s-0003t9-9Q; Fri, 21 Sep 2007 20:18:14 +0300 Received: from anray by santinel.home.ua with local (Exim 4.68; FreeBSD) id 1IYfKR-000MOW-M4; Fri, 21 Sep 2007 13:01:43 +0300 To: Zahemszky Gábor References: <20070919084913.14113.qmail@mail.integrity.hu> <20070919100956.GZ79542@deviant.kiev.zoral.com.ua> <20070920201701.486a2f6b@Picasso.Zahemszky.HU> Organization: Santinel From: Andrey Slusar Date: Fri, 21 Sep 2007 13:01:43 +0300 In-Reply-To: <20070920201701.486a2f6b@Picasso.Zahemszky.HU> (Zahemszky's message of "Thu, 20 Sep 2007 20:17:01 +0200") Message-ID: <86bqbwtjzs.fsf@santinel.home.ua> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.5-b28 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Spam-Report: Content analysis details: (0.7 points, 5.0 required, autolearn: no) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date Cc: freebsd-java@freebsd.org Subject: Re: Current and diablo-jdk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 17:22:18 -0000 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.