RFR: JDK-8182733 aarch64 build documentation misleading

David Holmes david.holmes at oracle.com
Thu Aug 2 06:35:28 UTC 2018


On 2/08/2018 4:18 PM, Magnus Ihse Bursie wrote:
> 
> 
> On 2018-08-01 18:46, David Holmes wrote:
>> Hi Magnus,
>>
>> On 2/08/2018 11:40 AM, Magnus Ihse Bursie wrote:
>>> The build documentation misleadingly states that it is not 
>>> recommended to build without cross compilation on aarch64. This patch 
>>> updates the documentation. (I apologize for taking so long to address 
>>> this. :-()
>>>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8182733
>>> WebRev: 
>>> http://cr.openjdk.java.net/~ihse/JDK-8182733-update-aarch64-build-docs/webrev.01 
>>
>>
>>
>> AFAIK there are still 2 different 64-bit ARM builds possible depending 
>> on which port is used: one native (Aarch64) and the other 
>> cross-compilation (ARM64).
> Sure, but either should be possible to build natively or using 
> cross-compilation.

In theory yes - in practice I don't know if anyone has tried it. How 
would you do a native build using the ARM64 sources rather than the 
aarch64 sources?

My point was more that this is still not really clear. You now have a 
section that indicates you can do a native build on Aarch64, but then 
within the Cross-compilation section you have "Building for ARM/aarch64" 
which suggests to me that 64-bit is only done using cross-compilation. 
And the two different ports are only mentioned within that 
cross-compilation section.

Cheers,
David

> /Magnus
>>
>> David
>>
>>>
>>> /Magnus
>>>
>>>
> 



More information about the build-dev mailing list