OpenJDK for PowerPC64
Curtis Hamilton
hamiltcl at verizon.net
Mon Nov 2 15:25:46 UTC 2015
Attached are the instructions for setting up a bootstrap for building
OpenJDK on FreeBSD. In an earlier email I provided the build script used to
build the BSD-Port mercurial, using the bootstrap setup in the instructions.
Let me know if you have questions.
-Curtis
-----Original Message-----
From: Andreas Tobler [mailto:andreast-list at fgznet.ch]
Sent: Saturday, October 31, 2015 6:50 PM
To: Curtis Hamilton <hamiltcl at verizon.net>; 'Steve Wills'
<swills at freebsd.org>; 'Justin Hibbits' <jrh29 at alumni.cwru.edu>
Cc: 'FreeBSD PowerPC ML' <freebsd-ppc at freebsd.org>
Subject: Re: OpenJDK for PowerPC64
On 30.10.15 22:38, Andreas Tobler wrote:
> 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.
Here I have to apologize, it's the work from Julio Merino. I seem to mix
John Marino and Julio Merino, sorry.
>> 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 gcc49 and below are not usable due to the fact that they do not install
properly. The reason is the multilib part for soft-float which is not
working properly. But this part is not needed.
> The gcc5-devel part I solve later.
It is solved, patch pending for gcc trunk and gcc-5. A leftover from adding
PIE support. My fault, but I do not run all combinations of bootstrapping
all the time since the machine is very power hungry...
Attached the patch I used to build a gcc-49 with multilib and java support.
Hth,
Andreas
Btw, it would be great if you (@Curtis) could describe how you did the
OpenJDK bootstrap.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bootstrap Setup Instructions
Type: application/octet-stream
Size: 3347 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20151102/e8e3d43f/attachment.obj>
More information about the freebsd-ppc
mailing list