RFR: Bug Pending: Build fails to compile jchuff.c

Adam Farley8 adam.farley at uk.ibm.com
Tue Jan 23 16:25:40 UTC 2018


> On 01/23/2018 03:13 PM, Adam Farley8 wrote:
>> The URL supplied by David (Holmes) lists 4.8.5 as the gcc version for
>> building JDK9 on SLES 11.3/12.1. Whether it's in a repository or not,
>> I read that as "this is the gcc version you should be building JDK9 
on".
>> 
>> 
https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.openjdk.java.net_display_Build_Supported-2BBuild-2BPlatforms&d=DwIC-g&c=jf_iaSHvJObTbx-siA1ZOg&r=P5m8KWUXJf-CeVJc0hDGD9AQ2LkcXDC0PMV9ntVw5Ho&m=63AR5zmRQCx5v-MXloqnarJvGvjLXVVnJsui6XMOMoE&s=bDVDenH2BOpYeVaU504vQiL0lqdBlELIy_wWpX44Juw&e=
>> 
>> I asked for this change to be put in 10 and 11 because I don't know the
>> minimum/recommended gcc version for jdk10 and 11. I'm assuming it's
>> the same as 9 until told otherwise.
>
> Building OpenJDK-10 or OpenJDK-11 requires OpenJDK-9, so you won't be 
able
> to build them in a fresh SLE-12:SP3 installation anyway.

I'm working on the assumption that people will grab binaries from
AdoptOpenJDK.

>
> SLE-11:* doesn't even have OpenJDK-8 and is also going to be out of 
support
> next year anyway.

Does this mean the gcc version will change? If you have hard information 
on
this, I'd appreciate the URL.

>
> I don't necessarily disagree bringing your changes into JDK-8 or JDK-9,
> but I don't think they make sense to introduce them to JDK-10 and 
JDK-11.
>
> Adrian

If the minimum gcc version for 10 or 11 is above 4.8.5 across all 
platforms,
then I agree, but I don't have that information, so I figured I'd ask to 
cover all of the JDK versions, to be safe. 

Even if the gcc version does change, adding 4.8.5-specific code shouldn't 
break anything.

What do you think?

Best Regards

Adam Farley

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


More information about the build-dev mailing list