All pastes #2069220 Raw Edit

Miscellany

public text v1 · immutable
#2069220 ·published 2011-05-26 00:44 UTC
rendered paste body
mv -f /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.dt /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.hT`;         \
        filename_max=`sed -n 's/^#define PATH_MAX //1p' /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.hT`;      \
        iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /mnt/arm/0/toolchain/work/build-eglibc/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@/20/"                               \
            -e "s/@TMP_MAX@/238328/"                            \
            -e "s/@L_ctermid@/9/"                               \
            -e "s/@L_cuserid@/9/"                               \
            -e "s/@define_IOV_MAX@/$define_iov_max/"                    \
            stdio-common/stdio_lim.h.in > /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.h.new /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.h
rm -f /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.hT /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.dT /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.dt
touch /mnt/arm/0/toolchain/work/build-eglibc/bits/stdio_lim.st
/bin/sh scripts/gen-libc-abis \
                 arm-unknown-linux-gnueabihf \
                 < libc-abis > /mnt/arm/0/toolchain/work/build-eglibc/libc-abis.hT
/bin/sh scripts/move-if-change /mnt/arm/0/toolchain/work/build-eglibc/libc-abis.hT /mnt/arm/0/toolchain/work/build-eglibc/libc-abis.h
touch /mnt/arm/0/toolchain/work/build-eglibc/libc-abis.stamp
sed '/^[        ]*%/!s/#.*$//;/^[       ]*$/d;s/^[      ]*%/#/' \
            ports/sysdeps/arm/shlib-versions nptl/shlib-versions libidn/shlib-versions nptl_db/shlib-versions shlib-versions \
        | arm-unknown-linux-gnueabihf-gcc -E -undef  -Iinclude  -I/mnt/arm/0/toolchain/work/build-eglibc -Iports/sysdeps/arm/elf -Iports/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iports/sysdeps/unix/sysv/linux/arm/eabi -Iports/sysdeps/unix/sysv/linux/arm/nptl -Iports/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iports/sysdeps/unix/arm -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Iports/sysdeps/arm/eabi -Iports/sysdeps/arm/fpu -Iports/sysdeps/arm/nptl -Iports/sysdeps/arm -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -x assembler-with-cpp - \
                   > /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v.iT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v.iT /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v.i > /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.vT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.vT /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v
gawk -v default_setname='' \
               -v cpu='arm' \
               -v vendor='unknown' \
               -v os='linux-gnueabihf' \
               -f scripts/soversions.awk /mnt/arm/0/toolchain/work/build-eglibc/shlib-versions.v > /mnt/arm/0/toolchain/work/build-eglibc/soversions.iT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/soversions.iT /mnt/arm/0/toolchain/work/build-eglibc/soversions.i
sed '/^[        ]*%/!s/#.*$//;/^[       ]*$/d;s/^[      ]*%/#/' \
            Versions.def \
        | arm-unknown-linux-gnueabihf-gcc -E -undef  -Iinclude  -I/mnt/arm/0/toolchain/work/build-eglibc -Iports/sysdeps/arm/elf -Iports/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iports/sysdeps/unix/sysv/linux/arm/eabi -Iports/sysdeps/unix/sysv/linux/arm/nptl -Iports/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iports/sysdeps/unix/arm -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Iports/sysdeps/arm/eabi -Iports/sysdeps/arm/fpu -Iports/sysdeps/arm/nptl -Iports/sysdeps/arm -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -x assembler-with-cpp - \
                   > /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v.iT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v.iT /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v.i > /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.vT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.vT /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v
{ while read which lib version setname; do \
            test x"$which" = xDEFAULT || continue; \
            test -z "$setname" || echo "$lib : $setname"; \
          done < /mnt/arm/0/toolchain/work/build-eglibc/soversions.i; \
          cat /mnt/arm/0/toolchain/work/build-eglibc/Versions.def.v; \
        } | LC_ALL=C gawk -f scripts/firstversions.awk > /mnt/arm/0/toolchain/work/build-eglibc/Versions.allT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/Versions.allT /mnt/arm/0/toolchain/work/build-eglibc/Versions.all
LC_ALL=C gawk -v oldest_abi=default -f scripts/abi-versions.awk /mnt/arm/0/toolchain/work/build-eglibc/Versions.all > /mnt/arm/0/toolchain/work/build-eglibc/abi-versions.hT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/abi-versions.hT /mnt/arm/0/toolchain/work/build-eglibc/abi-versions.h
./scripts/mkinstalldirs /mnt/arm/0/toolchain/work/build-eglibc/gnu
mkdir /mnt/arm/0/toolchain/work/build-eglibc/gnu
LC_ALL=C gawk -f scripts/option-groups.awk option-groups.defaults > /mnt/arm/0/toolchain/work/build-eglibc/gnu/option-groups.T
/bin/sh scripts/move-if-change /mnt/arm/0/toolchain/work/build-eglibc/gnu/option-groups.T /mnt/arm/0/toolchain/work/build-eglibc/gnu/option-groups.h
touch /mnt/arm/0/toolchain/work/build-eglibc/gnu/option-groups.stmp
rm -f /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
         arm-unknown-linux-gnueabihf-gcc -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes      -Iinclude  -I/mnt/arm/0/toolchain/work/build-eglibc -Iports/sysdeps/arm/elf -Iports/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iports/sysdeps/unix/sysv/linux/arm/eabi -Iports/sysdeps/unix/sysv/linux/arm/nptl -Iports/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iports/sysdeps/unix/arm -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Iports/sysdeps/arm/eabi -Iports/sysdeps/arm/fpu -Iports/sysdeps/arm/nptl -Iports/sysdeps/arm -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -E -DASSEMBLER tls.make.c \
               -MD -MP -MT '$(common-objpfx)tls.make' -MF /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT \
         | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
         echo 'common-generated += tls.make'; \
         sed -e 's@ /mnt/arm/0/toolchain/work/build-eglibc/@ $(common-objpfx)@g' -e 's@^/mnt/arm/0/toolchain/work/build-eglibc/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^  \]*\)@$(..)\1@g' /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT; \
         rm -f /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT) > /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT /mnt/arm/0/toolchain/work/build-eglibc/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 nptl/Versions resolv/Versions nss/Versions rt/Versions debug/Versions libidn/Versions nptl_db/Versions inet/Versions hesiod/Versions sunrpc/Versions nis/Versions streams/Versions login/Versions elf/Versions ports/sysdeps/unix/sysv/linux/arm/nptl/Versions ports/sysdeps/unix/sysv/linux/arm/Versions nptl/sysdeps/unix/sysv/linux/Versions sysdeps/pthread/Versions sysdeps/unix/sysv/linux/Versions sysdeps/unix/sysv/Versions ports/sysdeps/arm/eabi/Versions sysdeps/wordsize-32/Versions \
        | arm-unknown-linux-gnueabihf-gcc -E -undef  -Iinclude  -I/mnt/arm/0/toolchain/work/build-eglibc -Iports/sysdeps/arm/elf -Iports/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iports/sysdeps/unix/sysv/linux/arm/eabi -Iports/sysdeps/unix/sysv/linux/arm/nptl -Iports/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iports/sysdeps/unix/arm -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Iports/sysdeps/arm/eabi -Iports/sysdeps/arm/fpu -Iports/sysdeps/arm/nptl -Iports/sysdeps/arm -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -x assembler-with-cpp - \
                   > /mnt/arm/0/toolchain/work/build-eglibc/Versions.v.iT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/Versions.v.iT /mnt/arm/0/toolchain/work/build-eglibc/Versions.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /mnt/arm/0/toolchain/work/build-eglibc/Versions.v.i > /mnt/arm/0/toolchain/work/build-eglibc/Versions.vT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/Versions.vT /mnt/arm/0/toolchain/work/build-eglibc/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 nptl resolv nss rt conform debug libidn nptl_db inet hesiod sunrpc nis nscd streams login elf ports/sysdeps/arm/elf ports/sysdeps/unix/sysv/linux/arm/eabi/nptl ports/sysdeps/unix/sysv/linux/arm/eabi ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/eabi ports/sysdeps/arm/fpu ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' ; \
          cat /mnt/arm/0/toolchain/work/build-eglibc/Versions.v \
          | LC_ALL=C gawk -v buildroot=/mnt/arm/0/toolchain/work/build-eglibc/ -v defsfile=/mnt/arm/0/toolchain/work/build-eglibc/Versions.all \
                            -v move_if_change='/bin/sh scripts/move-if-change' \
                            -v versioning=yes \
                            -f scripts/versions.awk; \
        ) > /mnt/arm/0/toolchain/work/build-eglibc/sysd-versionsT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/sysd-versionsT /mnt/arm/0/toolchain/work/build-eglibc/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;) < /mnt/arm/0/toolchain/work/build-eglibc/soversions.i > /mnt/arm/0/toolchain/work/build-eglibc/soversions.mkT; exit 0
mv -f /mnt/arm/0/toolchain/work/build-eglibc/soversions.mkT /mnt/arm/0/toolchain/work/build-eglibc/soversions.mk
make[2]: Leaving directory `/mnt/arm/0/toolchain/work/eglibc-2.13'
make[2]: Entering directory `/mnt/arm/0/toolchain/work/eglibc-2.13'
LC_ALL=C gawk -f scripts/lib-names.awk /mnt/arm/0/toolchain/work/build-eglibc/soversions.i > /mnt/arm/0/toolchain/work/build-eglibc/gnu/lib-names.T
/bin/sh scripts/move-if-change /mnt/arm/0/toolchain/work/build-eglibc/gnu/lib-names.T /mnt/arm/0/toolchain/work/build-eglibc/gnu/lib-names.h
touch /mnt/arm/0/toolchain/work/build-eglibc/gnu/lib-names.stmp
rm -f /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
         arm-unknown-linux-gnueabihf-gcc -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes      -Iinclude  -I/mnt/arm/0/toolchain/work/build-eglibc -Iports/sysdeps/arm/elf -Iports/sysdeps/unix/sysv/linux/arm/eabi/nptl -Iports/sysdeps/unix/sysv/linux/arm/eabi -Iports/sysdeps/unix/sysv/linux/arm/nptl -Iports/sysdeps/unix/sysv/linux/arm -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Iports/sysdeps/unix/arm -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Iports/sysdeps/arm/eabi -Iports/sysdeps/arm/fpu -Iports/sysdeps/arm/nptl -Iports/sysdeps/arm -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       -E -DASSEMBLER tls.make.c \
               -MD -MP -MT '$(common-objpfx)tls.make' -MF /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT \
         | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
         echo 'common-generated += tls.make'; \
         sed -e 's@ /mnt/arm/0/toolchain/work/build-eglibc/@ $(common-objpfx)@g' -e 's@^/mnt/arm/0/toolchain/work/build-eglibc/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^  \]*\)@$(..)\1@g' /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT; \
         rm -f /mnt/arm/0/toolchain/work/build-eglibc/tls.make.dT) > /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/tls.makeT /mnt/arm/0/toolchain/work/build-eglibc/tls.make
make[2]: Leaving directory `/mnt/arm/0/toolchain/work/eglibc-2.13'
make[2]: Entering directory `/mnt/arm/0/toolchain/work/eglibc-2.13'
rm -f /mnt/arm/0/toolchain/work/build-eglibc/stamp.o; > /mnt/arm/0/toolchain/work/build-eglibc/stamp.o
rm -f /mnt/arm/0/toolchain/work/build-eglibc/stamp.os; > /mnt/arm/0/toolchain/work/build-eglibc/stamp.os
rm -f /mnt/arm/0/toolchain/work/build-eglibc/stamp.oS; > /mnt/arm/0/toolchain/work/build-eglibc/stamp.oS
make  subdir=csu -C csu ..=../ subdir_lib
make[3]: Entering directory `/mnt/arm/0/toolchain/work/eglibc-2.13/csu'
.././scripts/mkinstalldirs /mnt/arm/0/toolchain/work/build-eglibc/csu
mkdir /mnt/arm/0/toolchain/work/build-eglibc/csu
(case linux-gnueabihf in \
           linux*) version=`(printf '%s\n%s\n' \
                                    '#include <linux/version.h>' \
                                    UTS_RELEASE \
                             | arm-unknown-linux-gnueabihf-gcc  -I../include -I/mnt/arm/0/toolchain/work/build-eglibc/csu -I/mnt/arm/0/toolchain/work/build-eglibc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -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../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -O -E -P - -DNOT_IN_libc=1 | \
                             sed -e 's/"\([^"]*\)".*/\1/p' -e d) 2>/dev/null`;\
                   if [ -z "$version" ]; then \
                     version=`(printf '%s\n%s\n' \
                                      '#include <linux/version.h>' \
                                       LINUX_VERSION_CODE \
                               | arm-unknown-linux-gnueabihf-gcc  -I../include -I/mnt/arm/0/toolchain/work/build-eglibc/csu -I/mnt/arm/0/toolchain/work/build-eglibc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -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../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -O -E -P - -DNOT_IN_libc=1 \
                               | sed -n -e '/^[123456789].*/p' \
                               | awk '{v=$1; \
                                       printf("%d.%d.%d\n", \
                                              v/65535, v/256%256, v%256)}') \
                                2>/dev/null`; \
                   fi; \
                   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 ../libidn/Banner ../nptl/Banner ../ports/Banner ../resolv/Banner";                              \
         if test -n "$files"; then                              \
           printf '"Available extensions:\\n"\n';               \
           sed -e '/^#/d' -e 's/^[[:space:]]*/  /'              \
               -e 's/^\(.*\)$/\"\1\\n\"/' $files;               \
         fi) > /mnt/arm/0/toolchain/work/build-eglibc/csu/version-info.hT
