From joakim.nordstrom at gmail.com Sun Jun 29 17:10:05 2014 From: joakim.nordstrom at gmail.com (=?UTF-8?Q?Joakim_Nordstr=C3=B6m?=) Date: Sun, 29 Jun 2014 20:10:05 +0300 Subject: AmigaOS-PowerPC port Message-ID: Hi, I'm porting OpenJDK 9 to AmigaOS 4/PowerPC, or at least trying to. I'd like to get some advice; specifically on whether to use IcedTea or not, and if I need a HotSpot implementation. General advice is ofcourse also welcome. Some background: I currently have GNU Classpath running using JamVM on AmigaOS. I've now also compiled the OpenJDK version of JamVM for Amiga. As an initial test, I used linux-x86 Java classes (built from the OpenJDK 9 repository on my Ubuntu machine). And this works, although it of course fails since I have no native libraries. But its a start. I'm now trying to cross-compile OpenJDK and add support for the Amiga specific things. It looks as if building OpenJDK requires the HotSpot VM, which of course doesn't have an Amiga implementation (not even a Zero one). Given that I have JamVM, I don't want to spend time implementing HotSpot support (atleast not for the moment). When reading docs and googlig for info, the general approach to cross-compiling OpenJDK and using JamVM is to use IcedTea. Will IcedTea remove the need for HotSpot? Because, one reason I _don't_ want to use IcedTea is that it doesn't seem to support OpenJDK 9. I know OpenJDK 9 isn't released yet, but I, again, don't want to spend time adapting stuff for v 7 or 8, when I know that I won't have anything releasable until they're out of date. So I thought I'd just go for the latest version. (Now, if the general opinion is that going for version 9 will be harder than 7 or 8, I'm not to argue.) Sorry for the long rant... but, if you for any reason want more of my porting-effort-rants, do visit my blog: http://jamiga.org Best regards, Joakim Nordstr?m -------------- next part -------------- An HTML attachment was scrubbed... URL: From aph at redhat.com Mon Jun 30 07:54:02 2014 From: aph at redhat.com (Andrew Haley) Date: Mon, 30 Jun 2014 08:54:02 +0100 Subject: AmigaOS-PowerPC port In-Reply-To: References: Message-ID: <53B1179A.2010107@redhat.com> It would be a really good idea to send this to distro-pkg-dev Andrew. From joakim.nordstrom at gmail.com Mon Jun 30 08:31:08 2014 From: joakim.nordstrom at gmail.com (=?UTF-8?Q?Joakim_Nordstr=C3=B6m?=) Date: Mon, 30 Jun 2014 10:31:08 +0200 Subject: AmigaOS-PowerPC port In-Reply-To: <53B1179A.2010107@redhat.com> References: <53B1179A.2010107@redhat.com> Message-ID: Ok, I chose between this and the distro-pkg-dev list. I've sent it there as well now. /Joakim 2014-06-30 9:54 GMT+02:00 Andrew Haley : > It would be a really good idea to send this to > distro-pkg-dev > > Andrew. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From volker.simonis at gmail.com Mon Jun 30 09:05:11 2014 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 30 Jun 2014 11:05:11 +0200 Subject: AmigaOS-PowerPC port In-Reply-To: References: <53B1179A.2010107@redhat.com> Message-ID: Just wanted to point out that OpenJDK 9 and the HotSpot therein currently only support PPC64 natively. If you need 32-bit PPC support you need to use the Zero/Shark port and if you will decide to use that you better use IcedTea. In general, porting the HotSpot Zero port for PPC to Amiga should be about an order of magnitude easier than porting the HotSpot PPC64 port. Regards, Volker On Mon, Jun 30, 2014 at 10:31 AM, Joakim Nordstr?m wrote: > Ok, I chose between this and the distro-pkg-dev list. I've sent it there as > well now. > > /Joakim > > > 2014-06-30 9:54 GMT+02:00 Andrew Haley : > >> It would be a really good idea to send this to >> distro-pkg-dev >> >> Andrew. > > From dalibor.topic at oracle.com Mon Jun 30 11:04:50 2014 From: dalibor.topic at oracle.com (dalibor topic) Date: Mon, 30 Jun 2014 13:04:50 +0200 Subject: AmigaOS-PowerPC port In-Reply-To: References: <53B1179A.2010107@redhat.com> Message-ID: <53B14452.8030204@oracle.com> Yeah - If you need to use an alternative VM instead of HotSpot, then IcedTea is an easier choice to start with. In addition, in that case, I'd suggest starting with an older release rather than newer, i.e. 6/7/8, as the integration between alternative VMs and OpenJDK may take some time after a platform release so solidify, and have the support for new VM or class library features implemented and kinks worked out. In case of OpenJDK 7, for example, support for JSR 292 was implemented a bit more than a year after the JDK 7 release. [1] Whether it makes more sense for your porting effort to start with 6, 7 or 8 ultimately depends on how well the respective release is being supported in IcedTea by the alternative VM of your choice. I'm not aware of any documentation covering that, so you'll need to ask on the distro-pkg-discuss mailing list. cheers, dalibor topic [1] http://draenog.blogspot.co.uk/2012/12/the-long-and-winding-road-of-jsr-292.html On 30.06.2014 11:05, Volker Simonis wrote: > Just wanted to point out that OpenJDK 9 and the HotSpot therein > currently only support PPC64 natively. If you need 32-bit PPC support > you need to use the Zero/Shark port and if you will decide to use that > you better use IcedTea. In general, porting the HotSpot Zero port for > PPC to Amiga should be about an order of magnitude easier than porting > the HotSpot PPC64 port. > > Regards, > Volker > > > On Mon, Jun 30, 2014 at 10:31 AM, Joakim Nordstr?m > wrote: >> Ok, I chose between this and the distro-pkg-dev list. I've sent it there as >> well now. >> >> /Joakim >> >> >> 2014-06-30 9:54 GMT+02:00 Andrew Haley : >> >>> It would be a really good idea to send this to >>> distro-pkg-dev >>> >>> Andrew. >> >> -- Dalibor Topic | Principal Product Manager Phone: +494089091214 | Mobile: +491737185961 ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Oracle is committed to developing practices and products that help protect the environment