Build Linux: FAILED 7/rtems-riscv on x86_64-linux-gnu (riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Tue Jan 12 11:28:16 UTC 2021


RTEMS Source Builder - Set Builder, 6 (d6cf09218910 modified)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown

Host: Linux-5.3.18-lp152.50-default-x86_64-with-glibc2.3.4
       Linux lupus 5.3.18-lp152.50-default #1 SMP Tue Nov 10 21:02:48 UTC 2020
       (29ac38d) x86_64 x86_64

Build Time: 0:09:58.717841

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany supports -fno-rtti -fno-exceptions... no
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany option to produce PIC... -fPIC -DPIC
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany PIC flag -fPIC -DPIC works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany static flag -static works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany supports -c -o file.o... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany supports -c -o file.o... (cached) yes
checking whether the /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld
 ) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for riscv-rtems7-gfortran... no
checking whether we are using the GNU Fortran compiler... no
checking whether no accepts -g... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for unistd.h... (cached) yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for dlsym in -ldl... no
checking for unistd.h... (cached) yes
checking for secure_getenv... no
checking for __secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... no
checking for getloadavg... no
checking for clock_gettime... yes
checking for strtoull... yes
checking for aligned_alloc... yes
checking for posix_memalign... yes
checking for memalign... no
checking for _aligned_malloc... no
checking for struct _Mutex_Control... yes
checking whether the target supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
checking whether the target supports hidden visibility... yes
checking whether the target supports dllexport... no
checking whether the target supports symbol aliases... yes
checking for ld used by /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imac/lp64/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imac -mabi=lp64 -mcmodel=medany... (cached) /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/col
 lect-ld
checking if the linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... (cached) yes
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking the number of available CPUs... 48
checking whether the target supports __sync_*_compare_and_swap... yes
checking for CET support... no
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating omp.h
config.status: creating omp_lib.h
config.status: creating omp_lib.f90
config.status: creating libgomp_f.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating libgomp.spec
config.status: creating testsuite/libgomp-test-support.pt.exp
config.status: creating testsuite/libgomp-site-extra.exp
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../../gnu-mirror-gcc-a958b2f/libgomp
with_multisubdir=rv64imac/lp64/medany
config.status: executing depfiles commands
config.status: executing libtool commands
Running configure in multilib subdir rv64imafdc/lp64d
pwd: /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... yes
checking for --enable-generated-files-in-srcdir... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... riscv-unknown-rtems7
checking target system type... riscv-unknown-rtems7
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for riscv-rtems7-strip... riscv-rtems7-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for riscv-rtems7-gcc... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d accepts -g... yes
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d option to accept ISO C89... none needed
checking whether /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d... gcc3
checking for riscv-rtems7-ar... riscv-rtems7-ar
checking for riscv-rtems7-ranlib... riscv-rtems7-ranlib
checking for perl... /usr/bin/perl
checking whether make sets $(MAKE)... (cached) yes
checking for makeinfo... makeinfo --split-size=5000000
checking for modern makeinfo... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld
checking if the linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm
checking the name lister (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld option to reload object files... -r
checking for riscv-rtems7-objdump... riscv-rtems7-objdump
checking how to recognize dependent libraries... unknown
checking for riscv-rtems7-ar... (cached) riscv-rtems7-ar
checking for riscv-rtems7-strip... (cached) riscv-rtems7-strip
checking for riscv-rtems7-ranlib... (cached) riscv-rtems7-ranlib
checking command to parse /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm output from /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d object... ok
checking how to run the C preprocessor... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d supports -fno-rtti -fno-exceptions... no
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d option to produce PIC... -fPIC -DPIC
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d PIC flag -fPIC -DPIC works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d static flag -static works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d supports -c -o file.o... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d supports -c -o file.o... (cached) yes
checking whether the /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) supports shared lib
 raries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for riscv-rtems7-gfortran... no
checking whether we are using the GNU Fortran compiler... no
checking whether no accepts -g... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for unistd.h... (cached) yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for dlsym in -ldl... no
checking for unistd.h... (cached) yes
checking for secure_getenv... no
checking for __secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... no
checking for getloadavg... no
checking for clock_gettime... yes
checking for strtoull... yes
checking for aligned_alloc... yes
checking for posix_memalign... yes
checking for memalign... no
checking for _aligned_malloc... no
checking for struct _Mutex_Control... yes
checking whether the target supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
checking whether the target supports hidden visibility... yes
checking whether the target supports dllexport... no
checking whether the target supports symbol aliases... yes
checking for ld used by /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d... (cached) /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld
checking if the linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... (cached) yes
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking the number of available CPUs... 48
checking whether the target supports __sync_*_compare_and_swap... yes
checking for CET support... no
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating omp.h
config.status: creating omp_lib.h
config.status: creating omp_lib.f90
config.status: creating libgomp_f.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating libgomp.spec
config.status: creating testsuite/libgomp-test-support.pt.exp
config.status: creating testsuite/libgomp-site-extra.exp
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../gnu-mirror-gcc-a958b2f/libgomp
with_multisubdir=rv64imafdc/lp64d
config.status: executing depfiles commands
config.status: executing libtool commands
Running configure in multilib subdir rv64imafdc/lp64d/medany
pwd: /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... yes
checking for --enable-generated-files-in-srcdir... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... riscv-unknown-rtems7
checking target system type... riscv-unknown-rtems7
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for riscv-rtems7-strip... riscv-rtems7-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for riscv-rtems7-gcc... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany accepts -g... yes
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany option to accept ISO C89... none needed
checking whether /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany... gcc3
checking for riscv-rtems7-ar... riscv-rtems7-ar
checking for riscv-rtems7-ranlib... riscv-rtems7-ranlib
checking for perl... /usr/bin/perl
checking whether make sets $(MAKE)... (cached) yes
checking for makeinfo... makeinfo --split-size=5000000
checking for modern makeinfo... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/col
 lect-ld
