FYI s390x: 'current.ctime.tv_nsec' may be used uninitialized in this function

Stefan Liebler stli@linux.ibm.com
Mon Feb 17 07:39:00 GMT 2020


On 2/15/20 12:52 PM, Florian Weimer wrote:
> * Carlos O'Donell:
> 
>> Florian,
>>
>> Patsy was doing  a Fedora Rawhide sync with glibc master and noticed the
>> testsuite has stopped building in this week's sync on s390x.
>>
>> I haven't looked into this but I thought I should drop this update to the
>> list if anyone else ran into this. I expect we need to fix something here
>> to avoid the compiler's -Werror=maybe-uninitialized.
> 
> I believe the “fix” is to move the implementation into a separate .c
> file.
> 
> Thanks,
> Florian
> 

Hi,

I also have not looked at it. But I've also seen this on x86_64 where 
I've build with -O3 (don't know if it also occures with -O2). The distro 
was a Fedora 30.

Bye,
Stefan



More information about the Libc-alpha mailing list