This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Upstreaming the glibc Hurd port
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Samuel Thibault <samuel dot thibault at gnu dot org>
- 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 21:48:32 +0000
- Subject: Re: Upstreaming the glibc Hurd port
- References: <alpine.DEB.2.20.1801182304260.26137@digraph.polyomino.org.uk> <20180118235924.r4z4ppvj7xlvmmfp@var.youpi.perso.aquilenet.fr> <alpine.DEB.2.20.1801190030000.26137@digraph.polyomino.org.uk> <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>
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 (in which case we don't add initializations just to fix warnings,
but may used DIAG_*_NEEDS_COMMENT with appropriate explanations of what
warning appears and why it is bogus).
--
Joseph S. Myers
joseph@codesourcery.com