Giter Site home page Giter Site logo

toolchain-build's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

toolchain-build's Issues

Failure to compile glibc abiv1 (and abiv2) toolchain in Ubuntu Xenial chroot

I attempted to build the toolchain using an Ubuntu Xenial chroot configured as follows:

sudo apt install -y debootstrap
debootstrap xenial xenial-chroot
sudo chroot xenial-chroot add-apt-repository universe
sudo chroot xenial-chroot apt update
sudo chroot xenial-chroot apt install -y build-essential wget unzip bc git gawk
sudo chroot xenial-chroot apt install -y texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev
sudo chroot xenial-choot
# Inside Xenial chroot
git clone https://github.com/c-sky/toolchain-build
cd toolchain-build

As with #2 and #3 - I have the same mklink issue when running init:

./build-csky-gcc.py --abi=abiv1 --tos=linux --libc=glibc --init

Resulting in:

...
<-- component 'mklink' source code url ['/root/toolchain-build/source//mklink'] is not valid

Building is sucessful with the following command until the glibc component:

./build-csky-gcc.py --abi=abiv1 --tos=linux --libc=glibc

====> 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', 'mfloat-abi=soft', 'mno-stm', 'mpic', 'mcpu=ck610f')
checking build system type... x86_64-pc-linux-gnu
checking host system type... csky-unknown-linux-gnuabiv1
checking for csky-linux-gnuabiv1-gcc... csky-linux-gnuabiv1-gcc -mcpu=ck610f -EL
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether csky-linux-gnuabiv1-gcc -mcpu=ck610f -EL accepts -g... yes
checking for gcc... gcc
checking for csky-linux-gnuabiv1-readelf... csky-linux-gnuabiv1-readelf
checking whether we are using the GNU C++ compiler... no
checking whether csky-linux-gnuabiv1-g++ -mcpu=ck610f -EL accepts -g... no
checking whether csky-linux-gnuabiv1-g++ -mcpu=ck610f -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/abiv1 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/abiv1 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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/as is GNU as... yes
checking whether /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/ld is GNU ld... yes
checking for /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/as... /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/as
checking version of /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/as... 2.27, ok
checking for /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/ld... /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/bin/ld
checking version of /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/../../../../csky-linux-gnuabiv1/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-gnuabiv1-gcc -mcpu=ck610f -EL is sufficient to build libc... yes
checking for csky-linux-gnuabiv1-nm... csky-linux-gnuabiv1-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-gnuabiv1-gcc -mcpu=ck610f -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-gnuabiv1-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/abiv1 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/abiv1 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-gnuabiv1-glibc/glibc/sysd-rulesT /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/sysd-sorted-tmp
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-sorted-tmp /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-sorted
{ echo '#include "posix/bits/posix1_lim.h"';		\
} |								\
csky-linux-gnuabiv1-gcc -mcpu=ck610f -EL -E -dM -MD -MP -MF /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dT -MT '/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.h /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.d' 	\
       -Iinclude   -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc  -Isysdeps/unix/sysv/linux/csky/abiv1  -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/abiv1  -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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/ -xc - -o /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.hT
sed -e 's@ /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/@ $(common-objpfx)@g' -e 's@^/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/@$(common-objpfx)@g' -e 's@  *\([^ 	\/$][^ 	\]*\)@ $(..)\1@g' -e 's@^\([^ 	\/$][^ 	\]*\)@$(..)\1@g'			\
    /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dT > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dt
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dt /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.hT`; 	\
filename_max=`sed -n 's/^#define PATH_MAX //1p' /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.h.new /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.h
rm -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.hT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/bits/stdio_lim.dt
touch /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-gcc -mcpu=ck610f -EL -E -undef   -O2 -fPIC -mcpu=ck610f -mlittle-endian   -Iinclude   -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc  -Isysdeps/unix/sysv/linux/csky/abiv1  -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/abiv1  -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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/  -D_LIBC_REENTRANT  -include include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
	   > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v.iT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v.i
sed '/^[ 	]*#/d;/^[ 	]*$/d' /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v.i > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.vT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.vT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v
gawk -f scripts/soversions.awk /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/shlib-versions.v > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/soversions.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/soversions.iT /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-gcc -mcpu=ck610f -EL -E -undef   -O2 -fPIC -mcpu=ck610f -mlittle-endian   -Iinclude   -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc  -Isysdeps/unix/sysv/linux/csky/abiv1  -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/abiv1  -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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/  -D_LIBC_REENTRANT  -include include/libc-symbols.h       -DTOP_NAMESPACE=glibc -x assembler-with-cpp - \
	   > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v.iT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v.iT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v.i
sed '/^[ 	]*#/d;/^[ 	]*$/d' /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v.i > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.vT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.vT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v
LC_ALL=C gawk -f scripts/versionlist.awk /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.v > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.defT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.defT /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/soversions.i; \
  cat /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.def; \
} | LC_ALL=C gawk -f scripts/firstversions.awk > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.allT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.allT /root/toolchain-build/build-csky-linux-gnuabiv1-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/abiv1 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/abiv1 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-gnuabiv1-glibc/glibc/Versions.v \
  | LC_ALL=C gawk -v buildroot=/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/ -v defsfile=/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.all \
		    -v move_if_change='/bin/sh scripts/move-if-change' \
		    -f scripts/versions.awk; \
) > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-versionsT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-versionsT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-versions
touch /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/soversions.i > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/soversions.mkT; exit 0
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/soversions.mkT /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/soversions.i > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-modules.T
/bin/sh scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-modules.T /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-modules.h
touch /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-modules.stmp
for dir in /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc sysdeps/unix/sysv/linux/csky/abiv1 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/abiv1 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/abiv1 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/abiv1 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-gnuabiv1-gcc -mcpu=ck610f -EL -c   -O2 -fPIC -mcpu=ck610f -mlittle-endian   -Iinclude   -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc  -Isysdeps/unix/sysv/linux/csky/abiv1  -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/abiv1  -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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/  -D_LIBC_REENTRANT -include /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/sysd-syscallsT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-syscallsT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/sysd-syscalls
rm -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/stamp.o; > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/stamp.o
rm -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/stamp.os; > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/stamp.os
rm -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/stamp.oS; > /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1 \
	 < ../libc-abis > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-abis.hT
