Bug 22281 - When building glibc 2.26 I stepped into an endless loop building "locale-defines.hT3".
Summary: When building glibc 2.26 I stepped into an endless loop building "locale-defi...
Status: RESOLVED INVALID
Alias: None
Product: glibc
Classification: Unclassified
Component: build (show other bugs)
Version: 2.26
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 09:53 UTC by Akhilesh Kumar
Modified: 2018-03-31 12:36 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akhilesh Kumar 2017-10-11 09:53:40 UTC
When building glibc 2.26 I stepped into an endless loop building "locale-defines.hT3".


gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/locale-defines.sym \
	| gcc -S -o /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3 -std=gnu11 -fgnu89-inline  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/home/akhilesh/malloc/glibc-2.26/build/string  -I/home/akhilesh/malloc/glibc-2.26/build  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -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/float128  -I../sysdeps/ieee754/ldbl-96/include -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. -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /home/akhilesh/malloc/glibc-2.26/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x c - \
		-MD -MP -MF /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT -MT '/home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.d /home/akhilesh/malloc/glibc-2.26/build/locale-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/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3 > /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT
rm -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3
sed -e 's@ /home/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT > /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT2
rm -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT
mv -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT2 /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.d
mv -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h
make[2]: Leaving directory `/home/akhilesh/malloc/glibc-2.26/string'
make[2]: Entering directory `/home/akhilesh/malloc/glibc-2.26/string'
/usr/bin/install -c -m 644 ../../include/linux/limits.h /tools/include/linux/limits.h
/usr/bin/install -c -m 644 ../../include/asm/prctl.h /tools/include/asm/prctl.h
/usr/bin/install -c -m 644 ../../include/asm/unistd.h /tools/include/asm/unistd.h
/usr/bin/install -c -m 644 ../../include/asm/unistd_64.h /tools/include/asm/unistd_64.h
/usr/bin/install -c -m 644 ../../include/linux/param.h /tools/include/linux/param.h
/usr/bin/install -c -m 644 ../../include/asm/param.h /tools/include/asm/param.h
/usr/bin/install -c -m 644 ../../include/asm-generic/param.h /tools/include/asm-generic/param.h
/usr/bin/install -c -m 644 ../../include/asm/socket.h /tools/include/asm/socket.h
/usr/bin/install -c -m 644 ../../include/asm-generic/socket.h /tools/include/asm-generic/socket.h
/usr/bin/install -c -m 644 ../../include/asm/sockios.h /tools/include/asm/sockios.h
/usr/bin/install -c -m 644 ../../include/asm-generic/sockios.h /tools/include/asm-generic/sockios.h
gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/locale-defines.sym \
	| gcc -S -o /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3 -std=gnu11 -fgnu89-inline  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/home/akhilesh/malloc/glibc-2.26/build/string  -I/home/akhilesh/malloc/glibc-2.26/build  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -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/float128  -I../sysdeps/ieee754/ldbl-96/include -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. -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /home/akhilesh/malloc/glibc-2.26/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x c - \
		-MD -MP -MF /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT -MT '/home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.d /home/akhilesh/malloc/glibc-2.26/build/locale-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/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3 > /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT
rm -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT3
sed -e 's@ /home/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT > /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT2
rm -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT
mv -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.dT2 /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h.d
mv -f /home/akhilesh/malloc/glibc-2.26/build/locale-defines.hT /home/akhilesh/malloc/glibc-2.26/build/locale-defines.h
make[2]: Leaving directory `/home/akhilesh/malloc/glibc-2.26/string'
make[2]: Entering directory `/home/akhilesh/malloc/glibc-2.26/string'
/usr/bin/install -c -m 644 ../../include/linux/limits.h /tools/include/linux/limits.h
/usr/bin/install -c -m 644 ../../include/asm/prctl.h /tools/include/asm/prctl.h
/usr/bin/install -c -m 644 ../../include/asm/unistd.h /tools/include/asm/unistd.h
/usr/bin/install -c -m 644 ../../include/asm/unistd_64.h /tools/include/asm/unistd_64.h
/usr/bin/install -c -m 644 ../../include/linux/param.h /tools/include/linux/param.h
/usr/bin/install -c -m 644 ../../include/asm/param.h /tools/include/asm/param.h
/usr/bin/install -c -m 644 ../../include/asm-generic/param.h /tools/include/asm-generic/param.h
/usr/bin/install -c -m 644 ../../include/asm/socket.h /tools/include/asm/socket.h
/usr/bin/install -c -m 644 ../../include/asm-generic/socket.h /tools/include/asm-generic/socket.h
/usr/bin/install -c -m 644 ../../include/asm/sockios.h /tools/include/asm/sockios.h
/usr/bin/install -c -m 644 ../../include/asm-generic/sockios.h /tools/include/asm-generic/sockios.h
gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/locale-defines.sym \





So this creates an endless loop.


My env 
akhilesh/malloc/glibc-2.26/build# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/6.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --enable-vtable-verify --disable-multilib
Thread model: posix
gcc version 6.2.0 (GCC)

