[PATCH] [RFC] y2038: nptl: Convert pthread_cond_{clock|timed}wait to support 64 bit time

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Aug 25 15:36:15 GMT 2020



On 25/08/2020 12:31, Adhemerval Zanella wrote:
> 
> 
> On 25/08/2020 12:26, Andreas Schwab wrote:
>> On Aug 25 2020, Adhemerval Zanella via Libc-alpha wrote:
>>
>>> On 25/08/2020 11:47, Andreas Schwab wrote:
>>>> On Aug 25 2020, Lukasz Majewski wrote:
>>>>
>>>>> When I put futex_abstimed_wait_cancelable64() as static __always_inline
>>>>> to futex-internals.h then the aforementioned problem on m68k emerge.
>>>>
>>>> But futex-helpers.c contains a single function.  There is nothing to
>>>> inline.
>>>>
>>>> Andreas.
>>>>
>>>
>>> in_time_t_range and valid_timespec64_to_timespec.
>>
>> But you don't want to uninline them.
> 
> Yes, that it seems exactly what is triggering gcc ICE.
> 

And my suggestion to try workaround this issue is to move 32-bit futex call to
its own function [1].

[1] https://sourceware.org/pipermail/libc-alpha/2020-August/117254.html


More information about the Libc-alpha mailing list