This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Build loop
- From: Fabiano Sidler <fabianosidler at swissonline dot ch>
- To: libc-help at sourceware dot org
- Date: Tue, 20 Nov 2018 20:00:10 +0100
- Subject: Build loop
Hi folks!
I'm trying to build libc on an arcane embedded system and it is stuck in an
weird kind of loop. After entering the nptl subdir, the following lines
repeat apparently endless:
=== snip ===
make[4]: Entering directory '/home/luser/src/glibc-2.23/nptl'
/bin/install -c -m 644 ../include/limits.h /usr/local/include/limits.h
gawk -f ../scripts/gen-as-const.awk pthread-pi-defines.sym \
| gcc -S -o /home/luser/src/glibc/pthread-pi-defines.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/luser/src/glibc/nptl -I/home/luser/src/glibc -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/luser/src/glibc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -x c - \
-MD -MP -MF /home/luser/src/glibc/pthread-pi-defines.h.dT -MT '/home/luser/src/glibc/pthread-pi-defines.h.d /home/luser/src/glibc/pthread-pi-defines.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
/home/luser/src/glibc/pthread-pi-defines.hT3 > /home/luser/src/glibc/pthread-pi-defines.hT
rm -f /home/luser/src/glibc/pthread-pi-defines.hT3
sed -e 's@ /home/luser/src/glibc/@ $(common-objpfx)@g' -e 's@^/home/luser/src/glibc/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ \]*\)@$(..)\1@g' \
/home/luser/src/glibc/pthread-pi-defines.h.dT > /home/luser/src/glibc/pthread-pi-defines.h.dT2
rm -f /home/luser/src/glibc/pthread-pi-defines.h.dT
mv -f /home/luser/src/glibc/pthread-pi-defines.h.dT2 /home/luser/src/glibc/pthread-pi-defines.h.d
mv -f /home/luser/src/glibc/pthread-pi-defines.hT /home/luser/src/glibc/pthread-pi-defines.h
gawk -f ../scripts/gen-as-const.awk lowlevelrobustlock.sym \
| gcc -S -o /home/luser/src/glibc/lowlevelrobustlock.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/luser/src/glibc/nptl -I/home/luser/src/glibc -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/luser/src/glibc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -x c - \
-MD -MP -MF /home/luser/src/glibc/lowlevelrobustlock.h.dT -MT '/home/luser/src/glibc/lowlevelrobustlock.h.d /home/luser/src/glibc/lowlevelrobustlock.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
/home/luser/src/glibc/lowlevelrobustlock.hT3 > /home/luser/src/glibc/lowlevelrobustlock.hT
rm -f /home/luser/src/glibc/lowlevelrobustlock.hT3
sed -e 's@ /home/luser/src/glibc/@ $(common-objpfx)@g' -e 's@^/home/luser/src/glibc/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ \]*\)@$(..)\1@g' \
/home/luser/src/glibc/lowlevelrobustlock.h.dT > /home/luser/src/glibc/lowlevelrobustlock.h.dT2
rm -f /home/luser/src/glibc/lowlevelrobustlock.h.dT
mv -f /home/luser/src/glibc/lowlevelrobustlock.h.dT2 /home/luser/src/glibc/lowlevelrobustlock.h.d
mv -f /home/luser/src/glibc/lowlevelrobustlock.hT /home/luser/src/glibc/lowlevelrobustlock.h
gawk -f ../scripts/gen-as-const.awk lowlevelcond.sym \
| gcc -S -o /home/luser/src/glibc/lowlevelcond.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/luser/src/glibc/nptl -I/home/luser/src/glibc -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/luser/src/glibc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -x c - \
-MD -MP -MF /home/luser/src/glibc/lowlevelcond.h.dT -MT '/home/luser/src/glibc/lowlevelcond.h.d /home/luser/src/glibc/lowlevelcond.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
/home/luser/src/glibc/lowlevelcond.hT3 > /home/luser/src/glibc/lowlevelcond.hT
rm -f /home/luser/src/glibc/lowlevelcond.hT3
sed -e 's@ /home/luser/src/glibc/@ $(common-objpfx)@g' -e 's@^/home/luser/src/glibc/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ \]*\)@$(..)\1@g' \
/home/luser/src/glibc/lowlevelcond.h.dT > /home/luser/src/glibc/lowlevelcond.h.dT2
rm -f /home/luser/src/glibc/lowlevelcond.h.dT
mv -f /home/luser/src/glibc/lowlevelcond.h.dT2 /home/luser/src/glibc/lowlevelcond.h.d
mv -f /home/luser/src/glibc/lowlevelcond.hT /home/luser/src/glibc/lowlevelcond.h
gawk -f ../scripts/gen-as-const.awk pthread-errnos.sym \
| gcc -S -o /home/luser/src/glibc/pthread-errnos.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/luser/src/glibc/nptl -I/home/luser/src/glibc -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/luser/src/glibc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -x c - \
-MD -MP -MF /home/luser/src/glibc/pthread-errnos.h.dT -MT '/home/luser/src/glibc/pthread-errnos.h.d /home/luser/src/glibc/pthread-errnos.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
/home/luser/src/glibc/pthread-errnos.hT3 > /home/luser/src/glibc/pthread-errnos.hT
rm -f /home/luser/src/glibc/pthread-errnos.hT3
sed -e 's@ /home/luser/src/glibc/@ $(common-objpfx)@g' -e 's@^/home/luser/src/glibc/@$(common-objpfx)@g' -e 's@ *\.\.\/\([^ \]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ \]*\)@$(..)\1@g' \
/home/luser/src/glibc/pthread-errnos.h.dT > /home/luser/src/glibc/pthread-errnos.h.dT2
rm -f /home/luser/src/glibc/pthread-errnos.h.dT
mv -f /home/luser/src/glibc/pthread-errnos.h.dT2 /home/luser/src/glibc/pthread-errnos.h.d
mv -f /home/luser/src/glibc/pthread-errnos.hT /home/luser/src/glibc/pthread-errnos.h
=== snap ===
Any hints?
Greetings,
Fabiano