[8u] RFR 8226288 - Upgrade to XCode 10+ for building JDK 8u and 11u

Simon Tooke stooke at redhat.com
Thu Feb 27 19:55:47 UTC 2020


I have not heard back, and had put this on the back burner for a while.


Due to renewed interest expressed to me privately, I would like to 
resubmit this RFR, updated to the latest JDK and macOS build environment.


Updated webrev: 
http://cr.openjdk.java.net/~stooke/webrevs/jdk-8226288-jdk8u/01/


The result of this build does not perfectly pass jtreg tier1, but there 
are only a few failures, which appear in more recent JDKs using the same 
toolchain.


I would like to (and invite others to) address the tier 1 failures 
separately; I suspect there will be more participation if the JDK builds 
cleanly on Catalina using JDK 11.  Eventually, I hope it will even run 
faster!.


Some of the upcoming RFRs (to address tier 1) appear in 
https://github.com/stooke/jdk8u-xcode10/tree/master/jdk8u-patch


I know we are in rampdown now, but I think it's as good a time as any to 
decide if this can get in for the following release.


Thank you for your time,

-Simon


On 2019-09-20 4:42 p.m., Derek Keeler wrote:
> I'd been over-optimistic in my estimate and haven't gotten our 
> pipeline in a state where it runs the AdoptOpenJDK tests completely 
> quite yet.
>
> However, the build works just fine, and many of the tests do complete 
> successfully.
>
> I'll follow up with more detailed results next week.
>
> -Derek
>
> ------------------------------------------------------------------------
> *From:* Simon Tooke <stooke at redhat.com>
> *Sent:* September 18, 2019 5:43 AM
> *To:* Derek Keeler <dekeeler at microsoft.com>; 
> jdk8u-dev at openjdk.java.net <jdk8u-dev at openjdk.java.net>; build-dev 
> <build-dev at openjdk.java.net>
> *Subject:* Re: [8u] RFR 8226288 - Upgrade to XCode 10+ for building 
> JDK 8u and 11u
>
>
> On 9/17/2019 1:31 PM, Derek Keeler wrote:
>> Hi build-dev friends!
>>
>> I'm Derek Keeler, the infrastructure lead on the Java Platform team 
>> within Microsoft, working with the AdoptOpenJDK's George Adams and 
>> John Oliver.
>>
>> Simon, I have pulled down your jdk8u patches and have built them 
>> against macOS Mojave (with a good amount of help from George and John).
> Hi, and thanks for your interest.
>>
>> Currently, the build succeeds!
>>
>> I am planning to throw the entire AdoptOpenJDK test roster against it 
>> sometime today/tomorrow.
>>
>> I will let you know what I find as a result of those tests, and what 
>> if anything I had to do in order to get things up and running.
>
> Yes, please. Also any difficulties you had with the initial script or 
> instructions; I know there was a syntax error that I just fixed.
>
> -Simon
>
>>
>> -Derek
>>
>>
>> ------------------------------------------------------------------------
>> *From:* build-dev <build-dev-bounces at openjdk.java.net> 
>> <mailto:build-dev-bounces at openjdk.java.net> on behalf of Simon Tooke 
>> <stooke at redhat.com> <mailto:stooke at redhat.com>
>> *Sent:* September 13, 2019 7:05 AM
>> *To:* jdk8u-dev at openjdk.java.net <mailto:jdk8u-dev at openjdk.java.net> 
>> <jdk8u-dev at openjdk.java.net> <mailto:jdk8u-dev at openjdk.java.net>; 
>> build-dev <build-dev at openjdk.java.net> 
>> <mailto:build-dev at openjdk.java.net>
>> *Subject:* [8u] RFR 8226288 - Upgrade to XCode 10+ for building JDK 
>> 8u and 11u
>> Hello all,
>>
>> This is a request for review of my patch to enable building 8u with
>> modern (9,10,11) Xcode versions on macOS.  I've received a few recent
>> enquiries so I thought I'd submit this.
>>
>> When I first created this patch is was more for convenience, but soon
>> macOS will require applications to be "notarized", which cannot be done
>> with the old version of Xcode.  This will become mandatory long before
>> 8u is due to retire [1].
>>
>> This patch is not intended to remove the current ability to build 8u on
>> the current supported build platform.
>>
>> I have used the patch with Xcode 9,10 and a beta of 11, and used the
>> resultant JDK to build Graal.
>>
>> I have not build a JDK using the old Xcode and this patch; my intent was
>> to ensure this was still possible.
>>
>> There is some information available on my GitHub page:
>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstooke%2Fjdk8u-xcode10&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865878108&sdata=THixfdOpuZrY8%2BdEDHFVjmV%2BnePxVGFsof9eDoqJikE%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstooke%2Fjdk8u-xcode10&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134507990&sdata=olRLshcIPIrvNfki6chrjbFNpg0Cgq72GQsRky2016c%3D&reserved=0>
>>
>> Issue: 
>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8226288&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865878108&sdata=VHN2S0uxbbeJiiuWznYafSpXmERDdp29U%2FqVMJSdUuw%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8226288&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134517982&sdata=OmJC%2BGMESe%2FCFriKaJXeEa1urEt4m5pKQaSRC9b8tMw%3D&reserved=0>
>>
>> Webrev: 
>> https://nam06.safelinks.protection.outlook.com/?url=http:%2F%2Fcr.openjdk.java.net%2F~stooke%2Fwebrevs%2Fjdk-8226288-jdk8u%2F00%2F&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865888100&sdata=T6uq0ThFfHLrqslWfCz2x846ixtLMIW5EwaP4U4Jvqc%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=http:%2F%2Fcr.openjdk.java.net%2F~stooke%2Fwebrevs%2Fjdk-8226288-jdk8u%2F00%2F&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134517982&sdata=Vg4cCJD5HBfltOv9IOjKC9Ed5ZmtRvq4rUiAzHcmUAs%3D&reserved=0>
>>
>> Previous discussion:
>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openjdk.java.net%2Fpipermail%2Fjdk8u-dev%2F2019-June%2F009733.html&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865888100&sdata=WDUf2fhTqmcNTZJJ2NNnI%2FtCKxr%2BxQLiCfPmpj3m0p8%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openjdk.java.net%2Fpipermail%2Fjdk8u-dev%2F2019-June%2F009733.html&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134527974&sdata=1gihU7iUxUXDic%2FWmO6qYFmN1YVwYEeIDIHXMAbOLJQ%3D&reserved=0> 
>>
>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openjdk.java.net%2Fpipermail%2Fjdk8u-dev%2F2019-July%2F009760.html&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865888100&sdata=pJXk%2Bg5LlmSpogNhcINgRezCSozo7MbW%2FNWLJNrf%2BV8%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openjdk.java.net%2Fpipermail%2Fjdk8u-dev%2F2019-July%2F009760.html&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134527974&sdata=t34%2F%2BMREw5r%2F4dHtavLh74nPu0X%2BRogs%2Bv7pOx7m8e0%3D&reserved=0>
>>
>> Thank you for your time,
>>
>> -Simon
>>
>>
>> [1]
>> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.apple.com%2Fdocumentation%2Fsecurity%2Fnotarizing_your_app_before_distribution&data=02%7C01%7Cdekeeler%40microsoft.com%7Cc0539708320c4d8421a908d73853cbe8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637039804865888100&sdata=TZmbZfAFDXXwpBJ8xibzzfoCicd5Fwm0xwdCo2hIaYo%3D&reserved=0 
>> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.apple.com%2Fdocumentation%2Fsecurity%2Fnotarizing_your_app_before_distribution&data=02%7C01%7Cdekeeler%40microsoft.com%7Cbc90ae79a9c148bb385508d73c35cff3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637044074134537972&sdata=5UgFB9ySzSbqWI3HZcbcC4XY3iOKoYHsSAJ1OBUqNFc%3D&reserved=0>
>>



More information about the build-dev mailing list