From owner-freebsd-ppc@freebsd.org Fri Oct 30 21:38:47 2015 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 472FBA22975 for ; Fri, 30 Oct 2015 21:38:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7D2D1F73; Fri, 30 Oct 2015 21:38:45 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from [192.168.225.14] (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id t9ULcYLL042099; Fri, 30 Oct 2015 22:38:40 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Subject: Re: OpenJDK for PowerPC64 To: Curtis Hamilton , "'Steve Wills'" , "'Justin Hibbits'" References: <002a01d11001$a4b126e0$ee1374a0$@verizon.net> <003701d1102a$ee366c70$caa34550$@verizon.net> <00f701d1129c$b82b0400$28810c00$@verizon.net> <563370BF.8010602@FreeBSD.org> <012c01d11328$caef1220$60cd3660$@verizon.net> <5633D743.9070002@fgznet.ch> Cc: "'FreeBSD PowerPC ML'" From: Andreas Tobler Message-ID: <5633E35A.50402@fgznet.ch> Date: Fri, 30 Oct 2015 22:38:34 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5633D743.9070002@fgznet.ch> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 21:38:47 -0000 On 30.10.15 21:46, Andreas Tobler wrote: > On 30.10.15 16:36, Curtis Hamilton wrote: >> Steve, >> >> I'll work on the patch. In the meantime, if you'd like to give them a try, >> I've built OpenJDK7/8 Zero VM for powerpc64. It's available at the below >> URL: >> >> https://drive.google.com/folderview?id=0Bz7VO-WP3rlpM3BabUd6ejlya3c&usp=shar >> ing > > Do you need 32-bit powerpc stuff to bootstrap OpenJDK? > > If not, you can speed up the gcc build with the attached patch. > It gives you the possibility to choose java for powerpc64 and to > disable/enable multilibs for powerpc64. > > I just successfully built the gcc5-devel on my quad, including multilibs) > > The other versions are part of my todo, after fixing gcc trunk.... > > The multilib switch is part of John Merino's work. > > I recommend to use a compiler as new as possible, although, not the > 6.0-devel since it is broken, at least for me. > > You can use USES_GCC = 5.2 in the ports Makefile to say which gcc > compiler you wan to use. I just noticed some weird stuff with gcc5-devel, Try to use the gcc49, the patch applies there too. I'll run some tests on gcc49 during the night. The gcc5-devel part I solve later. Sorry for the inconvenience. Andreas