RFR: JDK-8176271: Still unable to build JDK 9 on some *7 sparcs (original) (raw)

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Mar 7 11:47:07 UTC 2017


Looks good to me.

/Magnus

On 2017-03-07 11:33, Erik Joelsson wrote:

In JDK-8162354 Jib was adjusted to use a different boot jdk for M7 sparcs. This fix need to be generalized slightly since it also applies to sparc chips with different letters in front of the 7.

Bug: https://bugs.openjdk.java.net/browse/JDK-8176271 Patch: diff -r 4d29ee32d926 common/conf/jib-profiles.js --- a/common/conf/jib-profiles.js +++ b/common/conf/jib-profiles.js @@ -391,7 +391,7 @@ // on such hardware. if (input.buildcpu == "sparcv9") { var cpubrand = $EXEC("bash -c "kstat -m cpuinfo | grep brand | head -n1 | awk '{ print $2 }'""); - if (cpubrand.trim() == 'SPARC-M7') { + if (cpubrand.trim().match('SPARC-.7')) { bootjdkrevision = "8u20"; bootjdksubdirpart = "1.8.020"; } /Erik



More information about the build-dev mailing list