/bin/sh ../scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-abis.hT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-abis.h
touch /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/libc-abis.stamp
LC_ALL=C gawk -f ../scripts/abi-versions.awk /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/Versions.all > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/abi-versions.hT
mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/abi-versions.hT /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/abi-versions.h
gawk -f ../scripts/gen-tunables.awk ../elf/dl-tunables.list > /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/dl-tunable-list.T
/bin/sh ../scripts/move-if-change /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/dl-tunable-list.T /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/dl-tunable-list.h
touch /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/dl-tunable-list.stmp
.././scripts/mkinstalldirs /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/csu
mkdir -p -- /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/csu
rm -f /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1' \
	     : "$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-gnuabiv1-glibc/glibc/csu/abi-tag.h.new; \
done
if test -r /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/csu/abi-tag.h.new; then mv -f /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/csu/abi-tag.h.new /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-gcc -mcpu=ck610f -EL -S -o /root/toolchain-build/build-csky-linux-gnuabiv1-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=ck610f -mlittle-endian -Wstrict-prototypes -Wold-style-definition -fno-math-errno     -ftls-model=initial-exec    -O2 -fPIC -mcpu=ck610f -mlittle-endian   -I../include -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/csu  -I/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc  -I../sysdeps/unix/sysv/linux/csky/abiv1  -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/abiv1  -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-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/lib/gcc/csky-linux-gnuabiv1/6.3.0/include-fixed -isystem /root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/  -D_LIBC_REENTRANT -include /root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-glibc/glibc/tcb-offsets.h.dT -MT '/root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/tcb-offsets.h.d /root/toolchain-build/build-csky-linux-gnuabiv1-glibc/glibc/tcb-offsets.h'
../Makerules:287: recipe for target '/root/toolchain-build/build-csky-linux-gnuabiv1-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-gnuabiv1-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-gnuabiv1-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-gnuabiv1-glibc/bin/:$PATH;rm -rf ./* && /root/toolchain-build/source//glibc/configure --host=csky-linux-gnuabiv1 --target=csky-linux-gnuabiv1 --with-headers=/root/toolchain-build/install-csky-linux-gnuabiv1-glibc/csky-linux-gnuabiv1/libc/usr/include/ --prefix=/usr/ libc_cv_slibdir=/lib libc_cv_libdir=/usr/lib/ CC="csky-linux-gnuabiv1-gcc -mcpu=ck610f -EL" CXX="csky-linux-gnuabiv1-g++ -mcpu=ck610f -EL" AS="csky-linux-gnuabiv1-as -mcpu=ck610f -EL" LD="csky-linux-gnuabiv1-ld -mcpu=ck610f -EL" CFLAGS="-O2 -fPIC -mcpu=ck610f -mlittle-endian " CPPFLAGS="-O2 -fPIC -mcpu=ck610f -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-gnuabiv1-glibc/csky-linux-gnuabiv1/libc//fabisoft 

I wondered if the same would happen when building the v2 abi:

./build-csky-gcc.py --abi=abiv2 --tos=linux --libc=glibc

This command also had an error:


====> 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 

How to compile a compiler that runs on other architectures

I want to cross-compile compilers that run on other architectures, currently my environment is Ubuntu on AMD64, can I compile compilers that run on Windows on AMD64 on this?

I tried to change the --host parameter in the script, but it doesn't seem to work, the compiled Xuantie-800-gcc-elf-newlib-Win32 is still an executable under Linux

python3 . /build-csky-gcc.py csky-gcc --src . / --triple csky-unknown-elf --jobs=8 --host=Win32 --rebuild

图片

Replace git@ with https://

The current build-csky-gcc.py attempts to clone with the git command using [email protected]. This invokes the ssh command which required credentials. I replaced it with git clones that use https rather than git over ssh. I don't think this is strictly needed but I found it useful:

diff --git a/build-csky-gcc.py b/build-csky-gcc.py
index 03728e1..ca4774d 100755
--- a/build-csky-gcc.py
+++ b/build-csky-gcc.py
@@ -985,6 +985,12 @@ def build_toolchain_env(options, mm):
 			cmd = build_cmd(options, "git clone %s %s", (url, source_dirname + "/" + m))
 			cmd += build_cmd(options, "%s", " ".join(opt))
 
+		if url.startswith("https://"):
+			cmd = build_cmd(options, "git clone %s %s", (url, source_dirname + "/" + m))
+			cmd += build_cmd(options, "%s", " ".join(opt))
+
                 if url.startswith("git@"):
 			cmd = build_cmd(options, "git clone %s %s", (url, source_dirname + "/" + m))
 			cmd += build_cmd(options, "%s", " ".join(opt))
