This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 2/17/20 12:30 PM, Florian Weimer wrote:
* Stefan Liebler:

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.

I posted a patch which should fix this, but I don't know for sure:

   <https://www.sourceware.org/ml/libc-alpha/2020-02/msg00744.html>

Maybe you could give it a try and review it?
Sure. Here is my reply:
https://www.sourceware.org/ml/libc-alpha/2020-02/msg00778.html

Thanks,
Florian



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]