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 18:08:47 +0200
- Subject: Re: Upstreaming the glibc Hurd port
- References: <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>
Joseph Myers, on mar. 03 avril 2018 15:45:13 +0000, wrote:
> On Mon, 2 Apr 2018, Samuel Thibault wrote:
>
> > This means that build-glibcs i686-gnu now builds fine. Among the
> > remaining TODOs, there are
>
> If you use mainline GCC, however, it fails:
>
> ../sysdeps/mach/hurd/if_index.c: In function '__if_nametoindex':
> ../sysdeps/mach/hurd/if_index.c:40:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
> strncpy (ifr.ifr_name, ifname, IFNAMSIZ);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oh, a real bug indeed :)
Samuel