glibc-2.10.1 compilation failure

Jacob Todd jaketodd422 at gmail.com
Mon Mar 1 14:43:53 PST 2010


I'm currently stuck on section 5.7.1 of the book. I've configured glibc
correctly afaik, and everything else has gone fine. After completing the
configure stage (I didn't change any of the configure options from what's 
listed in the book), I run `make' and get the following error in [1].

The CFLAGS, as well as the LDFLAGS I'm using are set in environment
variables, which are:

	CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
	LDFLAGS="-Wl,-O1 -Wl,--as-needed"

My current environment looks like this:

	LFS=/home/jake/lfs
	CFLAGS=-O2 -march=native -fomit-frame-pointer -pipe
	LDFLAGS=-Wl,-O1 -Wl,--as-needed
	LFS_TGT=i686-lfs-gnu
	prefix=/tools

Does anyone know what could be causing the error?

[1] see attachment

-- 
I am a man who does not exist for others.
-------------- next part --------------
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.10.1 objdir=`pwd` all
make[1]: Entering directory `/home/jake/lfs/sources/glibc-2.10.1'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/gnu sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic';		      \
	 for dir in sysdeps/i386/elf sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/gnu sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do				      \
	   case "$dir" in						      \
	   /*) ;;							      \
	   *) dir="\$(..)$dir" ;;					      \
	   esac;							      \
	   asm='.S .s';							      \
	   						      \
	   for o in .o .os .op .og .ob .oS; do				      \
	     set % % rtld-% % m_% s_%;			      \
	     while [ $# -ge 2 ]; do					      \
	       t=$1; shift; 						      \
	       d=$1; shift;						      \
	       v=${t%%%}; [ x"$v" = x ] || v="\$(${v}CPPFLAGS)";	      \
	       for s in $asm .c; do					      \
		 echo "\$(objpfx)$t$o: $dir/$d$s \$(before-compile)";  \
		 echo "	\$(compile-command$s) $v";			      \
	       done;							      \
	     done;							      \
	   done;							      \
	   echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force)";	      \
	   echo "	\$(do-install)"; 				      \
	 done;								      \
	 echo 'sysd-rules-done = t') > /home/jake/lfs/sources/glibc-build/sysd-rulesT
mv -f /home/jake/lfs/sources/glibc-build/sysd-rulesT /home/jake/lfs/sources/glibc-build/sysd-rules
gawk -f scripts/gen-sorted.awk \
	       -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug  dlfcn elf' \
	       -v srcpfx='' \
	       assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /home/jake/lfs/sources/glibc-build/sysd-sorted-tmp
mv -f /home/jake/lfs/sources/glibc-build/sysd-sorted-tmp /home/jake/lfs/sources/glibc-build/sysd-sorted
make[1]: Leaving directory `/home/jake/lfs/sources/glibc-2.10.1'
make[1]: Entering directory `/home/jake/lfs/sources/glibc-2.10.1'
{ echo '#include "posix/bits/posix1_lim.h"';		\
	  echo '#define _LIBC 1';					\
	  echo '#include "misc/sys/uio.h"'; } |			\
	i686-lfs-gnu-gcc -E -dM -MD -MP -MF /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dT -MT '/home/jake/lfs/sources/glibc-build/bits/stdio_lim.h /home/jake/lfs/sources/glibc-build/bits/stdio_lim.d' 	\
	      -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include -xc - -o /home/jake/lfs/sources/glibc-build/bits/stdio_lim.hT
sed -e 's@ /home/jake/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/home/jake/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^ 	\/$][^ 	\]*\)@ $(..)\1 at g' -e 's@^\([^ 	\/$][^ 	\]*\)@$(..)\1 at g'			\
	    /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dT > /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dt
mv -f /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dt /home/jake/lfs/sources/glibc-build/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /home/jake/lfs/sources/glibc-build/bits/stdio_lim.hT`; 	\
	filename_max=`sed -n 's/^#define PATH_MAX //1p' /home/jake/lfs/sources/glibc-build/bits/stdio_lim.hT`;	\
	iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /home/jake/lfs/sources/glibc-build/bits/stdio_lim.hT`;	\
	fopen_max=${fopen_max:-16};					\
	filename_max=${filename_max:-1024};				\
	if [ -z "$iov_max" ]; then					\
	  define_iov_max="# undef IOV_MAX";				\
	else								\
	  define_iov_max="# define IOV_MAX $iov_max";			\
	fi;								\
	sed -e "s/@FOPEN_MAX@/$fopen_max/"				\
	    -e "s/@FILENAME_MAX@/$filename_max/"			\
	    -e "s/@L_tmpnam@/1/"				\
	    -e "s/@TMP_MAX@/0/"				\
	    -e "s/@L_ctermid@/1/"				\
	    -e "s/@L_cuserid@/1/"				\
	    -e "s/@define_IOV_MAX@/$define_iov_max/"			\
	    stdio-common/stdio_lim.h.in > /home/jake/lfs/sources/glibc-build/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /home/jake/lfs/sources/glibc-build/bits/stdio_lim.h.new /home/jake/lfs/sources/glibc-build/bits/stdio_lim.h
rm -f /home/jake/lfs/sources/glibc-build/bits/stdio_lim.hT /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dT /home/jake/lfs/sources/glibc-build/bits/stdio_lim.dt
touch /home/jake/lfs/sources/glibc-build/bits/stdio_lim.st
sed '/^[ 	]*%/!s/#.*$//;/^[ 	]*$/d;s/^[ 	]*%/#/' \
	    shlib-versions \
	| i686-lfs-gnu-gcc -E -undef  -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include include/libc-symbols.h       -x assembler-with-cpp - \
		   > /home/jake/lfs/sources/glibc-build/shlib-versions.v.iT
mv -f /home/jake/lfs/sources/glibc-build/shlib-versions.v.iT /home/jake/lfs/sources/glibc-build/shlib-versions.v.i
sed '/^[ 	]*#/d;/^[ 	]*$/d' /home/jake/lfs/sources/glibc-build/shlib-versions.v.i > /home/jake/lfs/sources/glibc-build/shlib-versions.vT
mv -f /home/jake/lfs/sources/glibc-build/shlib-versions.vT /home/jake/lfs/sources/glibc-build/shlib-versions.v
gawk -v default_setname='' \
	       -v cpu='i686' \
	       -v vendor='lfs' \
	       -v os='gnu-gnu' \
	       -f scripts/soversions.awk /home/jake/lfs/sources/glibc-build/shlib-versions.v > /home/jake/lfs/sources/glibc-build/soversions.iT
mv -f /home/jake/lfs/sources/glibc-build/soversions.iT /home/jake/lfs/sources/glibc-build/soversions.i
sed '/^[ 	]*%/!s/#.*$//;/^[ 	]*$/d;s/^[ 	]*%/#/' \
	    Versions.def \
	| i686-lfs-gnu-gcc -E -undef  -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include include/libc-symbols.h       -x assembler-with-cpp - \
		   > /home/jake/lfs/sources/glibc-build/Versions.def.v.iT
mv -f /home/jake/lfs/sources/glibc-build/Versions.def.v.iT /home/jake/lfs/sources/glibc-build/Versions.def.v.i
sed '/^[ 	]*#/d;/^[ 	]*$/d' /home/jake/lfs/sources/glibc-build/Versions.def.v.i > /home/jake/lfs/sources/glibc-build/Versions.def.vT
mv -f /home/jake/lfs/sources/glibc-build/Versions.def.vT /home/jake/lfs/sources/glibc-build/Versions.def.v
{ while read which lib version setname; do \
	    test x"$which" = xDEFAULT || continue; \
	    test -z "$setname" || echo "$lib : $setname"; \
	  done < /home/jake/lfs/sources/glibc-build/soversions.i; \
	  cat /home/jake/lfs/sources/glibc-build/Versions.def.v; \
	} | LC_ALL=C gawk -f scripts/firstversions.awk > /home/jake/lfs/sources/glibc-build/Versions.allT
mv -f /home/jake/lfs/sources/glibc-build/Versions.allT /home/jake/lfs/sources/glibc-build/Versions.all
LC_ALL=C gawk -v oldest_abi=default -f scripts/abi-versions.awk /home/jake/lfs/sources/glibc-build/Versions.all > /home/jake/lfs/sources/glibc-build/abi-versions.hT
mv -f /home/jake/lfs/sources/glibc-build/abi-versions.hT /home/jake/lfs/sources/glibc-build/abi-versions.h
rm -f /home/jake/lfs/sources/glibc-build/tls.makeT /home/jake/lfs/sources/glibc-build/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
	 i686-lfs-gnu-gcc -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=native -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2     -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include include/libc-symbols.h       -E -DASSEMBLER tls.make.c \
	       -MD -MP -MT '$(common-objpfx)tls.make' -MF /home/jake/lfs/sources/glibc-build/tls.make.dT \
	 | sed -n '/@@@/{s/@@@[	 ]*\(.*\)@@@/\1/;s/[	 ]*$//p;}'; \
	 echo 'common-generated += tls.make'; \
	 sed -e 's@ /home/jake/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/home/jake/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^ 	\/$][^ 	\]*\)@ $(..)\1 at g' -e 's@^\([^ 	\/$][^ 	\]*\)@$(..)\1 at g' /home/jake/lfs/sources/glibc-build/tls.make.dT; \
	 rm -f /home/jake/lfs/sources/glibc-build/tls.make.dT) > /home/jake/lfs/sources/glibc-build/tls.makeT
mv -f /home/jake/lfs/sources/glibc-build/tls.makeT /home/jake/lfs/sources/glibc-build/tls.make
sed '/^[ 	]*%/!s/#.*$//;/^[ 	]*$/d;s/^[ 	]*%/#/' \
	    csu/Versions iconv/Versions locale/Versions assert/Versions ctype/Versions intl/Versions catgets/Versions math/Versions setjmp/Versions signal/Versions stdlib/Versions stdio-common/Versions libio/Versions dlfcn/Versions malloc/Versions string/Versions wcsmbs/Versions time/Versions dirent/Versions grp/Versions pwd/Versions posix/Versions io/Versions termios/Versions resource/Versions misc/Versions socket/Versions sysvipc/Versions gmon/Versions wctype/Versions shadow/Versions gshadow/Versions argp/Versions crypt/Versions nss/Versions rt/Versions debug/Versions elf/Versions sysdeps/i386/elf/Versions sysdeps/i386/i486/Versions sysdeps/i386/fpu/Versions sysdeps/i386/Versions sysdeps/wordsize-32/Versions \
	| i686-lfs-gnu-gcc -E -undef  -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include include/libc-symbols.h       -x assembler-with-cpp - \
		   > /home/jake/lfs/sources/glibc-build/Versions.v.iT
mv -f /home/jake/lfs/sources/glibc-build/Versions.v.iT /home/jake/lfs/sources/glibc-build/Versions.v.i
sed '/^[ 	]*#/d;/^[ 	]*$/d' /home/jake/lfs/sources/glibc-build/Versions.v.i > /home/jake/lfs/sources/glibc-build/Versions.vT
mv -f /home/jake/lfs/sources/glibc-build/Versions.vT /home/jake/lfs/sources/glibc-build/Versions.v
( echo 'sysd-versions-subdirs = csu iconv locale localedata iconvdata assert ctype intl catgets math setjmp signal stdlib stdio-common libio dlfcn malloc string wcsmbs timezone time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib wctype manual shadow gshadow po argp crypt nss rt conform debug elf sysdeps/i386/elf sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/gnu sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' ; \
	  cat /home/jake/lfs/sources/glibc-build/Versions.v \
	  | LC_ALL=C gawk -v buildroot=/home/jake/lfs/sources/glibc-build/ -v defsfile=/home/jake/lfs/sources/glibc-build/Versions.all \
			    -v move_if_change='/bin/sh scripts/move-if-change' \
			    -f scripts/versions.awk; \
	) > /home/jake/lfs/sources/glibc-build/sysd-versionsT
mv -f /home/jake/lfs/sources/glibc-build/sysd-versionsT /home/jake/lfs/sources/glibc-build/sysd-versions
(seen_DEFAULT=0; seen_WORDSIZE32=0; seen_WORDSIZE64=0; \
	 while read which lib number setname; do \
	   eval seen_$which=1; \
	   test x"$which" != xABI || echo abi-name = "$lib"; \
	   test x"$which" = xDEFAULT || continue; \
	   case $number in \
	     [0-9]*) echo "$lib.so-version=.$number"; \
		     echo "all-sonames+=$lib=$lib.so\$($lib.so-version)";;\
	     *)	     echo "$lib.so-version=$number"; \
		     echo "all-sonames+=$lib=\$($lib.so-version)";;\
	   esac; \
	 done; \
	 case "$seen_DEFAULT$seen_WORDSIZE32$seen_WORDSIZE64" in \
	   100) echo biarch = no;; \
	   101) echo biarch = 32;; \
	   ?1?) echo biarch = 64;; \
	   *) echo >&2 BUG; exit 2;; \
	 esac; \
	 echo soversions.mk-done = t;) < /home/jake/lfs/sources/glibc-build/soversions.i > /home/jake/lfs/sources/glibc-build/soversions.mkT; exit 0
mv -f /home/jake/lfs/sources/glibc-build/soversions.mkT /home/jake/lfs/sources/glibc-build/soversions.mk
make[1]: Leaving directory `/home/jake/lfs/sources/glibc-2.10.1'
make[1]: Entering directory `/home/jake/lfs/sources/glibc-2.10.1'
LC_ALL=C gawk -f scripts/lib-names.awk /home/jake/lfs/sources/glibc-build/soversions.i > /home/jake/lfs/sources/glibc-build/gnu/lib-names.T
/bin/sh scripts/move-if-change /home/jake/lfs/sources/glibc-build/gnu/lib-names.T /home/jake/lfs/sources/glibc-build/gnu/lib-names.h
touch /home/jake/lfs/sources/glibc-build/gnu/lib-names.stmp
rm -f /home/jake/lfs/sources/glibc-build/tls.makeT /home/jake/lfs/sources/glibc-build/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
	 i686-lfs-gnu-gcc -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=native -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2     -Iinclude  -I/home/jake/lfs/sources/glibc-build -Isysdeps/i386/elf -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/gnu -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include include/libc-symbols.h       -E -DASSEMBLER tls.make.c \
	       -MD -MP -MT '$(common-objpfx)tls.make' -MF /home/jake/lfs/sources/glibc-build/tls.make.dT \
	 | sed -n '/@@@/{s/@@@[	 ]*\(.*\)@@@/\1/;s/[	 ]*$//p;}'; \
	 echo 'common-generated += tls.make'; \
	 sed -e 's@ /home/jake/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/home/jake/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@  *\([^ 	\/$][^ 	\]*\)@ $(..)\1 at g' -e 's@^\([^ 	\/$][^ 	\]*\)@$(..)\1 at g' /home/jake/lfs/sources/glibc-build/tls.make.dT; \
	 rm -f /home/jake/lfs/sources/glibc-build/tls.make.dT) > /home/jake/lfs/sources/glibc-build/tls.makeT
mv -f /home/jake/lfs/sources/glibc-build/tls.makeT /home/jake/lfs/sources/glibc-build/tls.make
make[1]: Leaving directory `/home/jake/lfs/sources/glibc-2.10.1'
make[1]: Entering directory `/home/jake/lfs/sources/glibc-2.10.1'
rm -f /home/jake/lfs/sources/glibc-build/stamp.o; > /home/jake/lfs/sources/glibc-build/stamp.o
rm -f /home/jake/lfs/sources/glibc-build/stamp.os; > /home/jake/lfs/sources/glibc-build/stamp.os
rm -f /home/jake/lfs/sources/glibc-build/stamp.oS; > /home/jake/lfs/sources/glibc-build/stamp.oS
make  subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory `/home/jake/lfs/sources/glibc-2.10.1/csu'
(case gnu-gnu in \
	   linux*) version=`(printf '%s\n%s\n' \
				    '#include <linux/version.h>' \
				    UTS_RELEASE \
			     | i686-lfs-gnu-gcc  -I../include -I/home/jake/lfs/sources/glibc-build/csu -I/home/jake/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/gnu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include ../include/libc-symbols.h       -DHAVE_INITFINI -E -P - -DNOT_IN_libc=1 | \
			     sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\
		   if [ -z "$version" ]; then \
		     if [ -r /proc/version ]; then \
		       version=`sed 's/.*Linux version \([^ ]*\) .*/>>\1<</' \
				< /proc/version`; \
		     else \
		       version=`uname -r`; \
		     fi; \
		   fi; \
		   os=`uname -s 2> /dev/null`; \
		   if [ -z "$os" ]; then \
		     os=Linux; \
		   fi; \
		   printf '"Compiled on a %s %s system on %s.\\n"\n' \
			  "$os" "$version" "`date +%Y-%m-%d`";; \
	   *) ;; \
	 esac; \
	 files="../crypt/Banner";				\
	 if test -n "$files"; then				\
	   printf '"Available extensions:\\n"\n';		\
	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/'		\
	       -e 's/^\(.*\)$/\"\1\\n\"/' $files;		\
	 fi) > /home/jake/lfs/sources/glibc-build/csu/version-info.hT
