RFR: 8179887 - Build failure with glibc >= 2.24: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated

Kim Barrett kim.barrett at oracle.com
Thu May 3 19:43:57 UTC 2018


> On May 3, 2018, at 1:52 PM, B. Blaser <bsrbnd at gmail.com> wrote:
> 
> Hi,
> 
> On 2 May 2018 at 22:40, Kim Barrett <kim.barrett at oracle.com> wrote:
>>> On May 2, 2018, at 5:10 AM, Michal Vala <mvala at redhat.com> wrote:
>>> 
>>> 
>>> 
>>> On 05/01/2018 07:59 PM, Kim Barrett wrote:
>>>>> On Apr 27, 2018, at 4:26 PM, Michal Vala <mvala at redhat.com> wrote:
>>>>> Someone to sponsor this please?
>>>> Do you have a sponsor yet?  If not, I’ll do it.
>>> 
>>> No, I don't. I'd really appreciate if you sponsor it.
>> 
>> Will do.  I should be able to take care of it in the next day or so.
>> 
> 
> I've noted some similar issues at several other places which makes the
> JDK build fail on Linux with glibc = 2.26, see comments here:
> https://bugs.openjdk.java.net/browse/JDK-8202353
> 
> Here is a patch for that, does this look reasonable (tier1 seems OK)?

I think we should move in the direction of eliminating the use of readdir_r entirely,
either under JDK-8202353, or leave that as only the HotSpot part and have another
RFE for the uses in java.base/unix/native.




More information about the build-dev mailing list