LFS Glibc gets stuck in infinite loop while compiling
I am currently building the Glibc part of Linux From Scratch. When I am making it, it gets stuck in an infinite loop producing the following output over and over. I am not sure what is causing it. I have destroyed my glibc-build and glibc-2.14.1 directories and restarted the process twice, only to get stuck at the same spot every single time. Here is the build process after untarballing the package and calling its directory: Code:
patch -Np1 -i ../glibc-2.14.1-gcc_fix-1.patch patch -Np1 -i ../glibc-2.14.1-cpuid-1.patch mkdir -v ../glibc-build cd ../glibc-build case `uname -m` in i?86) echo "CLFAGS += -march=i486 -mtune=native" > configparms ;; esac ./glibc-2.14.1/configure --prefix=/tools \ --host=$LFS_TGT --build=$(../glibc-2.14.1/scripts/config.guess) \ --disable-profile --enable-add-ons \ --enable-kernel=2.6.25 --with-headers=/tools/include \ libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes make -j2 make install -j2 The make step gets stuck in an infinite loop producing the following output (I know it is a lot, but am not sure which part is relevant): Code:
make[2]: Warning: File `/tools/include/linux/limits.h' has modification time 24550 s in the future make[2]: Circular /mnt/lfs/sources/gcc-build/tcb-offsets.h <- /mnt/lfs/sources/gcc-build/tcb-offsets.h dependency dropped. make[2]: Circular /mnt/lfs/sources/gcc-build/tcb-offsets.h <- /mnt/lfs/sources/gcc-build/tcb-offsets.h dependency dropped. gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/x86_64/tcb-offsets.sym \ | x86_64-lfs-linux-gnu-gcc -S -o /mnt/lfs/sources/gcc-build/tcb-offsets.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/mnt/lfs/sources/gcc-build/csu -I/mnt/lfs/sources/gcc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ./include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /mnt/lfs/sources/gcc-build/tcb-offsets.h.dT -MT '/mnt/lfs/sources/gcc-build/tcb-offsets.h.d /mnt/lfs/sources/gcc-build/tcb-offsets.h' sed -n 's/^.*(lots of at symbols and text it would not let me post) \1 \2/p' \ /mnt/lfs/sources/gcc-build/tcb-offsets.hT3 > /mnt/lfs/sources/gcc-build/tcb-offsets.hT rm -f /mnt/lfs/sources/gcc-build/tcb-offsets.hT3 sed (at symbols) \ /mnt/lfs/sources/gcc-build/tcb-offsets.h.dT > /mnt/lfs/sources/gcc-build/tcb-offsets.h.dT2 rm -f /mnt/lfs/sources/gcc-build/tcb-offsets.h.dT mv -f /mnt/lfs/sources/gcc-build/tcb-offsets.h.dT2 /mnt/lfs/sources/gcc-build/tcb-offsets.h.d mv -f /mnt/lfs/sources/gcc-build/tcb-offsets.hT /mnt/lfs/sources/gcc-build/tcb-offsets.h gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/tlsdesc.sym \ | x86_64-lfs-linux-gnu-gcc -S -o /mnt/lfs/sources/gcc-build/tlsdesc.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/mnt/lfs/sources/gcc-build/csu -I/mnt/lfs/sources/gcc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ./include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /mnt/lfs/sources/gcc-build/tlsdesc.h.dT -MT '/mnt/lfs/sources/gcc-build/tlsdesc.h.d /mnt/lfs/sources/gcc-build/tlsdesc.h' sed (at symbols) \1 \2/p' \ /mnt/lfs/sources/gcc-build/tlsdesc.hT3 > /mnt/lfs/sources/gcc-build/tlsdesc.hT rm -f /mnt/lfs/sources/gcc-build/tlsdesc.hT3 sed (at symbols) \ /mnt/lfs/sources/gcc-build/tlsdesc.h.dT > /mnt/lfs/sources/gcc-build/tlsdesc.h.dT2 rm -f /mnt/lfs/sources/gcc-build/tlsdesc.h.dT mv -f /mnt/lfs/sources/gcc-build/tlsdesc.h.dT2 /mnt/lfs/sources/gcc-build/tlsdesc.h.d mv -f /mnt/lfs/sources/gcc-build/tlsdesc.hT /mnt/lfs/sources/gcc-build/tlsdesc.h gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/link-defines.sym \ | x86_64-lfs-linux-gnu-gcc -S -o /mnt/lfs/sources/gcc-build/link-defines.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/mnt/lfs/sources/gcc-build/csu -I/mnt/lfs/sources/gcc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ./include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /mnt/lfs/sources/gcc-build/link-defines.h.dT -MT '/mnt/lfs/sources/gcc-build/link-defines.h.d /mnt/lfs/sources/gcc-build/link-defines.h' sed (at symbols) \1 \2/p' \ /mnt/lfs/sources/gcc-build/link-defines.hT3 > /mnt/lfs/sources/gcc-build/link-defines.hT rm -f /mnt/lfs/sources/gcc-build/link-defines.hT3 sed (at symbols) /mnt/lfs/sources/gcc-build/link-defines.h.dT > /mnt/lfs/sources/gcc-build/link-defines.h.dT2 rm -f /mnt/lfs/sources/gcc-build/link-defines.h.dT mv -f /mnt/lfs/sources/gcc-build/link-defines.h.dT2 /mnt/lfs/sources/gcc-build/link-defines.h.d mv -f /mnt/lfs/sources/gcc-build/link-defines.hT /mnt/lfs/sources/gcc-build/link-defines.h gawk -f ../scripts/gen-as-const.awk ./sysdeps/x86_64/multiarch/ifunc-defines.sym \ | x86_64-lfs-linux-gnu-gcc -S -o /mnt/lfs/sources/gcc-build/ifunc-defines.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/mnt/lfs/sources/gcc-build/csu -I/mnt/lfs/sources/gcc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ./include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /mnt/lfs/sources/gcc-build/ifunc-defines.h.dT -MT '/mnt/lfs/sources/gcc-build/ifunc-defines.h.d /mnt/lfs/sources/gcc-build/ifunc-defines.h' sed (at symbols) \1 \2/p' \ /mnt/lfs/sources/gcc-build/ifunc-defines.hT3 > /mnt/lfs/sources/gcc-build/ifunc-defines.hT rm -f /mnt/lfs/sources/gcc-build/ifunc-defines.hT3 sed (at symbols) \ /mnt/lfs/sources/gcc-build/ifunc-defines.h.dT > /mnt/lfs/sources/gcc-build/ifunc-defines.h.dT2 rm -f /mnt/lfs/sources/gcc-build/ifunc-defines.h.dT mv -f /mnt/lfs/sources/gcc-build/ifunc-defines.h.dT2 /mnt/lfs/sources/gcc-build/ifunc-defines.h.d mv -f /mnt/lfs/sources/gcc-build/ifunc-defines.hT /mnt/lfs/sources/gcc-build/ifunc-defines.h gawk -f ../scripts/gen-as-const.awk ./sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym \ | x86_64-lfs-linux-gnu-gcc -S -o /mnt/lfs/sources/gcc-build/ucontext_i.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/mnt/lfs/sources/gcc-build/csu -I/mnt/lfs/sources/gcc-build -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64/multiarch -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include -isystem /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include ./include/libc-symbols.h -DHAVE_INITFINI -x c - \ -MD -MP -MF /mnt/lfs/sources/gcc-build/ucontext_i.h.dT -MT '/mnt/lfs/sources/gcc-build/ucontext_i.h.d /mnt/lfs/sources/gcc-build/ucontext_i.h' sed (at symbols) \1 \2/p' \ /mnt/lfs/sources/gcc-build/ucontext_i.hT3 > /mnt/lfs/sources/gcc-build/ucontext_i.hT rm -f /mnt/lfs/sources/gcc-build/ucontext_i.hT3 sed (at symbols) \ /mnt/lfs/sources/gcc-build/ucontext_i.h.dT > /mnt/lfs/sources/gcc-build/ucontext_i.h.dT2 rm -f /mnt/lfs/sources/gcc-build/ucontext_i.h.dT mv -f /mnt/lfs/sources/gcc-build/ucontext_i.h.dT2 /mnt/lfs/sources/gcc-build/ucontext_i.h.d mv -f /mnt/lfs/sources/gcc-build/ucontext_i.hT /mnt/lfs/sources/gcc-build/ucontext_i.h make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/csu' make[2]: Entering directory `/mnt/lfs/sources/glibc-2.14.1/csu' |
No comments:
Post a Comment