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

David Holmes david.holmes at oracle.com
Mon May 11 20:27:49 UTC 2015

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.


> /Erik

More information about the build-dev mailing list