[lfs-dev] glibc-2.25 compile error

Anthony Jagers noonetinone at gmail.com
Thu Feb 23 07:55:41 PST 2017


Is this in chapter 5 or 6?

On Thu, Feb 23, 2017 at 10:02 AM, Vladislav Dembskiy <v.dembskiy at gmail.com>
wrote:

> Dear colleagues,
>
> I decided to rebuild glib-2.25 according to current development version of
> LFS Book systemd using kernel headers 4.9.11
> I have got the following error during compilation:
>
> /sources/glibc-2.25/build/posix/sched_cpucount.o.dt -MT
> /sources/glibc-2.25/build/posix/sched_cpucount.o
> In file included from *regex.c:67:0*:
> *regexec.c:* In function ‘*check_node_accept_bytes*’:
> *regexec.c:3856:29:* *error: *‘*extra*’ may be used uninitialized in this
> function [*-Werror=maybe-uninitialized*]
>         const unsigned char **coll_sym* = extra + cset->coll_syms[i];
>                              *^~~~~~~~*
>
> I have to add *—disable-werror option *to continue compilation. The only
> deviation from the book only I use *—enable-kernel=4.9.6  *because my
> host Gentoo use this kernel.
>
> Kind regards,
>
> Vladislav
>
>
>
>
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20170223/3fd9855d/attachment.html>


More information about the lfs-dev mailing list