[lfs-dev] glibc-2.25 compile error

Vladislav Dembskiy v.dembskiy at gmail.com
Thu Feb 23 07:02:53 PST 2017

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,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20170223/6745219f/attachment.html>

More information about the lfs-dev mailing list