From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 10 02:57:52 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C55D61065675 for ; Tue, 10 Jan 2012 02:57:52 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 886948FC25 for ; Tue, 10 Jan 2012 02:57:52 +0000 (UTC) Received: by iazz13 with SMTP id z13so223884iaz.13 for ; Mon, 09 Jan 2012 18:57:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; bh=EDoRzCthZ8Kol4vtOG26UMTMt+bDxwF1ktdW0IEufi8=; b=Rcg3R4ykdM37e7oxdMfbobwf7ea80WyCrHsbHw8ZqZeuzQz7o9+uq0ICWDLBaZgXBP dXhpgTaLXh+7rWkLLznJSv3Uj6PZ6go9jnmnYnmADbD18JZxevN4ZxD+LEmWNXzTVzCZ o8821YE4bLCoK7wSas+SlYQv2z3LuW6OTRX64= Received: by 10.50.135.1 with SMTP id po1mr562299igb.26.1326164270202; Mon, 09 Jan 2012 18:57:50 -0800 (PST) Received: from triad.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id l35sm258019805ibj.0.2012.01.09.18.57.49 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jan 2012 18:57:49 -0800 (PST) Message-Id: From: Justin Hibbits To: Greg Lewis In-Reply-To: <20120110024956.GA61524@misty.eyesbeyond.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 9 Jan 2012 21:56:00 -0500 References: <5222401A-788E-4635-A302-7F4D1E5305EA@gmail.com> <20120110024956.GA61524@misty.eyesbeyond.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-ppc@freebsd.org Subject: Re: GCJ on ppc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jan 2012 02:57:52 -0000 Hi Greg, On Jan 9, 2012, at 9:49 PM, Greg Lewis wrote: > On Sun, Jan 08, 2012 at 02:58:32PM -0500, Super Bisquit wrote: >> That's good news. Thanks. >> >> On Fri, Jan 6, 2012 at 7:37 PM, Justin Hibbits >> wrote: >>> Well, guys, I don't know if anyone's tried this before, but GCJ and >>> libjava both compile on FreeBSD/ppc. I just tested this with >>> 4.6-20111111, >>> and only compiled, haven't tried actually running anything built >>> with gcj. >>> My goal in doing this was to see about getting LLVM's vmkit/J3 >>> working on >>> here, and this was the first step in doing so. All it took to do >>> this was >>> to add the line 'powerpc-*-*) ;;' at line 3144 (I can provide a >>> patch for >>> the port later, these are just simple instructions to get it to >>> compile). >>> >>> Happy hacking, maybe we'll get a JVM on ppc soon. > > IIRC one should be able to get the openjdk7 port working on powerpc > with > the Zero VM at least. We've at one point had Zero working on both > FreeBSD/amd64 and FreeBSD/sparc64 and it has previously worked on > Leopard/ppc > at some point. The big problem, as usual, is the bootstrapping. > I'll be the > first to admit that is probably much easier with gcj. > > FWIW. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http:// > www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org Hadn't even considered openjdk, just going with vmkit as that's already known to work on Linux/ppc. According to the IcedTea build requirements, a working JDK is required to build IcedTea, which makes it a chicken-and-egg problem. So having vmkit, which should work on ppc now that gcj is building on ppc, should allow bootstrapping IcedTea as well. - Justin