mv -f /mnt/arm/0/toolchain/work/build-eglibc/csu/version-info.hT /mnt/arm/0/toolchain/work/build-eglibc/csu/version-info.h
.././scripts/mkinstalldirs /mnt/arm/0/toolchain/work/build-eglibc/csu
rm -f /mnt/arm/0/toolchain/work/build-eglibc/csu/abi-tag.h.new
sed -e 's/#.*$//' -e '/^[       ]*$/d' ../abi-tags | \
        while read conf tagos tagver; do \
          test `expr 'arm-unknown-linux-gnueabihf' \
                     : "$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" ) > /mnt/arm/0/toolchain/work/build-eglibc/csu/abi-tag.h.new; \
        done
if test -r /mnt/arm/0/toolchain/work/build-eglibc/csu/abi-tag.h.new; then mv -f /mnt/arm/0/toolchain/work/build-eglibc/csu/abi-tag.h.new /mnt/arm/0/toolchain/work/build-eglibc/csu/abi-tag.h; \
        else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
gawk -f ../scripts/gen-as-const.awk ../ports/sysdeps/arm/eabi/rtld-global-offsets.sym \
        | arm-unknown-linux-gnueabihf-gcc -S -o /mnt/arm/0/toolchain/work/build-eglibc/rtld-global-offsets.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes      -I../include -I/mnt/arm/0/toolchain/work/build-eglibc/csu -I/mnt/arm/0/toolchain/work/build-eglibc -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -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../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include -isystem /mnt/arm/0/toolchain/crosstools/lib/gcc/arm-unknown-linux-gnueabihf/4.6.1/include-fixed -isystem /mnt/arm/0/toolchain/clfs/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -x c - \
                -MD -MP -MF /mnt/arm/0/toolchain/work/build-eglibc/rtld-global-offsets.h.dT -MT '/mnt/arm/0/toolchain/work/build-eglibc/rtld-global-offsets.h.d /mnt/arm/0/toolchain/work/build-eglibc/rtld-global-offsets.h'
In file included from <stdin>:2:0:
../ports/sysdeps/unix/sysv/linux/arm/ldsodefs.h:41:0: warning: "MORE_ELF_HEADER_DATA" redefined [enabled by default]
arm-unknown-linux-gnueabihf-gcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/mnt/arm/0/toolchain/work/build-eglibc/rtld-global-offsets.h] Error 4
make[3]: Leaving directory `/mnt/arm/0/toolchain/work/eglibc-2.13/csu'
make[2]: *** [csu/subdir_lib] Error 2
make[2]: Leaving directory `/mnt/arm/0/toolchain/work/eglibc-2.13'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/arm/0/toolchain/work/build-eglibc'
make: *** [/mnt/arm/0/toolchain/clfs/usr/lib/libc.so] Error 1