[lfs-dev] glibc-2.25 compile error

Vladislav Dembskiy v.dembskiy at gmail.com
Thu Feb 23 21:55:06 PST 2017

Thanks to all who replying.
I did repeated glibc compilation in chapter 6 on live LFS/BLFS system. It was just a try because earlier I have added icl 16.1 and recompiled gcc add binutils. Yes, I am mad about optimisations.
Nevertheless, glib compilation was successful and just one test failed: gtmath as far as I remember.


> 23 февр. 2017 г., в 18:02, Vladislav Dembskiy <v.dembskiy at gmail.com> написал(а):
> 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

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

More information about the lfs-dev mailing list