checking if the linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm
checking the name lister (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld option to reload object files... -r
checking for riscv-rtems7-objdump... riscv-rtems7-objdump
checking how to recognize dependent libraries... unknown
checking for riscv-rtems7-ar... (cached) riscv-rtems7-ar
checking for riscv-rtems7-strip... (cached) riscv-rtems7-strip
checking for riscv-rtems7-ranlib... (cached) riscv-rtems7-ranlib
checking command to parse /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/nm output from /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmo
 del=medany object... ok
checking how to run the C preprocessor... /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany supports -fno-rtti -fno-exceptions... no
checking for /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany option to produce PIC... -fPIC -DPIC
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany PIC flag -fPIC -DPIC works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany static flag -static works... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany supports -c -o file.o... yes
checking if /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany supports -c -o file.o... (cached) yes
checking whether the /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/c
 ollect-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for riscv-rtems7-gfortran... no
checking whether we are using the GNU Fortran compiler... no
checking whether no accepts -g... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for unistd.h... (cached) yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for dlsym in -ldl... no
checking for unistd.h... (cached) yes
checking for secure_getenv... no
checking for __secure_getenv... no
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... no
checking for getloadavg... no
checking for clock_gettime... yes
checking for strtoull... yes
checking for aligned_alloc... yes
checking for posix_memalign... yes
checking for memalign... no
checking for _aligned_malloc... no
checking for struct _Mutex_Control... yes
checking whether the target supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
checking whether the target supports hidden visibility... yes
checking whether the target supports dllexport... no
checking whether the target supports symbol aliases... yes
checking for ld used by /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/xgcc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/ -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/newlib/targ-include -isystem /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/gnu-mirror-gcc-a958b2f/newlib/libc/include -B/tmp/sh/rtems/7/riscv-rtems7/bin/ -B/tmp/sh/rtems/7/riscv-rtems7/lib/ -isystem /tmp/sh/rtems/7/riscv-rtems7/include -isystem /tmp/sh/rtems/7/riscv-rtems7/sys-include  -march=rv64imafdc -mabi=lp64d -mcmodel=medany... (cached) /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/
 ./gcc/collect-ld
checking if the linker (/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... (cached) yes
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking the number of available CPUs... 48
checking whether the target supports __sync_*_compare_and_swap... yes
checking for CET support... no
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating omp.h
config.status: creating omp_lib.h
config.status: creating omp_lib.f90
config.status: creating libgomp_f.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating libgomp.spec
config.status: creating testsuite/libgomp-test-support.pt.exp
config.status: creating testsuite/libgomp-site-extra.exp
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../../gnu-mirror-gcc-a958b2f/libgomp
with_multisubdir=rv64imafdc/lp64d/medany
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/build'
make: *** [Makefile:967: all] Error 2
shell cmd failed: /bin/sh -ex  /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1/do-build
error: building riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
  See error report: rsb-report-riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 7/rtems-riscv
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 7.416MB (installed: 1.323MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-linux-gnu-1
building: gmp-6.1.0-x86_64-linux-gnu-1
sizes: gmp-6.1.0-x86_64-linux-gnu-1: 33.787MB (installed: 4.354MB)
cleaning: gmp-6.1.0-x86_64-linux-gnu-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-head.cfg
package: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1
building: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1
sizes: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1: 846.960MB (installed: 122.796MB)
cleaning: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-head.cfg
package: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1
building: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1
sizes: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1: 676.749MB (installed: 166.435MB)
cleaning: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
building: riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
error: building riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1.txt
error: building riscv-rtems7-gcc-a958b2f-newlib-a485393-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:18:22 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:18:22 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:18:40 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:18:40 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:19:37 2021
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v10dadad for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  10dadad
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-10dadad.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/10dadad
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-10dadad
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=riscv-rtems7  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no    --with-python=/usr/bin/python2  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:19:37 2021
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-10dadad-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v10dadad for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  10dadad
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-10dadad.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/10dadad
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-10dadad
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=riscv-rtems7  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no    --with-python=/usr/bin/python2  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:20:11 2021
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v10dadad for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  10dadad
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-10dadad.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/10dadad
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-10dadad
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=riscv-rtems7  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --disable-lto  --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info
  make -j 48 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  mkdir -p $SB_BUILD_ROOT/tmp/sh/rtems/7/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 12 12:20:11 2021
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Repository is dirty
 Head:
  Commit: d6cf09218910e7a6b055dda186231aae0ea31517
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-10dadad-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v10dadad for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  10dadad
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-10dadad.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/10dadad
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-10dadad
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=riscv-rtems7  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --disable-lto  --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/tmp/sh/rtems/7 --bindir=/tmp/sh/rtems/7/bin  --exec-prefix=/tmp/sh/rtems/7  --includedir=/tmp/sh/rtems/7/include --libdir=/tmp/sh/rtems/7/lib  --mandir=/tmp/sh/rtems/7/share/man --infodir=/tmp/sh/rtems/7/share/info
  make -j 48 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/tmp/sh/rtems/7/share/info/dir
  mkdir -p $SB_BUILD_ROOT/tmp/sh/rtems/7/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/bin/riscv-rtems7-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/tmp/sh/rtems/7/share/man/man1/riscv-rtems7-windmc*
  fi
  cd ${build_top}




More information about the build mailing list