Open yaroslavsadin opened 4 months ago
Please see configure lines below.
[DEBUG] ==> Executing: CC_FOR_BUILD='x86_64-build_pc-linux-gnu-gcc'
CFLAGS_FOR_BUILD='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
CXXFLAGS_FOR_BUILD='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
LDFLAGS_FOR_BUILD='-L/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/lib '
CFLAGS='-O2 -g -pipe -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
CXXFLAGS='-O2 -g -pipe -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
LDFLAGS='-L/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/lib '
'/usr/bin/bash'
'/home/arcoss/crosstool-ng/.build/arc64-snps-elf/src/binutils/configure'
'--build=x86_64-build_pc-linux-gnu'
'--host=x86_64-build_pc-linux-gnu'
'--target=arc64-snps-elf'
'--prefix=/home/arcoss/crosstool-ng/arc64-unknown-elf'
'--disable-werror'
'--enable-ld=yes'
'--enable-gold=no'
'--enable-deterministic-archives'
'--with-pkgversion=ARCv3 elf toolchain - build 6967'
'--enable-multilib'
'--disable-sim'
'--disable-gdb'
'--disable-nls'
'--without-zstd'
'--with-sysroot=/home/arcoss/crosstool-ng/arc64-unknown-elf/arc64-snps-elf'
[DEBUG] ==> Executing: CC_FOR_BUILD='x86_64-build_pc-linux-gnu-gcc'
CFLAGS='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
CFLAGS_FOR_BUILD='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
CXXFLAGS='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
CXXFLAGS_FOR_BUILD='-O2 -g -I/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/include '
LDFLAGS='-L/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/lib '
CFLAGS_FOR_TARGET='-g -O2 -g -O2 -ffunction-sections -fdata-sections -idirafter /home/arcoss/crosstool-ng/arc64-unknown-elf/arc64-snps-elf/include'
CXXFLAGS_FOR_TARGET='-g -O2 -g -O2 -ffunction-sections -fdata-sections -idirafter /home/arcoss/crosstool-ng/arc64-unknown-elf/arc64-snps-elf/include'
LDFLAGS_FOR_TARGET=' -static'
'/usr/bin/bash'
'/home/arcoss/crosstool-ng/.build/arc64-snps-elf/src/gcc/configure'
'--build=x86_64-build_pc-linux-gnu'
'--host=x86_64-build_pc-linux-gnu'
'--target=arc64-snps-elf'
'--prefix=/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools'
'--exec_prefix=/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools'
'--with-local-prefix=/home/arcoss/crosstool-ng/arc64-unknown-elf/arc64-snps-elf'
'--with-sysroot=/home/arcoss/crosstool-ng/arc64-unknown-elf/arc64-snps-elf'
'--with-native-system-header-dir=/include'
'--with-newlib'
'--enable-threads=no'
'--disable-shared'
'--with-pkgversion=ARCv3 elf toolchain - build 6967'
'--enable-__cxa_atexit'
'--disable-libgomp'
'--disable-libmudflap'
'--disable-libmpx'
'--disable-libssp'
'--disable-libquadmath'
'--disable-libquadmath-support'
'--disable-libstdcxx-verbose'
'--disable-libstdcxx'
'--with-gmp=/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools'
'--with-mpfr=/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools'
'--with-mpc=/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools'
'--with-isl=no'
'--with-cloog=no'
'--enable-lto'
'--disable-nls'
'--disable-tls'
'--enable-multiarch'
'--enable-languages=c'
[DEBUG] ==> Executing: CC_FOR_BUILD='x86_64-build_pc-linux-gnu-gcc'
CFLAGS_FOR_TARGET=' -g -O2 -ffunction-sections -fdata-sections '
AR_FOR_TARGET='/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/bin/arc64-snps-elf-gcc-ar'
RANLIB_FOR_TARGET='/home/arcoss/crosstool-ng/.build/arc64-snps-elf/buildtools/bin/arc64-snps-elf-gcc-ranlib'
'/usr/bin/bash'
'/home/arcoss/crosstool-ng/.build/arc64-snps-elf/src/newlib/configure'
'--host=x86_64-build_pc-linux-gnu'
'--target=arc64-snps-elf'
'--prefix=/home/arcoss/crosstool-ng/arc64-unknown-elf'
'--enable-newlib-io-float'
'--disable-newlib-io-long-double'
'--enable-newlib-supplied-syscalls'
'--disable-newlib-io-pos-args'
'--disable-newlib-io-c99-formats'
'--enable-newlib-io-long-long'
'--disable-newlib-register-fini'
'--disable-newlib-nano-malloc'
'--disable-newlib-nano-formatted-io'
'--enable-newlib-atexit-dynamic-alloc'
'--enable-newlib-global-atexit'
'--disable-lite-exit'
'--disable-newlib-reent-small'
'--enable-newlib-multithread'
'--disable-newlib-retargetable-locking'
'--enable-newlib-wide-orient'
'--enable-newlib-fseek-optimization'
'--enable-newlib-fvwrite-in-streamio'
'--enable-newlib-unbuf-stream-opt'
'--disable-target-optspace'
It seems there are 2 discern issues among these 4 failures.
during RTL pass: expand: arc-timer.c
during RTL pass: vregs: hl_{write,lseek,api}.c
@yaroslavsadin could you provide the preprocessed versions of these files (obtained by -save-temps
)?
@shahab-vahedi preprocessed files attached. preprocessed.zip
On my end, I cannot reproduce this with a multilib hs6x toolcahin built with arc-gnu-toolchain.
Several files cause compiler errors when building on branch
arc64
(aka dev branch) which is used for daily builds.