RFR: JDK-8039426: gcc can target wrong instruction set when building JDK native code

David Holmes david.holmes at oracle.com
Tue May 12 07:02:36 UTC 2015


On 12/05/2015 6:27 AM, David Holmes wrote:
> Hi Erik,
>
> On 11/05/2015 10:31 PM, Erik Joelsson wrote:
>> Hello,
>>
>> Please review this small fix to CFLAGS when compiling with GCC on a
>> 32-bit system. Hotspot currently sets -march=i586 and the jdk libraries
>> should do the same for consistency.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8039426
>> Webrev: http://cr.openjdk.java.net/~erikj/8039426/webrev.01/
>
> Change is fine as far as it goes but the bug report never resolved
> whether we should also be specifying -mtune.

Bug report updated. I'm happy.

Thanks,
David

> Thanks,
> David
>
>> /Erik



More information about the build-dev mailing list