You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====> components chain = ['binutils', 'gcc.0', 'linux-libc-headers', 'glibc', 'gcc', 'gdb', 'mklink']
====> start building component 'binutils' ... ...
<-- current component 'binutils.0' has finished
====> start building component 'gcc.0' ... ...
--> current building platform/os is "linux2"
<-- current component 'gcc.0' has finished
====> start building component 'linux-libc-headers' ... ...
<-- current component 'linux-libc-headers.0' has finished
====> start building component 'glibc' ... ...
--> multilib option: ('mlittle-endian', 'mcpu=ck810f', 'mfloat-abi=soft', 'mpic')
checking build system type... x86_64-pc-linux-gnu
checking host system type... csky-unknown-linux-gnuabiv2
checking for csky-linux-gnuabiv2-gcc... csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL accepts -g... yes
checking for gcc... gcc
checking for csky-linux-gnuabiv2-readelf... csky-linux-gnuabiv2-readelf
checking whether we are using the GNU C++ compiler... no
checking whether csky-linux-gnuabiv2-g++ -mcpu=ck810f -EL accepts -g... no
checking whether csky-linux-gnuabiv2-g++ -mcpu=ck810f -EL can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64
checking for use of fpu sysdeps directories... no
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... (cached) no
checking for gcc attribute ifunc support... no
checking if compiler warns about alias for function with incompatible types... no
checking sysdep dirs... sysdeps/unix/sysv/linux/csky/abiv2 sysdeps/unix/sysv/linux/csky sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/csky/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/csky/abiv2 sysdeps/csky/nofpu sysdeps/ieee754/soft-fp sysdeps/csky sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/as is GNU as... yes
checking whether /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/ld is GNU ld... yes
checking for /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/as... /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/as
checking version of /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/as... 2.27, ok
checking for /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/ld... /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/ld
checking version of /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/../../../../csky-linux-gnuabiv2/bin/ld... 2.27, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.19.7, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 6.1, ok
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... gawk
checking version of gawk... 4.1.3, ok
checking for bison... bison
checking version of bison... 3.0.4, ok
checking if csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL is sufficient to build libc... yes
checking for csky-linux-gnuabiv2-nm... csky-linux-gnuabiv2-nm
checking for python3... python3
checking LD_LIBRARY_PATH variable... ok
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for .set assembler directive... yes
checking linker support for protected data symbol... yes
checking linker support for INSERT in linker script... yes
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... yes
checking whether to use .ctors/.dtors header and trailer... (cached) yes
checking for libunwind-support in compiler... no
checking whether --noexecstack is desirable for .S files... no
checking for -z combreloc... yes
checking for linker that supports -z execstack... yes
checking for linker that supports --no-dynamic-linker... yes
checking for -static-pie... no
checking for -fpie... yes
checking for --hash-style option... yes
checking for sufficient default -shared layout... no
checking for GLOB_DAT reloc... yes
checking linker output format... elf32-csky-little
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -mtls-dialect=gnu2... no
checking whether cc puts quotes around section names... no
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for compiler option to disable generation of FMA instructions... -ffp-contract=off
checking if csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for _FORTIFY_SOURCE predefine... no
checking whether the linker provides working __ehdr_start... yes
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... no
running configure fragment for sysdeps/unix/sysv/linux/csky
running configure fragment for sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 3.2.0 or later
checking for kernel header at least 4.9.0... ok
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/csky
checking whether -fPIC is default... (cached) yes
checking whether -fPIE is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
make -r PARALLELMFLAGS="" -C /root/toolchain-build/source//glibc objdir=`pwd` all
make[1]: Entering directory '/root/toolchain-build/source/glibc'
LC_ALL=C gawk -f scripts/sysd-rules.awk > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-rulesT \
-v all_object_suffixes='.o .os .oS' \
-v inhibit_sysdep_asm='' \
-v sysd_rules_patterns='%:% rtld-%:rtld-% rtld-%:% m_%:s_%' \
-v config_sysdirs='sysdeps/unix/sysv/linux/csky/abiv2 sysdeps/unix/sysv/linux/csky sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/csky/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/csky/abiv2 sysdeps/csky/nofpu sysdeps/ieee754/soft-fp sysdeps/csky sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic'
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-rulesT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/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 localedata timezone rt conform debug mathvec support dlfcn elf crypt' \
-v srcpfx='' \
sysdeps/nptl/Subdirs sysdeps/unix/inet/Subdirs sysdeps/posix/Subdirs assert/Depend catgets/Depend debug/Depend iconvdata/Depend intl/Depend libio/Depend localedata/Depend malloc/Depend mathvec/Depend posix/Depend rt/Depend stdio-common/Depend stdlib/Depend string/Depend time/Depend wcsmbs/Depend > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-sorted-tmp
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-sorted-tmp /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-sorted
{ echo '#include "posix/bits/posix1_lim.h"'; \
} | \
csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL -E -dM -MD -MP -MF /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dT -MT '/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.h /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.d' \
-Iinclude -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc -Isysdeps/unix/sysv/linux/csky/abiv2 -Isysdeps/unix/sysv/linux/csky -Isysdeps/unix/sysv/linux/generic/wordsize-32 -Isysdeps/unix/sysv/linux/generic -Isysdeps/csky/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix -Isysdeps/posix -Isysdeps/csky/abiv2 -Isysdeps/csky/nofpu -Isysdeps/ieee754/soft-fp -Isysdeps/csky -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ -xc - -o /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.hT
sed -e 's@ /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/@ $(common-objpfx)@g' -e 's@^/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' \
/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dT > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dt
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dt /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.hT`; \
filename_max=`sed -n 's/^#define PATH_MAX //1p' /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.hT`; \
fopen_max=${fopen_max:-16}; \
filename_max=${filename_max:-1024}; \
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/" \
stdio-common/stdio_lim.h.in > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.h.new /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.h
rm -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.hT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.dt
touch /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/bits/stdio_lim.st
sed '/^[ ]*%/!s/#.*$//;/^[ ]*$/d;s/^[ ]*%/#/' \
sysdeps/unix/sysv/linux/csky/shlib-versions sysdeps/unix/sysv/linux/shlib-versions nptl/shlib-versions nptl_db/shlib-versions shlib-versions \
| csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL -E -undef -O2 -fPIC -mcpu=ck810f -mlittle-endian -Iinclude -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc -Isysdeps/unix/sysv/linux/csky/abiv2 -Isysdeps/unix/sysv/linux/csky -Isysdeps/unix/sysv/linux/generic/wordsize-32 -Isysdeps/unix/sysv/linux/generic -Isysdeps/csky/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix -Isysdeps/posix -Isysdeps/csky/abiv2 -Isysdeps/csky/nofpu -Isysdeps/ieee754/soft-fp -Isysdeps/csky -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ -D_LIBC_REENTRANT -include include/libc-symbols.h -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
> /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v.iT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v.i
sed '/^[ ]*#/d;/^[ ]*$/d' /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v.i > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.vT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.vT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v
gawk -f scripts/soversions.awk /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/shlib-versions.v > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.iT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.i
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 nptl/Versions rt/Versions debug/Versions crypt/Versions nptl_db/Versions inet/Versions resolv/Versions nss/Versions hesiod/Versions sunrpc/Versions nis/Versions streams/Versions login/Versions elf/Versions sysdeps/unix/sysv/linux/csky/Versions sysdeps/unix/sysv/linux/generic/wordsize-32/Versions sysdeps/unix/sysv/linux/Versions sysdeps/pthread/Versions sysdeps/wordsize-32/Versions \
| csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL -E -undef -O2 -fPIC -mcpu=ck810f -mlittle-endian -Iinclude -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc -Isysdeps/unix/sysv/linux/csky/abiv2 -Isysdeps/unix/sysv/linux/csky -Isysdeps/unix/sysv/linux/generic/wordsize-32 -Isysdeps/unix/sysv/linux/generic -Isysdeps/csky/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix -Isysdeps/posix -Isysdeps/csky/abiv2 -Isysdeps/csky/nofpu -Isysdeps/ieee754/soft-fp -Isysdeps/csky -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ -D_LIBC_REENTRANT -include include/libc-symbols.h -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
> /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v.iT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v.i
sed '/^[ ]*#/d;/^[ ]*$/d' /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v.i > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.vT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.vT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v
LC_ALL=C gawk -f scripts/versionlist.awk /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.defT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.defT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.def
{ while read which lib version setname; do \
test x"$which" = xDEFAULT || continue; \
test -z "$setname" || echo "$lib : $setname"; \
done < /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.i; \
cat /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.def; \
} | LC_ALL=C gawk -f scripts/firstversions.awk > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.allT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.allT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.all
( 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 nptl rt conform debug mathvec support crypt nptl_db inet resolv nss hesiod sunrpc nis nscd streams login elf sysdeps/unix/sysv/linux/csky/abiv2 sysdeps/unix/sysv/linux/csky sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/csky/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/csky/abiv2 sysdeps/csky/nofpu sysdeps/ieee754/soft-fp sysdeps/csky sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic' ; \
cat /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.v \
| LC_ALL=C gawk -v buildroot=/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/ -v defsfile=/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.all \
-v move_if_change='/bin/sh scripts/move-if-change' \
-f scripts/versions.awk; \
) > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-versionsT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-versionsT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-versions
touch /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/versions.stmp
(while read which lib number setname; do \
eval seen_$which=1; \
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; \
echo soversions.mk-done = t;) < /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.i > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.mkT; exit 0
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.mkT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.mk
gawk -v buildlist="iconvprogs iconvdata ldconfig lddlibc4 libmemusage libSegFault libpcprofile librpcsvc locale_programs memusagestat nonlib nscd extramodules libnldbl libsupport testsuite" -f scripts/gen-libc-modules.awk /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/soversions.i > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.T
/bin/sh scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.T /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.h
touch /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.stmp
for dir in /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc sysdeps/unix/sysv/linux/csky/abiv2 sysdeps/unix/sysv/linux/csky sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/csky/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/csky/abiv2 sysdeps/csky/nofpu sysdeps/ieee754/soft-fp sysdeps/csky sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic; do \
test -f $dir/syscalls.list && \
{ sysdirs='sysdeps/unix/sysv/linux/csky/abiv2 sysdeps/unix/sysv/linux/csky sysdeps/unix/sysv/linux/generic/wordsize-32 sysdeps/unix/sysv/linux/generic sysdeps/csky/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/csky/abiv2 sysdeps/csky/nofpu sysdeps/ieee754/soft-fp sysdeps/csky sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic' \
asm_CPP='csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL -c -O2 -fPIC -mcpu=ck810f -mlittle-endian -Iinclude -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc -Isysdeps/unix/sysv/linux/csky/abiv2 -Isysdeps/unix/sysv/linux/csky -Isysdeps/unix/sysv/linux/generic/wordsize-32 -Isysdeps/unix/sysv/linux/generic -Isysdeps/csky/nptl -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix -Isysdeps/posix -Isysdeps/csky/abiv2 -Isysdeps/csky/nofpu -Isysdeps/ieee754/soft-fp -Isysdeps/csky -Isysdeps/wordsize-32 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -nostdinc -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ -D_LIBC_REENTRANT -include /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.h -DMODULE_NAME=libc -include include/libc-symbols.h -DTOP_NAMESPACE=glibc -DASSEMBLER -Werror=undef -E -x assembler-with-cpp' \
/bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
test $dir = sysdeps/unix && break; \
done > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-syscallsT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-syscallsT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/sysd-syscalls
rm -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.o; > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.o
rm -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.os; > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.os
rm -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.oS; > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/stamp.oS
make subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory '/root/toolchain-build/source/glibc/csu'
/bin/sh ../scripts/gen-libc-abis \
csky-unknown-linux-gnuabiv2 \
< ../libc-abis > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-abis.hT
/bin/sh ../scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-abis.hT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-abis.h
touch /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-abis.stamp
LC_ALL=C gawk -f ../scripts/abi-versions.awk /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/Versions.all > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/abi-versions.hT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/abi-versions.hT /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/abi-versions.h
gawk -f ../scripts/gen-tunables.awk ../elf/dl-tunables.list > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/dl-tunable-list.T
/bin/sh ../scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/dl-tunable-list.T /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/dl-tunable-list.h
touch /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/dl-tunable-list.stmp
.././scripts/mkinstalldirs /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu
mkdir -p -- /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu
rm -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu/abi-tag.h.new
sed -e 's/#.*$//' -e '/^[ ]*$/d' ../abi-tags | \
while read conf tagos tagver; do \
test `expr 'csky-unknown-linux-gnuabiv2' \
: "$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" ) > /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu/abi-tag.h.new; \
done
if test -r /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu/abi-tag.h.new; then mv -f /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu/abi-tag.h.new /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/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/csky/nptl/tcb-offsets.sym \
| csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL -S -o /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fPIC -fmerge-all-constants -fno-stack-protector -frounding-math -mcpu=ck810f -mlittle-endian -Wstrict-prototypes -Wold-style-definition -fno-math-errno -ftls-model=initial-exec -O2 -fPIC -mcpu=ck810f -mlittle-endian -I../include -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu -I/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc -I../sysdeps/unix/sysv/linux/csky/abiv2 -I../sysdeps/unix/sysv/linux/csky -I../sysdeps/unix/sysv/linux/generic/wordsize-32 -I../sysdeps/unix/sysv/linux/generic -I../sysdeps/csky/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 -I../sysdeps/posix -I../sysdeps/csky/abiv2 -I../sysdeps/csky/nofpu -I../sysdeps/ieee754/soft-fp -I../sysdeps/csky -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/lib/gcc/csky-linux-gnuabiv2/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ -D_LIBC_REENTRANT -include /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc \
-DGEN_AS_CONST_HEADERS -x c - \
-MD -MP -MF /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.h.dT -MT '/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.h.d /root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.h'
../Makerules:287: recipe for target '/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.h' failed
make[2]: Leaving directory '/root/toolchain-build/source/glibc/csu'
Makefile:258: recipe for target 'csu/subdir_lib' failed
make[1]: Leaving directory '/root/toolchain-build/source/glibc'
Makefile:9: recipe for target 'all' failed
--> start error output
error code: 2
configure: WARNING: minimum kernel version reset to 4.9.0
../Rules:198: target '/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/csu/test-as-const-tcb-offsets' given more than once in the same rule
In file included from ../nptl/../nptl_db/thread_db.h:28:0,
from ../nptl/descr.h:32,
from ../sysdeps/csky/nptl/tls.h:66,
from ../sysdeps/unix/sysv/linux/csky/sysdep.h:30,
from <stdin>:1:
../sysdeps/unix/sysv/linux/csky/sys/procfs.h:50:29: error: invalid application of 'sizeof' to incomplete type 'struct user_fp'
#define ELF_NFPREG (sizeof (struct user_fp) / sizeof (elf_fpreg_t))
^
../sysdeps/unix/sysv/linux/csky/sys/procfs.h:51:36: note: in expansion of macro 'ELF_NFPREG'
typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
^~~~~~~~~~
../sysdeps/unix/sysv/linux/csky/sys/procfs.h:113:24: error: type defaults to 'int' in declaration of 'prfpregset_t' [-Werror=implicit-int]
typedef elf_fpregset_t prfpregset_t;
^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/root/toolchain-build/build-csky-linux-gnuabiv2-glibc/glibc/tcb-offsets.h] Error 1
make[1]: *** [csu/subdir_lib] Error 2
make: *** [all] Error 2
<-- end error output
exec command: export PATH=/root/toolchain-build/install-csky-linux-gnuabiv2-glibc/bin/:$PATH;rm -rf ./* && /root/toolchain-build/source//glibc/configure --host=csky-linux-gnuabiv2 --target=csky-linux-gnuabiv2 --with-headers=/root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc/usr/include/ --prefix=/usr/ libc_cv_slibdir=/lib libc_cv_libdir=/usr/lib/ CC="csky-linux-gnuabiv2-gcc -mcpu=ck810f -EL" CXX="csky-linux-gnuabiv2-g++ -mcpu=ck810f -EL" AS="csky-linux-gnuabiv2-as -mcpu=ck810f -EL" LD="csky-linux-gnuabiv2-ld -mcpu=ck810f -EL" CFLAGS="-O2 -fPIC -mcpu=ck810f -mlittle-endian " CPPFLAGS="-O2 -fPIC -mcpu=ck810f -mlittle-endian " LDFLAGS="-L</lib> -Wl,-s " --enable-shared --enable-kernel=2.6.25 --disable-check-abi --disable-profile --enable-bounded --enable-stackguard-randomization --disable-all-warnings --disable-build-nscd --disable-nscd --enable-obsolete-rpc --enable-static-nss libc_cv_forced_unwind=yes libc_cv_ctors_header=yes libc_cv_c_cleanup=yes libc_cv_pic_default=yes libc_cv_gcc_static_libgcc= --without-fp libc_cv_ld_gnu_indirect_function=no && make && make install install_root=/root/toolchain-build/install-csky-linux-gnuabiv2-glibc/csky-linux-gnuabiv2/libc//fabisoft
The text was updated successfully, but these errors were encountered:
ioerror
changed the title
Failure to compile glibc abiv1 toolchain in Ubuntu Xenial chroot
Failure to compile glibc abiv1 (and abiv2) toolchain in Ubuntu Xenial chroot
Apr 16, 2020
I attempted to build the toolchain using an Ubuntu Xenial chroot configured as follows:
As with #2 and #3 - I have the same
mklink
issue when running init:Resulting in:
Building is sucessful with the following command until the
glibc
component:I wondered if the same would happen when building the v2 abi:
This command also had an error:
The text was updated successfully, but these errors were encountered: