OpenJDK Zero PPC Build on OS X Leopard
Mike Swingler
swingler at apple.com
Thu Sep 8 09:26:33 PDT 2011
On Sep 8, 2011, at 9:15 AM, Kurt Miller wrote:
> On Thursday 08 September 2011 11:42:34 am Mike Swingler wrote:
>
>> On Sep 8, 2011, at 8:11 AM, Kurt Miller wrote:
>>
>>> Hi Henri,
>>>
>>> On Thursday 08 September 2011 08:53:42 am Henri Gomez wrote:
>>>> Kurt,
>>>>
>>>> It could be nice for PPC users to get it packaged
>>>>
>>>> Sad I don't have OSX PPC box available to make package built on it via
>>>> a Jenkins slave ;(
>>>
>>> Once it is working well again, hopefully someone from the comunity will
>>> step up and do that work or donate you a PPC box for your build farm.
>>
>> An Intel Leopard box should be able to compile a universal binary for both PPC and Intel, but would require explicitly passing -arch flags.
>>
>> The J2SE 5.0 builds on Leopard for ppc, i386, and x86_64 were always made using an Intel builder.
>
> That's an interesting thought. I'm not sure how both PPC and Intel could be compiled into the same universal binary since ppc uses the Zero hotspot implementation and Intel the JIT implementation. Perhaps an Intel Leopard box could build the PPC/ Zero binaries though using -arch ppc.
Actually, as I recall (it takes a while to page all this stuff back into my brain), the J2SE 5.0 Makefiles for HotSpot actually were completely separate for PPC vs. i386+x86_64, and we just had a final make rule that lipo'd the different architectures together at the end. The PPC "side" of the Makefile machinery ran fine on an Intel builder though.
Best of luck,
Mike Swingler
Java Engineering
Apple Inc.
More information about the bsd-port-dev
mailing list