@@ -1242,14 +1248,14 @@ profile = {
 }
 
 component = {
-        "binutils"	: { "url"		: "[email protected]:c-sky/binutils-gdb.git",
+        "binutils"	: { "url"		: "https://github.com/c-sky/binutils-gdb.git",
 					"debug" 	: 'CFLAGS="-g -O0" CXXFLAGS="-g -O0"',
 					"default" 	: '--disable-gdb --disable-werror',
 					"worker" 	: [(build_binutils, "")],
 					"tos" 		: {"linux" : "--with-sysroot=yes"},
 				  },
 
-        "gcc"		: { "url"		: "[email protected]:c-sky/gcc.git",
+        "gcc"		: { "url"		: "https://github.com/c-sky/gcc.git",
 					"debug" 	: 'CFLAGS="-g -O0" CXXFLAGS="-g -O0"',
 					"worker" 	: [(build_gcc_initial, "binutils"), (build_gcc, "--libc")],
 					"bos" 		: build_gcc_bos,
@@ -1263,7 +1269,7 @@ component = {
 								: build_gcc_compatibility,
 				  },
 
-        "minilibc"	: { "url"		: "[email protected]:c-sky/toolchain-build.git",
+        "minilibc"	: { "url"		: "https://github.com/c-sky/toolchain-build.git",
 					"worker" 	: [(build_minilibc, "gcc.0")],
 				  },
 
@@ -1274,12 +1280,12 @@ component = {
 					"multilib"	: ["MULTILIB_OPTIONS=mpic"]
 				  },
 
-        "uclibc-ng"	: { "url"		: "[email protected]:c-sky/uclibc-ng.git, --depth=1",
+        "uclibc-ng"	: { "url"		: "https://github.com/c-sky/uclibc-ng.git, --depth=1",
 					"worker" 	: [(build_uclibc_ng, "linux-libc-headers, gcc.0")],
 					"multilib"	: ["MULTILIB_OPTIONS=mpic"]
 				  },
 
-        "glibc"		: { "url"		: "[email protected]:c-sky/glibc.git",
+        "glibc"		: { "url"		: "https://github.com/c-sky/glibc.git",
 					"worker" 	: [(build_glibc, "linux-libc-headers, gcc.0")],
 					"multilib"	: ["MULTILIB_OPTIONS=mpic/mno-pic"],
 					"compatibility"
@@ -1288,7 +1294,7 @@ component = {
 
 	"linux-libc-headers"		:
 				  {
-                                      "url"		: "[email protected]:c-sky/linux-4.9.y.git, --depth=1",
+                                      "url"		: "https://github.com/c-sky/linux-4.9.y.git, --depth=1",
 				  	"worker" 	: [(build_linux_libc_headers, "")],
 				  	"comment"	: "this is dir of linux kernel source code as default because the headers are geted from that :) \
 				  				  also you can set pure linux include dir like '--linux-libc-headers-src=$(your/include/../path),type=inc' \
@@ -1296,7 +1302,7 @@ component = {
 				  },
 	"gdb"	:
 		{
-			"url"	: "[email protected]:c-sky/binutils-gdb.git,  --branch=gdb-7.12-branch-csky",
+			"url"	: "https://github.com/c-sky/binutils-gdb.git,  --branch=gdb-7.12-branch-csky",
 			"default" 	: '--disable-ld --disable-gas --disable-binutils --disable-gold --disable-gprof --without-auto-load-safe-path --with-python=no --disable-sim --enable-install-libbfd',
 			"worker" 	: [(build_gdb, "")],
 		},

Failure to compile uclibc-ng abiv1 toolchain in Ubuntu Xenial chroot

I attempted to build the toolchain using an Ubuntu Xenial chroot configured as follows:

sudo apt install -y debootstrap
debootstrap xenial xenial-chroot
sudo chroot xenial-chroot add-apt-repository universe
sudo chroot xenial-chroot apt update
sudo chroot xenial-chroot apt install -y build-essential wget unzip bc git
sudo chroot xenial-chroot apt install -y texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev
sudo chroot xenial-choot
# Inside Xenial chroot
git clone https://github.com/c-sky/toolchain-build
cd toolchain-build

As with #2, I have the same mklink issue when running init:

./build-csky-gcc.py --abi=abiv2 --tos=linux --libc=uclibc-ng --init

Building is sucessful with the following command until the uclibc-ng component:

./build-csky-gcc.py --abi=abiv2 --tos=linux --libc=uclibc-ng

The final component uclibc-ng fails to build with the following error:

====> start building component 'uclibc-ng' ... ...

--> multilib option: ('mlittle-endian', 'mfloat-abi=soft', 'mno-stm', 'mpic', 'mcpu=ck610f')
  MKDIR include/config
  MKDIR include/generated
  HOSTCC-o extra/config/conf.o
  GEN extra/config/zconf.tab.c
  GEN extra/config/zconf.lex.c
  GEN extra/config/zconf.hash.c
  HOSTCC-o extra/config/zconf.tab.o
  HOSTCC extra/config/conf
***
*** Can't find default configuration "extra/Configs/defconfigs/csky/ck610_le_defconfig"!
***
Makefile.in:509: recipe for target 'ck610_le_defconfig' failed

--> start error output

error code: 2
make: *** [ck610_le_defconfig] Error 1

<-- end error output

exec command: export PATH=/root/toolchain-build/install-csky-linux-uclibcabiv1-uclibc-ng/bin/:$PATH;make ARCH=csky ck610_le_defconfig

Failure to compile uclibc-ng abiv2 toolchain in Ubuntu Xenial chroot

I attempted to build the toolchain using an Ubuntu Xenial chroot configured as follows:

sudo apt install -y debootstrap
debootstrap xenial xenial-chroot
sudo chroot xenial-chroot add-apt-repository universe
sudo chroot xenial-chroot apt update
sudo chroot xenial-chroot apt install -y build-essential wget unzip bc git
sudo chroot xenial-chroot apt install -y texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev
sudo chroot xenial-chroot
# Inside Xenial chroot
git clone https://github.com/c-sky/toolchain-build
cd toolchain-build

Fetching the source is sucessful but the mklink target isn't valid:

./build-csky-gcc.py --abi=abiv2 --tos=linux --libc=uclibc-ng --init
====> toolchain components = ['binutils', 'gcc', 'linux-libc-headers', 'uclibc-ng', 'gdb', 'mklink']

<-- component 'binutils' source code url ['/root/toolchain-build/source//binutils'] is ok

<-- component 'gcc' source code url ['/root/toolchain-build/source//gcc'] is ok

<-- component 'linux-libc-headers' source code url ['/root/toolchain-build/source//linux-libc-headers'] is ok

<-- component 'uclibc-ng' source code url ['/root/toolchain-build/source//uclibc-ng'] is ok

<-- component 'gdb' source code url ['/root/toolchain-build/source//gdb'] is ok

<-- component 'mklink' source code url ['/root/toolchain-build/source//mklink'] is not valid

Building is sucessful with the following command until the uclibc-ng component:

./build-csky-gcc.py --abi=abiv2 --tos=linux --libc=uclibc-ng

The final component uclibc-ng fails to build with the following error:

====> start building component 'uclibc-ng' ... ...

--> multilib option: ('mlittle-endian', 'mcpu=ck810f', 'mfloat-abi=soft', 'mpic')
  MKDIR include/config
  MKDIR include/generated
  HOSTCC-o extra/config/conf.o
  GEN extra/config/zconf.tab.c
  GEN extra/config/zconf.lex.c
  GEN extra/config/zconf.hash.c
  HOSTCC-o extra/config/zconf.tab.o
  HOSTCC extra/config/conf
***
*** Can't find default configuration "extra/Configs/defconfigs/csky/ck810_le_defconfig"!
***
Makefile.in:509: recipe for target 'ck810_le_defconfig' failed

--> start error output

error code: 2
make: *** [ck810_le_defconfig] Error 1

<-- end error output

exec command: export PATH=/root/toolchain-build/install-csky-linux-uclibcabiv2-uclibc-ng/bin/:$PATH;make ARCH=csky ck810_le_defconfig

How to compile on macOS M1?

Is it possible to build this toolchain under macOS on a M1?

I ran the script as:

./build-csky-gcc.py csky-gcc --src ./ --triple csky-unknown-elf

but it eventually gives the error:

configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.

I have GMP, MPFR and MPC installed via brew:

brew list gmp
/opt/homebrew/Cellar/gmp/6.2.1_1/include/ (2 files)
/opt/homebrew/Cellar/gmp/6.2.1_1/lib/libgmp.10.dylib
/opt/homebrew/Cellar/gmp/6.2.1_1/lib/libgmpxx.4.dylib
/opt/homebrew/Cellar/gmp/6.2.1_1/lib/pkgconfig/ (2 files)
/opt/homebrew/Cellar/gmp/6.2.1_1/lib/ (4 other files)
/opt/homebrew/Cellar/gmp/6.2.1_1/share/info/ (3 files)
brew list mpfr
/opt/homebrew/Cellar/mpfr/4.2.0/include/ (2 files)
/opt/homebrew/Cellar/mpfr/4.2.0/lib/libmpfr.6.dylib
/opt/homebrew/Cellar/mpfr/4.2.0/lib/pkgconfig/mpfr.pc
/opt/homebrew/Cellar/mpfr/4.2.0/lib/ (2 other files)
/opt/homebrew/Cellar/mpfr/4.2.0/share/doc/ (14 files)
/opt/homebrew/Cellar/mpfr/4.2.0/share/info/mpfr.info
brew list mpc
/opt/homebrew/Cellar/mpc/0.34/bin/mpc
/opt/homebrew/Cellar/mpc/0.34/etc/bash_completion.d/mpc
/opt/homebrew/Cellar/mpc/0.34/share/doc/ (6 files)

Failure to compile elf toolchain in Ubuntu Xenial chroot

I attempted to build the toolchain using an Ubuntu Xenial chroot configured as follows:

sudo apt install -y debootstrap
debootstrap xenial xenial-chroot
sudo chroot xenial-chroot add-apt-repository universe
sudo chroot xenial-chroot apt update
sudo chroot xenial-chroot apt install -y build-essential wget unzip bc git
sudo chroot xenial-chroot apt install -y texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev
sudo chroot xenial-chroot
# Inside Xenial chroot
git clone https://github.com/c-sky/toolchain-build
cd toolchain-build

Fetching the source is sucessful:

./build-csky-gcc.py --tos=elf --init

However as with #2, #3, and #4 - the mklink target isn't valid:

====> toolchain components = ['binutils', 'gcc', 'minilibc', 'gdb', 'mklink']

<-- component 'binutils' source code url ['/root/toolchain-build/source//binutils'] is ok

<-- component 'gcc' source code url ['/root/toolchain-build/source//gcc'] is ok

--> git clone https://github.com/c-sky/toolchain-build.git /root/toolchain-build/source//minilibc  

<-- component 'gdb' source code url ['/root/toolchain-build/source//gdb'] is ok

<-- component 'mklink' source code url ['/root/toolchain-build/source//mklink'] is not valid

Building fails after the gcc.1 component:

./build-csky-gcc.py --tos=elf 

====> components chain = ['binutils', 'gcc.0', 'minilibc', '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 'minilibc' ... ...
<-- current component 'minilibc.0' has finished

====> start building component 'gcc.1' ... ...
--> current building platform/os is "linux2"
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... csky-unknown-elfabiv2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
...
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ctype_configure_char.lo -g -O2 -mcpu=ck802 -c ctype_configure_char.cc -o ctype_configure_char.o
ln -s /root/toolchain-build/source/gcc/libstdc++-v3/config/locale/generic/ctype_members.cc . || true
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=ctype_members.lo -g -O2  -mcpu=ck802  -c -o ctype_members.lo ctype_members.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ctype_members.lo -g -O2 -mcpu=ck802 -c ctype_members.cc -o ctype_members.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cow-fstream-inst.lo -g -O2  -mcpu=ck802  -c -o cow-fstream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-fstream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cow-fstream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-fstream-inst.cc -o cow-fstream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cow-sstream-inst.lo -g -O2  -mcpu=ck802  -c -o cow-sstream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-sstream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cow-sstream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-sstream-inst.cc -o cow-sstream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cow-string-inst.lo -g -O2  -mcpu=ck802  -c -o cow-string-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-string-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cow-string-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-string-inst.cc -o cow-string-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cow-wstring-inst.lo -g -O2  -mcpu=ck802  -c -o cow-wstring-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-wstring-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cow-wstring-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-wstring-inst.cc -o cow-wstring-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cxx11-locale-inst.lo -g -O2  -mcpu=ck802  -c -o cxx11-locale-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cxx11-locale-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cxx11-locale-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cxx11-locale-inst.cc -o cxx11-locale-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=cxx11-wlocale-inst.lo -g -O2  -mcpu=ck802  -c -o cxx11-wlocale-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cxx11-wlocale-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=cxx11-wlocale-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cxx11-wlocale-inst.cc -o cxx11-wlocale-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=ext11-inst.lo -g -O2  -mcpu=ck802  -c -o ext11-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ext11-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ext11-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ext11-inst.cc -o ext11-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=fstream-inst.lo -g -O2  -mcpu=ck802  -c -o fstream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/fstream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=fstream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/fstream-inst.cc -o fstream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=ios-inst.lo -g -O2  -mcpu=ck802  -c -o ios-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ios-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ios-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ios-inst.cc -o ios-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=iostream-inst.lo -g -O2  -mcpu=ck802  -c -o iostream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/iostream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=iostream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/iostream-inst.cc -o iostream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=istream-inst.lo -g -O2  -mcpu=ck802  -c -o istream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/istream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=istream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/istream-inst.cc -o istream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=locale-inst.lo -g -O2  -mcpu=ck802  -c -o locale-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/locale-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=locale-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/locale-inst.cc -o locale-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=ostream-inst.lo -g -O2  -mcpu=ck802  -c -o ostream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ostream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=ostream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/ostream-inst.cc -o ostream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=sstream-inst.lo -g -O2  -mcpu=ck802  -c -o sstream-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/sstream-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=sstream-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/sstream-inst.cc -o sstream-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=streambuf-inst.lo -g -O2  -mcpu=ck802  -c -o streambuf-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/streambuf-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=streambuf-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/streambuf-inst.cc -o streambuf-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=string-inst.lo -g -O2  -mcpu=ck802  -c -o string-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/string-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=string-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/string-inst.cc -o string-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=wlocale-inst.lo -g -O2  -mcpu=ck802  -c -o wlocale-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/wlocale-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=wlocale-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/wlocale-inst.cc -o wlocale-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=wstring-inst.lo -g -O2  -mcpu=ck802  -c -o wstring-inst.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/wstring-inst.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/source/gcc/libstdc++-v3/../libgcc -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++11 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=wstring-inst.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/wstring-inst.cc -o wstring-inst.o
/bin/bash ../../libtool --tag CXX --tag disable-shared   --mode=link /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections  -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=libc++11convenience.la  '-mcpu=ck802' -o libc++11convenience.la  chrono.lo codecvt.lo condition_variable.lo cow-stdexcept.lo ctype.lo debug.lo functexcept.lo functional.lo futex.lo future.lo hash_c++0x.lo hashtable_c++0x.lo ios.lo limits.lo mutex.lo placeholders.lo random.lo regex.lo shared_ptr.lo snprintf_lite.lo system_error.lo thread.lo cow-locale_init.lo cow-shim_facets.lo cxx11-hash_tr1.lo cxx11-ios_failure.lo cxx11-shim_facets.lo cxx11-stdexcept.lo ctype_configure_char.lo ctype_members.lo cow-fstream-inst.lo cow-sstream-inst.lo cow-string-inst.lo cow-wstring-inst.lo cxx11-locale-inst.lo cxx11-wlocale-inst.lo ext11-inst.lo fstream-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo locale-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo string-inst.lo wlocale-inst.lo wstring-inst.lo  
libtool: link: /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ar rc .libs/libc++11convenience.a  chrono.o codecvt.o condition_variable.o cow-stdexcept.o ctype.o debug.o functexcept.o functional.o futex.o future.o hash_c++0x.o hashtable_c++0x.o ios.o limits.o mutex.o placeholders.o random.o regex.o shared_ptr.o snprintf_lite.o system_error.o thread.o cow-locale_init.o cow-shim_facets.o cxx11-hash_tr1.o cxx11-ios_failure.o cxx11-shim_facets.o cxx11-stdexcept.o ctype_configure_char.o ctype_members.o cow-fstream-inst.o cow-sstream-inst.o cow-string-inst.o cow-wstring-inst.o cxx11-locale-inst.o cxx11-wlocale-inst.o ext11-inst.o fstream-inst.o ios-inst.o iostream-inst.o istream-inst.o locale-inst.o ostream-inst.o sstream-inst.o streambuf-inst.o string-inst.o wlocale-inst.o wstring-inst.o
libtool: link: /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ranlib .libs/libc++11convenience.a
libtool: link: ( cd ".libs" && rm -f "libc++11convenience.la" && ln -s "../libc++11convenience.la" "libc++11convenience.la" )
make[9]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/c++11'
make[9]: Entering directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src'
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility.lo -g -O2  -mcpu=ck802  -c -o compatibility.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility.cc -o compatibility.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-debug_list.lo -g -O2  -mcpu=ck802  -c -o compatibility-debug_list.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility-debug_list.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-debug_list.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility-debug_list.cc -o compatibility-debug_list.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-debug_list-2.lo -g -O2  -mcpu=ck802  -c -o compatibility-debug_list-2.lo /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility-debug_list-2.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-debug_list-2.lo -g -O2 -mcpu=ck802 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++98/compatibility-debug_list-2.cc -o compatibility-debug_list-2.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-c++0x.lo -g -O2  -mcpu=ck802  -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-c++0x.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-c++0x.lo -g -O2 -mcpu=ck802 -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-c++0x.cc -o compatibility-c++0x.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-atomic-c++0x.lo -g -O2  -mcpu=ck802  -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-atomic-c++0x.lo -g -O2 -mcpu=ck802 -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-atomic-c++0x.cc -o compatibility-atomic-c++0x.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-thread-c++0x.lo -g -O2  -mcpu=ck802  -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-thread-c++0x.lo -g -O2 -mcpu=ck802 -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc -o compatibility-thread-c++0x.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-chrono.lo -g -O2  -mcpu=ck802  -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-chrono.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-chrono.lo -g -O2 -mcpu=ck802 -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-chrono.cc -o compatibility-chrono.o
/bin/bash ../libtool --tag CXX   --mode=compile /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include  -mcpu=ck802  -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++   -std=gnu++98  -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=compatibility-condvar.lo -g -O2  -mcpu=ck802  -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-condvar.cc
libtool: compile:  /root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc/xgcc -shared-libgcc -B/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/./gcc -nostdinc++ -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src/.libs -L/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/libsupc++/.libs -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/bin/ -B/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/ -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include -isystem /root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/sys-include -mcpu=ck802 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include/csky-elfabiv2 -I/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/include -I/root/toolchain-build/source/gcc/libstdc++-v3/libsupc++ -std=gnu++98 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-condvar.lo -g -O2 -mcpu=ck802 -std=gnu++11 -c /root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/compatibility-condvar.cc -o compatibility-condvar.o
make[9]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src'
Makefile:638: recipe for target 'all-recursive' failed
make[8]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3/src'
Makefile:507: recipe for target 'all-recursive' failed
make[7]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3'
Makefile:414: recipe for target 'all' failed
make[6]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/ck802/libstdc++-v3'
Makefile:767: recipe for target 'multi-do' failed
make[5]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/libstdc++-v3'
Makefile:487: recipe for target 'all-multi' failed
make[4]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/libstdc++-v3'
Makefile:507: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/libstdc++-v3'
Makefile:414: recipe for target 'all' failed
make[2]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc/csky-elfabiv2/libstdc++-v3'
Makefile:10277: recipe for target 'all-target-libstdc++-v3' failed
make[1]: Leaving directory '/root/toolchain-build/build-csky-elfabiv2-minilibc/gcc'
Makefile:873: recipe for target 'all' failed

--> start error output

error code: 2
*** This configuration is not supported in the following subdirectories:
     target-libgomp target-libatomic target-libcilkrts target-libitm target-libsanitizer target-libvtv target-libmpx gnattools gotools target-libada target-libgfortran target-libbacktrace target-libgo target-libffi target-zlib target-libjava target-libobjc target-liboffloadmic target-boehm-gc
    (Any other directories should still work fine.)
libtool: install: warning: remember to run `libtool --finish /root/toolchain-build/install-csky-elfabiv2-minilibc/libexec/gcc/csky-elfabiv2/6.3.0'
configure: WARNING: decimal float is not supported for this target, ignored
configure: WARNING: fixed-point is not supported for this target, ignored
Links are now set up to build a cross-compiler
 from x86_64-pc-linux-gnu to csky-unknown-elfabiv2.
/root/toolchain-build/source//gcc/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, source_location)’:
/root/toolchain-build/source//gcc/libcpp/expr.c:686:18: warning: format not a string literal and no format arguments [-Wformat-security]
        0, message);
                  ^
/root/toolchain-build/source//gcc/libcpp/expr.c:689:39: warning: format not a string literal and no format arguments [-Wformat-security]
           virtual_location, 0, message);
                                       ^
/root/toolchain-build/source//gcc/libcpp/macro.c: In function ‘bool create_iso_definition(cpp_reader*, cpp_macro*)’:
/root/toolchain-build/source//gcc/libcpp/macro.c:3093:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
/root/toolchain-build/source//gcc/libcpp/macro.c:3106:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
/root/toolchain-build/source//gcc/libcpp/expr.c: In function ‘unsigned int cpp_classify_number(cpp_reader*, const cpp_token*, const char**, source_location)’:
/root/toolchain-build/source//gcc/libcpp/expr.c:686:18: warning: format not a string literal and no format arguments [-Wformat-security]
        0, message);
                  ^
/root/toolchain-build/source//gcc/libcpp/expr.c:689:39: warning: format not a string literal and no format arguments [-Wformat-security]
           virtual_location, 0, message);
                                       ^
/root/toolchain-build/source//gcc/libcpp/macro.c: In function ‘bool create_iso_definition(cpp_reader*, cpp_macro*)’:
/root/toolchain-build/source//gcc/libcpp/macro.c:3093:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
/root/toolchain-build/source//gcc/libcpp/macro.c:3106:58: warning: format not a string literal and no format arguments [-Wformat-security]
        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
                                                          ^
ar: `u' modifier ignored since `D' is the default (see `U')
configure: WARNING: decimal float is not supported for this target, ignored
ar: `u' modifier ignored since `D' is the default (see `U')
gengtype-lex.c: In function ‘int yy_get_next_buffer()’:
gengtype-lex.c:2222:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from ./tm_p.h:4:0,
                 from build/gencondmd.c:26:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/genhooks.c: In function ‘void emit_documentation(const char*)’:
/root/toolchain-build/source//gcc/gcc/genhooks.c:130:3: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   while (fscanf (f, "%*[^@]"), buf[0] = '\0',
   ^
/root/toolchain-build/source//gcc/gcc/genhooks.c:139:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%999s", buf);
                               ^
/root/toolchain-build/source//gcc/gcc/genhooks.c:192:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%5[^ \n]", buf);
                                  ^
/root/toolchain-build/source//gcc/gcc/genhooks.c:198:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
       fscanf (f, "%999s", buf);
                               ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/c-family/c-common.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/c-family/c-cppbuiltin.c:25:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/c-family/c-opts.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/c-family/c-pragma.c:26:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
GIMPLE decision tree has 1428 leafs, maximum depth 10 and a total number of 5495 nodes
removed 734 duplicate tails
GENERIC decision tree has 1428 leafs, maximum depth 10 and a total number of 5495 nodes
removed 734 duplicate tails
In file included from tm_p.h:4:0,
                 from insn-attrtab.c:17:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-automata.c:14:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-dfatab.c:17:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-emit.c:15:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-latencytab.c:17:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-opinit.c:15:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-output.c:24:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-peep.c:15:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from tm_p.h:4:0,
                 from insn-preds.c:15:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.md:3472: warning: operand 3 missing mode?
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.md:3472: warning: operand 5 missing mode?
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.md:3490: warning: operand 3 missing mode?
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.md:3490: warning: operand 5 missing mode?
Statistics for recog:
  Number of decisions:   6919
  longest path:           664 (code:   1070)
  longest backtrack:       13 (code:   1141)
Statistics for split_insns:
  Number of decisions:     26
  longest path:             9 (code:      9)
  longest backtrack:        2 (code:      4)
Statistics for peephole2_insns:
  Number of decisions:     32
  longest path:            32 (code:      1)
  longest backtrack:        0 (code:      1)
Shared 5358 out of 10421 states by creating 1102 new states, saving 4256
In file included from tm_p.h:4:0,
                 from insn-recog.c:10:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ggc-page.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/alias.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/builtins.c:33:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm.h:21:0,
                 from /root/toolchain-build/source//gcc/gcc/backend.h:28,
                 from /root/toolchain-build/source//gcc/gcc/builtins.c:27:
/root/toolchain-build/source//gcc/gcc/builtins.c: In function ‘int apply_args_size()’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:323:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((((REGNO) >= CSKY_FIRST_PARM_REG) &&      \
              ^
/root/toolchain-build/source//gcc/gcc/builtins.c:1309:6: note: in expansion of macro ‘FUNCTION_ARG_REGNO_P’
  if (FUNCTION_ARG_REGNO_P (regno))
      ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/caller-save.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/calls.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ccmp.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/cfgcleanup.c:41:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/cfgexpand.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/combine.c:87:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/compare-elim.c:64:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/coverage.c:35:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/cse.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/cselib.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dbxout.c:76:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dce.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/df-problems.c:31:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/df-scan.c:32:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dojump.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dse.c:35:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dwarf2asm.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dwarf2cfi.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/dwarf2out.c:65:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/emit-rtl.c:42:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/except.c:121:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/explow.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/expmed.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/expr.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/final.c:55:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/fold-const.c:52:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/function.c:44:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/fwprop.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/gcse.c:144:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/haifa-sched.c:133:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/hsa-brig.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/hsa-brig.c: In function ‘void brig_init()’:
/root/toolchain-build/source//gcc/gcc/hsa-brig.c:495:48: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
    asprintf (&modname2, "%s_%s", modname, part);
                                                ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ifcvt.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm.h:21:0,
                 from /root/toolchain-build/source//gcc/gcc/backend.h:28,
                 from /root/toolchain-build/source//gcc/gcc/ifcvt.c:23:
/root/toolchain-build/source//gcc/gcc/ifcvt.c: In function ‘int dead_or_predicable(basic_block, basic_block, basic_block, edge, int)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:323:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((((REGNO) >= CSKY_FIRST_PARM_REG) &&      \
              ^
/root/toolchain-build/source//gcc/gcc/ifcvt.c:5148:10: note: in expansion of macro ‘FUNCTION_ARG_REGNO_P’
      if (FUNCTION_ARG_REGNO_P (i)
          ^
/root/toolchain-build/source//gcc/gcc/ifcvt.c: At global scope:
/root/toolchain-build/source//gcc/gcc/ifcvt.c:4534:1: warning: ‘int find_cond_trap(basic_block, edge, edge)’ defined but not used [-Wunused-function]
 find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge)
 ^
/root/toolchain-build/source//gcc/gcc/ifcvt.c:4737:1: warning: ‘int find_if_case_1(basic_block, edge, edge)’ defined but not used [-Wunused-function]
 find_if_case_1 (basic_block test_bb, edge then_edge, edge else_edge)
 ^
/root/toolchain-build/source//gcc/gcc/ifcvt.c:4857:1: warning: ‘int find_if_case_2(basic_block, edge, edge)’ defined but not used [-Wunused-function]
 find_if_case_2 (basic_block test_bb, edge then_edge, edge else_edge)
 ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ree.c:226:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ira.c:374:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ira-costs.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
/root/toolchain-build/source//gcc/gcc/ira-costs.c: In function ‘bool ok_for_index_p_nonstrict(rtx)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/ira-costs.c:1050:44: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
   return regno >= FIRST_PSEUDO_REGISTER || REGNO_OK_FOR_INDEX_P (regno);
                                            ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ira-conflicts.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ira-color.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ira-lives.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/jump.c:45:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/loop-invariant.c:46:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm.h:21:0,
                 from /root/toolchain-build/source//gcc/gcc/backend.h:28,
                 from /root/toolchain-build/source//gcc/gcc/loop-invariant.c:40:
/root/toolchain-build/source//gcc/gcc/loop-invariant.c: In function ‘bool check_dependency(basic_block, df_ref, bitmap)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:323:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((((REGNO) >= CSKY_FIRST_PARM_REG) &&      \
              ^
/root/toolchain-build/source//gcc/gcc/loop-invariant.c:992:7: note: in expansion of macro ‘FUNCTION_ARG_REGNO_P’
    && FUNCTION_ARG_REGNO_P (regno)
       ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lower-subreg.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lra.c:112:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lra-assigns.c:86:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lra-constraints.c:118:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
/root/toolchain-build/source//gcc/gcc/lra-constraints.c: In function ‘bool ok_for_index_p_nonstrict(rtx)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/lra-constraints.c:633:44: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
   return regno >= FIRST_PSEUDO_REGISTER || REGNO_OK_FOR_INDEX_P (regno);
                                            ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lra-eliminations.c:62:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/lra-lives.c:36:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/mode-switching.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/optabs.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/passes.c:35:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/postreload-gcse.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/postreload.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/recog.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/regcprop.c:26:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
/root/toolchain-build/source//gcc/gcc/regcprop.c: In function ‘bool replace_oldest_value_addr(rtx_def**, reg_class, machine_mode, addr_space_t, rtx_insn*, value_data*)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regcprop.c:578:10: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      if (REGNO_OK_FOR_INDEX_P (regno1)
          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regcprop.c:581:15: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      else if (REGNO_OK_FOR_INDEX_P (regno0)
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regcprop.c:585:11: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
        || REGNO_OK_FOR_INDEX_P (regno1))
           ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/reginfo.c:36:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/regrename.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
/root/toolchain-build/source//gcc/gcc/regrename.c: In function ‘void scan_rtx_address(rtx_insn*, rtx_def**, reg_class, scan_actions, machine_mode, addr_space_t)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regrename.c:1315:10: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      if (REGNO_OK_FOR_INDEX_P (regno1)
          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regrename.c:1318:15: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      else if (REGNO_OK_FOR_INDEX_P (regno0)
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:666:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/regrename.c:1322:11: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
        || REGNO_OK_FOR_INDEX_P (regno1))
           ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/reload.c:99:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:651:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
/root/toolchain-build/source//gcc/gcc/reload.c: In function ‘int find_reloads_address_1(machine_mode, addr_space_t, rtx, int, rtx_code, rtx_code, rtx_def**, int, reload_type, int, rtx_insn*)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:662:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/reload.c:5602:10: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      if (REGNO_OK_FOR_INDEX_P (REGNO (op1))
          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:662:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/reload.c:5605:15: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      else if (REGNO_OK_FOR_INDEX_P (REGNO (op0))
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:662:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/reload.c:5612:15: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      else if (REGNO_OK_FOR_INDEX_P (REGNO (op1)))
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:662:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/reload.c:5620:15: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
      else if (REGNO_OK_FOR_INDEX_P (REGNO (op0)))
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:662:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                      \
      ^
/root/toolchain-build/source//gcc/gcc/reload.c:5690:11: note: in expansion of macro ‘REGNO_OK_FOR_INDEX_P’
       && !REGNO_OK_FOR_INDEX_P (REGNO (XEXP (op1, 1))))
           ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/reload1.c:29:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/reorg.c:111:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/resource.c:26:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/rtlanal.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/addresses.h: In function ‘bool ok_for_base_p_1(unsigned int, machine_mode, addr_space_t, rtx_code, rtx_code)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:40:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((N) < CSKY_NGPR_REGS && (N) >= 0)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:655:6: note: in expansion of macro ‘CSKY_GENERAL_REGNO_P’
     (CSKY_GENERAL_REGNO_P(REGNO)                       \
      ^
/root/toolchain-build/source//gcc/gcc/addresses.h:71:10: note: in expansion of macro ‘REGNO_OK_FOR_BASE_P’
   return REGNO_OK_FOR_BASE_P (regno);
          ^
In file included from ./tm.h:21:0,
                 from /root/toolchain-build/source//gcc/gcc/backend.h:28,
                 from /root/toolchain-build/source//gcc/gcc/rtlanal.c:24:
/root/toolchain-build/source//gcc/gcc/rtlanal.c: In function ‘rtx_insn* find_first_parameter_load(rtx_insn*, rtx_insn*)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.h:323:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   ((((REGNO) >= CSKY_FIRST_PARM_REG) &&      \
              ^
/root/toolchain-build/source//gcc/gcc/rtlanal.c:3919:7: note: in expansion of macro ‘FUNCTION_ARG_REGNO_P’
  if (!FUNCTION_ARG_REGNO_P (REGNO (XEXP (XEXP (p, 0), 0))))
       ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/sched-rgn.c:53:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/sdbout.c:78:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/sel-sched-ir.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/sel-sched.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/shrink-wrap.c:31:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/stmt.c:35:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/stor-layout.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/targhooks.c:58:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/toplev.c:35:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/asan.c:33:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/ubsan.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-nested.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-ssa-coalesce.c:28:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-ssa-ifcombine.c:30:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-ssa-loop-ivopts.c:73:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-ssa-loop.c:27:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-ssa-reassoc.c:32:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/tree-vect-data-refs.c:31:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/var-tracking.c:98:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/varasm.c:36:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:11:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:240:32: warning: unused parameter ‘speed_p’ [-Wunused-parameter]
 csky_default_branch_cost (bool speed_p, bool predictable_p ATTRIBUTE_UNUSED)
                                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘void get_csky_frame_layout(csky_stack_frame*)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:1612:7: warning: variable ‘pad_arg’ set but not used [-Wunused-but-set-variable]
   int pad_arg, pad_reg, pad_local, pad_outbound;
       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:1612:16: warning: variable ‘pad_reg’ set but not used [-Wunused-but-set-variable]
   int pad_arg, pad_reg, pad_local, pad_outbound;
                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘int csky_hard_regno_mode_ok(unsigned int, machine_mode)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:2209:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
               return ((regno < (CSKY_SP_REGNUM - word_num + 1))
                              ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:2211:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                           && (regno <= (CSKY_LAST_HIGH_UNFIXED_REGNUM
                                     ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: At global scope:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:2595:35: warning: unused parameter ‘warn_compatible’ [-Wunused-parameter]
                              bool warn_compatible)
                                   ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:4657:59: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 const int get_output_csky_movedouble_length(rtx operands[])
                                                           ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘const int get_output_csky_movedouble_length(rtx_def**)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:4678:15: warning: unused variable ‘basereg’ [-Wunused-variable]
           int basereg = -1;
               ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘void csky_expand_prologue()’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:5754:11: warning: unused variable ‘remain’ [-Wunused-variable]
       int remain;
           ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:5755:11: warning: unused variable ‘rn’ [-Wunused-variable]
       int rn;
           ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘void csky_expand_epilogue()’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:5951:11: warning: unused variable ‘rn’ [-Wunused-variable]
       int rn;
           ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:5952:11: warning: unused variable ‘remain’ [-Wunused-variable]
       int remain;
           ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: At global scope:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:6251:51: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 const int csky_get_unexpanded_epilogue_length(void)
                                                   ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7126:39: warning: unused parameter ‘mode’ [-Wunused-parameter]
 csky_register_move_cost (machine_mode mode,
                                       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7378:39: warning: unused parameter ‘outer_code’ [-Wunused-parameter]
 ck803_rtx_costs (rtx x, int code, int outer_code, int *total,
                                       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7440:55: warning: unused parameter ‘extra_cost’ [-Wunused-parameter]
                          const struct cpu_cost_table *extra_cost,
                                                       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7925:13: warning: unused parameter ‘libname’ [-Wunused-parameter]
         rtx libname,
             ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘int csky_split_constant(rtx_code, machine_mode, rtx, long int, rtx, rtx, int)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:8000:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: At global scope:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7970:55: warning: unused parameter ‘mode’ [-Wunused-parameter]
 csky_split_constant (enum rtx_code code, machine_mode mode, rtx insn,
                                                       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7971:57: warning: unused parameter ‘source’ [-Wunused-parameter]
                      HOST_WIDE_INT val, rtx target, rtx source,
                                                         ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:7972:26: warning: unused parameter ‘subtargets’ [-Wunused-parameter]
                      int subtargets)
                          ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘bool csky_can_use_doloop_p(const widest_int&, const widest_int&, unsigned int, bool)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:8013:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   if (!entered_at_top || (CSKY_ISA_FEATURE(dspv2)) && loop_level > 1)
                                                    ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: At global scope:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:8005:73: warning: unused parameter ‘iterations_max’ [-Wunused-parameter]
 csky_can_use_doloop_p (const widest_int &iterations, const widest_int & iterations_max,
                                                                         ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘csky_cond_code maybe_get_csky_condition_code(rtx)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:8049:16: warning: unused variable ‘mode’ [-Wunused-variable]
   machine_mode mode = GET_MODE (XEXP (comparison, 0));
                ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:8050:23: warning: unused variable ‘code’ [-Wunused-variable]
   enum csky_cond_code code;
                       ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘const int get_output_csky_movedouble_length(rtx_def**)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:4730:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘bool is_stm_from_csky_live_regs(int, int*, int*)’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:6245:22: warning: ‘end_reg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         *er = end_reg;
                      ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:6243:24: warning: ‘begin_reg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         *br = begin_reg;
                        ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c: In function ‘void csky_reorg()’:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:991:38: warning: ‘selected_address’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   new_fix->address = selected_address;
                                      ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky.c:915:17: note: ‘selected_address’ was declared here
   HOST_WIDE_INT selected_address;
                 ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/config/csky/csky-builtins.c:9:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/config/csky/csky-builtins.c:544:44: warning: unused parameter ‘map_mode’ [-Wunused-parameter]
 csky_expand_args (rtx target, machine_mode map_mode, int fcode,
                                            ^
/root/toolchain-build/source//gcc/gcc/config/csky/csky-builtins.c:544:58: warning: unused parameter ‘fcode’ [-Wunused-parameter]
 csky_expand_args (rtx target, machine_mode map_mode, int fcode,
                                                          ^
/root/toolchain-build/source//gcc/gcc/config/csky/csky-builtins.c:152:1: warning: ‘csky_binoptv128_qualifiers’ defined but not used [-Wunused-variable]
 csky_binoptv128_qualifiers[SIMD_MAX_BUILTIN_ARGS]
 ^
/root/toolchain-build/source//gcc/gcc/config/csky/csky-builtins.c:176:1: warning: ‘csky_binoptv64_qualifiers’ defined but not used [-Wunused-variable]
 csky_binoptv64_qualifiers[SIMD_MAX_BUILTIN_ARGS]
 ^
In file included from ./tm_p.h:4:0,
                 from /root/toolchain-build/source//gcc/gcc/cp/rtti.c:26:
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:207:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int get_output_csky_movedouble_length(rtx operands[]);
                                                                  ^
/root/toolchain-build/source//gcc/gcc/config/csky/abiv2_csky-protos.h:239:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 extern const int csky_get_unexpanded_epilogue_length(void);
                                                          ^
/root/toolchain-build/source//gcc/gcc/lto-wrapper.c: In function ‘bool find_and_merge_options(int, off_t, const char*, cl_decoded_option**, unsigned int*, const char*)’:
/root/toolchain-build/source//gcc/gcc/lto-wrapper.c:912:26: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
   read (fd, data, length);
                          ^
gengtype-lex.c: In function ‘int yy_get_next_buffer()’:
gengtype-lex.c:2222:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/root/toolchain-build/source//gcc/gcc/gcc.c: In function ‘long unsigned int get_random_number()’:
/root/toolchain-build/source//gcc/gcc/gcc.c:9518:46: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
       read (fd, &ret, sizeof (HOST_WIDE_INT));
                                              ^
/root/toolchain-build/source//gcc/gcc/gcc.c: In function ‘void do_report_bug(const char**, int, char**, char**)’:
/root/toolchain-build/source//gcc/gcc/gcc.c:6804:24: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
   write (fd, "\n//", 3);
                        ^
/root/toolchain-build/source//gcc/gcc/gcc.c:6807:25: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
       write (fd, " ", 1);
                         ^
/root/toolchain-build/source//gcc/gcc/gcc.c:6808:52: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
       write (fd, new_argv[i], strlen (new_argv[i]));
                                                    ^
/root/toolchain-build/source//gcc/gcc/gcc.c:6810:24: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
   write (fd, "\n\n", 2);
                        ^
Applying sysv68_string            to string.h
Applying gnu_types                to stdlib.h
Fixed:  stdlib.h
Quoted includes in stdlib.h
Applying glibc_stdint             to stdint.h
Applying stdio_va_list            to stdio.h
Fixed:  stdio.h
/root/toolchain-build/source//gcc/gcc/lto/lto.c: In function ‘void lto_resolution_read(splay_tree, FILE*, lto_file*)’:
/root/toolchain-build/source//gcc/gcc/lto/lto.c:1873:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   fscanf (resolution, " ");   /* Read white space. */
                           ^
/root/toolchain-build/source//gcc/gcc/lto/lto.c:1875:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   fread (obj_name, sizeof (char), name_len, resolution);
                                                        ^
/root/toolchain-build/source//gcc/gcc/lto/lto.c:1895:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
   fscanf (resolution, "%u", &num_symbols);
                                          ^
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck802
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck801
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck803
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck807
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck860
configure: WARNING: decimal float is not supported for this target, ignored
mkdir soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck803/soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck803/hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck807/soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir ck807/hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck802
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck801
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck803
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck807
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck860
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck803/soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck803/hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck807/soft-fp
configure: WARNING: decimal float is not supported for this target, ignored
mkdir big/ck807/hard-fp
configure: WARNING: decimal float is not supported for this target, ignored
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc: In member function 'void std::locale::_Impl::_M_init_extra(void*, void*, const char*, const char*)':
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:139:50: warning: unused parameter 'clocm' [-Wunused-parameter]
   locale::_Impl::_M_init_extra(void* cloc, void* clocm,
                                                  ^~~~~
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:140:61: warning: unused parameter '__smon' [-Wunused-parameter]
                                const char* __s, const char* __smon)
                                                             ^~~~~~
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc: In member function 'void std::locale::_Impl::_M_init_extra(void*, void*, const char*, const char*)':
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:139:50: warning: unused parameter 'clocm' [-Wunused-parameter]
   locale::_Impl::_M_init_extra(void* cloc, void* clocm,
                                                  ^~~~~
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:140:61: warning: unused parameter '__smon' [-Wunused-parameter]
                                const char* __s, const char* __smon)
                                                             ^~~~~~
/tmp/ccEQVnwQ.s: Assembler messages:
/tmp/ccEQVnwQ.s:2689: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:3255: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:4378: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:4972: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:5360: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:5959: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:7402: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:7968: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:9096: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:9693: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:10102: Error: The instruction is not recognized.
/tmp/ccEQVnwQ.s:10707: Error: The instruction is not recognized.
make[9]: *** [bitmap_allocator.lo] Error 1
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc: In member function 'void std::locale::_Impl::_M_init_extra(void*, void*, const char*, const char*)':
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:139:50: warning: unused parameter 'clocm' [-Wunused-parameter]
   locale::_Impl::_M_init_extra(void* cloc, void* clocm,
                                                  ^~~~~
/root/toolchain-build/source//gcc/libstdc++-v3/src/c++11/cow-locale_init.cc:140:61: warning: unused parameter '__smon' [-Wunused-parameter]
                                const char* __s, const char* __smon)
                                                             ^~~~~~
make[9]: *** No rule to make target '../src/c++98/libc++98convenience.la', needed by 'libstdc++.la'.  Stop.
make[8]: *** [all-recursive] Error 1
make[7]: *** [all-recursive] Error 1
make[6]: *** [all] Error 2
make[5]: *** [multi-do] Error 1
make[4]: *** [all-multi] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [all] Error 2

<-- end error output

exec command: export PATH=/root/toolchain-build/install-csky-elfabiv2-minilibc/bin/:$PATH;rm -rf ./* && /root/toolchain-build/source//gcc/configure --target=csky-elfabiv2 --enable-sjlj-exceptions --disable-shared --disable-threads --with-headers=/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/include --enable-languages=c,c++ 	--enable-libssp --disable-nls 	--with-lib=/root/toolchain-build/install-csky-elfabiv2-minilibc/csky-elfabiv2/lib/  --prefix=/root/toolchain-build/install-csky-elfabiv2-minilibc/ && make && make install 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.