This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Upstreaming the glibc Hurd port
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Florian Weimer <fweimer at redhat dot com>, Thomas Schwinge <thomas at codesourcery dot com>, GNU C Library <libc-alpha at sourceware dot org>, bug-hurd at gnu dot org, David Michael <fedora dot dm0 at gmail dot com>
- Date: Tue, 3 Apr 2018 23:58:44 +0200
- Subject: Re: Upstreaming the glibc Hurd port
- References: <87a7xaupjx.fsf@euler.schwinge.homeip.net> <alpine.DEB.2.20.1801191721480.329@digraph.polyomino.org.uk> <20180124011051.5s2vugyq3ybnurwc@var.youpi.perso.aquilenet.fr> <20180124012726.tibylwp4re5dtgc3@var.youpi.perso.aquilenet.fr> <20180125014143.2hxhzon5lzxtqq6j@var.youpi.perso.aquilenet.fr> <alpine.DEB.2.20.1801251544550.22734@digraph.polyomino.org.uk> <20180319015122.j5tzslkdcnvampoh@var.youpi.perso.aquilenet.fr> <20180402001003.3u5n2p5pdmv4hos5@var.youpi.perso.aquilenet.fr> <alpine.DEB.2.20.1804031544350.27763@digraph.polyomino.org.uk> <alpine.DEB.2.20.1804032146390.10382@digraph.polyomino.org.uk>
Joseph Myers, on mar. 03 avril 2018 21:48:32 +0000, wrote:
> The build for i686-gnu also fails using GCC 6 branch with
> build-many-glibcs.py:
>
> hurdsig.c: In function 'interrupted_reply_port_location.isra.1':
> hurdsig.c:250:39: error: 'portloc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> *(volatile mach_port_t *) portloc = *portloc;
> ^~~~~~~~
>
> I haven't investigated whether this warning is valid, or whether it's
> bogus
Well, it's completely bogus: portloc is initialized just above. I don't
understand why it wouldn't see that.
Samuel