mv -f /home/jake/lfs/sources/glibc-build/csu/version-info.hT /home/jake/lfs/sources/glibc-build/csu/version-info.h
rm -f /home/jake/lfs/sources/glibc-build/csu/abi-tag.h.new
sed -e 's/#.*$//' -e '/^[	]*$/d' ../abi-tags | \
	while read conf tagos tagver; do \
	  test `expr 'i686-lfs-gnu-gnu' \
		     : "$conf"` != 0 || continue; \
	  ( echo "$tagos" | \
	    sed -e 's/[^0-9xXa-fA-F 	]//' \
		-e 's/^/#define __ABI_TAG_OS /'; \
	    echo "#ifndef __ABI_TAG_VERSION"; \
	    echo "$tagver" | \
	    sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \
	      -e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \
	    echo "#endif" ) > /home/jake/lfs/sources/glibc-build/csu/abi-tag.h.new; \
	done
if test -r /home/jake/lfs/sources/glibc-build/csu/abi-tag.h.new; then mv -f /home/jake/lfs/sources/glibc-build/csu/abi-tag.h.new /home/jake/lfs/sources/glibc-build/csu/abi-tag.h; \
	else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
gawk -f ../scripts/gen-as-const.awk ../sysdeps/i386/tlsdesc.sym \
	| i686-lfs-gnu-gcc -S -o /home/jake/lfs/sources/glibc-build/tlsdesc.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=native -pipe -Wstrict-prototypes -mpreferred-stack-boundary=4     -I../include -I/home/jake/lfs/sources/glibc-build/csu -I/home/jake/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/gnu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include -isystem /home/jake/lfs/tools/bin/../lib/gcc/i686-lfs-gnu/4.4.1/include-fixed -isystem /tools/include  -include ../include/libc-symbols.h       -DHAVE_INITFINI -x c - \
		-MD -MP -MF /home/jake/lfs/sources/glibc-build/tlsdesc.h.dT -MT '/home/jake/lfs/sources/glibc-build/tlsdesc.h.d /home/jake/lfs/sources/glibc-build/tlsdesc.h'
<stdin>: In function 'dummy':
<stdin>:7: error: invalid use of undefined type 'struct pthread'
make[2]: *** [/home/jake/lfs/sources/glibc-build/tlsdesc.h] Error 1
make[2]: Leaving directory `/home/jake/lfs/sources/glibc-2.10.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/jake/lfs/sources/glibc-2.10.1'
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100301/0cb8b948/attachment.sig>


More information about the lfs-support mailing list