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

Reply via email to