glibc-2.26/build# vim config.log 

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ../configure --prefix=/tools --host= --build=x86_64-pc-linux-gnu --enable-kernel=4.8.0 --with-headers=/tools/include --without-selinux enable_obsolete_rpc --disable-profile sunrpc-support
Comment 1 Carlos O'Donell 2017-10-11 13:27:43 UTC
Akhilesh,

Are you building on NFS? This should just work, the locale-defines.sym is translated into a header, and make is deciding that the header is out of date, and rebuilds it, over and over again.

If you `touch $build/locale-defines.h` and then restart the build, does it continue?
Comment 2 Andreas Schwab 2017-10-11 14:04:23 UTC
You should run make all before make install.
Comment 3 Akhilesh Kumar 2017-10-13 08:52:27 UTC
(In reply to Carlos O'Donell from comment #1)
> Akhilesh,
> 
> Are you building on NFS? This should just work, the locale-defines.sym is

build glibc on remote server using SSH 

> translated into a header, and make is deciding that the header is out of
> date, and rebuilds it, over and over again.
> 
> If you `touch $build/locale-defines.h` and then restart the build, does it
> continue?

after touch again stepped again into an endless loop building at different point 


		-MD -MP -MF /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.dT -MT '/home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.d /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
		/home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.hT3 > /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.hT
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.hT3
sed -e 's@ /home/samsung/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/samsung/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.dT > /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.dT2
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.dT
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.dT2 /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h.d
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.hT /home/samsung/akhilesh/malloc/glibc-2.26/build/rtld-offsets.h
gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/tlsdesc.sym \
	| gcc -S -o /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.hT3 -std=gnu11 -fgnu89-inline  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/home/samsung/akhilesh/malloc/glibc-2.26/build/csu  -I/home/samsung/akhilesh/malloc/glibc-2.26/build  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -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/float128  -I../sysdeps/ieee754/ldbl-96/include -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. -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /home/samsung/akhilesh/malloc/glibc-2.26/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x c - \
		-MD -MP -MF /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.dT -MT '/home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.d /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
		/home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.hT3 > /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.hT
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.hT3
sed -e 's@ /home/samsung/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/samsung/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.dT > /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.dT2
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.dT
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.dT2 /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h.d
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.hT /home/samsung/akhilesh/malloc/glibc-2.26/build/tlsdesc.h
gawk -f ../scripts/gen-as-const.awk ../sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym \
	| gcc -S -o /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.hT3 -std=gnu11 -fgnu89-inline  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/home/samsung/akhilesh/malloc/glibc-2.26/build/csu  -I/home/samsung/akhilesh/malloc/glibc-2.26/build  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -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/float128  -I../sysdeps/ieee754/ldbl-96/include -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. -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /home/samsung/akhilesh/malloc/glibc-2.26/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x c - \
		-MD -MP -MF /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.dT -MT '/home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.d /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
		/home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.hT3 > /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.hT
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.hT3
sed -e 's@ /home/samsung/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/samsung/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.dT > /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.dT2
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.dT
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.dT2 /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h.d
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.hT /home/samsung/akhilesh/malloc/glibc-2.26/build/ucontext_i.h
make[2]: Leaving directory `/home/samsung/akhilesh/malloc/glibc-2.26/csu'
make[2]: Entering directory `/home/samsung/akhilesh/malloc/glibc-2.26/csu'
make[2]: Circular /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h <- /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h dependency dropped.
gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/nptl/tcb-offsets.sym \
	| gcc -S -o /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.hT3 -std=gnu11 -fgnu89-inline  -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/home/samsung/akhilesh/malloc/glibc-2.26/build/csu  -I/home/samsung/akhilesh/malloc/glibc-2.26/build  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -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/float128  -I../sysdeps/ieee754/ldbl-96/include -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. -nostdinc -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include -isystem /usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /home/samsung/akhilesh/malloc/glibc-2.26/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x c - \
		-MD -MP -MF /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.dT -MT '/home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.d /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h'
sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$/#define \1 \2/p' \
		/home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.hT3 > /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.hT
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.hT3
sed -e 's@ /home/samsung/akhilesh/malloc/glibc-2\.26/build/@ $(common-objpfx)@g' -e 's@^/home/samsung/akhilesh/malloc/glibc-2\.26/build/@$(common-objpfx)@g' -e 's@  *\.\.\/\([^ 	\]*\)@ $(..)\1@g' -e 's@^\.\.\/\([^ 	\]*\)@$(..)\1@g' \
	    /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.dT > /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.dT2
rm -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.dT
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.dT2 /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h.d
mv -f /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.hT /home/samsung/akhilesh/malloc/glibc-2.26/build/tcb-offsets.h
Comment 4 Akhilesh Kumar 2018-02-14 02:57:05 UTC
Request To mark this as INVALID. I am able to build glibc 2.26 on different Ubuntu machine(Ubuntu 4.8.2-19ubuntu1) could be Setup Issue Sorry For the noise
Comment 5 Carlos O'Donell 2018-02-14 17:03:48 UTC
Thanks, if you are able to reproduce it please update the issue or file another bug.