Build Linux: FAILED 7/rtems-riscv on x86_64-linux-gnu (riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Sun Jan 17 23:24:27 UTC 2021


RTEMS Source Builder - Set Builder, 6 (e6f29b3fe54a)
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:12:13.420730

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking for enabled PCH... no
checking for thread model used by GCC... rtems
checking for atomic builtins for bool... no
checking for atomic builtins for short... no
checking for atomic builtins for int... yes
checking for atomic builtins for long long... yes
checking for lock policy for shared_ptr reference counts... mutex
checking for ISO/IEC TR 24733 ... no
checking for __int128... yes
checking for __float128... no
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for underlying I/O to use... stdio
checking for C locale to use... newlib
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for enabled wchar_t specializations... yes
checking for sin in -lm... yes
checking for ISO C99 support in <math.h> for C++98... yes
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h> for C++98... no
checking for ISO C99 support in <stdio.h> for C++98... yes
checking for ISO C99 support in <stdlib.h> for C++98... yes
checking for ISO C99 support in <wchar.h> for C++98... yes
checking for sin in -lm... (cached) yes
checking for ISO C99 support in <math.h> for C++11... yes
checking for tgmath.h... (cached) yes
checking for complex.h... (cached) yes
checking for ISO C99 support in <complex.h> for C++11... no
checking for ISO C99 support in <stdio.h> for C++11... yes
checking for ISO C99 support in <stdlib.h> for C++11... yes
checking for ISO C99 support in <wchar.h> for C++11... yes
checking for fully enabled ISO C99 support... no
configure: Debug build flags set to -gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS
checking for additional debug build... no
checking for parallel mode support... yes
checking for extra compiler flags for building... 
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... no
checking for vtable verify support... no
checking for gets declaration... yes
checking for obsolete isinf function in <math.h>... no
checking for obsolete isnan function in <math.h>... no
checking uchar.h usability... no
checking uchar.h presence... no
checking for uchar.h... no
no
checking for int64_t... yes
checking for int64_t as long... yes
checking for int64_t as long long... checking for LFS support... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for poll... no
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for complex.h... (cached) yes
checking for complex.h... (cached) yes
checking for ISO C99 support to TR1 in <complex.h>... no
checking for ISO C99 support to TR1 in <ctype.h>... yes
checking for fenv.h... (cached) yes
checking for ISO C99 support to TR1 in <fenv.h>... yes
checking for ISO C99 support to TR1 in <stdint.h>... yes
checking for ISO C99 support to TR1 in <math.h>... no
checking for ISO C99 support to TR1 in <inttypes.h>... yes
checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2
checking for gettimeofday... checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for tmpnam... yes
checking for pthread_cond_clockwait... no
checking for pthread_mutex_clocklock... no
checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking for get_nprocs... no
checking for unistd.h... (cached) yes
checking for _SC_NPROCESSORS_ONLN... yes
checking for _SC_NPROC_ONLN... no
checking for pthreads_num_processors_np... no
checking for hw.ncpu sysctl... no
checking for suitable sys/sdt.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking machine/param.h usability... yes
checking machine/param.h presence... yes
checking for machine/param.h... yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... no
checking sys/ipc.h presence... no
checking for sys/ipc.h... no
checking sys/isa_defs.h usability... no
checking sys/isa_defs.h presence... no
checking for sys/isa_defs.h... no
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sem.h usability... no
checking sys/sem.h presence... no
checking for sys/sem.h... no
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking for linux/random.h... no
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking for GNU c++filt... /usr/bin/c++filt
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... no
checking whether the target supports hidden visibility... yes
configure: visibility supported: yes
checking for default std::string ABI to use... new
checking for rdrand support in assembler... no
checking for rdseed support in assembler... no
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for RLIMIT_DATA... no
checking for RLIMIT_RSS... no
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... no
checking for RLIMIT_FSIZE... no
checking for testsuite resource limits support... no
checking whether it can be safely assumed that mutex_timedlock is available... yes
checking for gthreads library... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for POSIX Semaphores and sem_timedwait... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/statvfs.h usability... no
checking sys/statvfs.h presence... no
checking for sys/statvfs.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether to build Filesystem TS support... yes
checking for struct dirent.d_type... yes
checking for realpath... no
checking for utimensat... no
checking for utime... no
checking for lstat... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for fchmod... yes
checking for fchmodat... no
checking for sendfile that can copy files... no
checking for link... no
checking for readlink... no
checking for symlink... no
checking for truncate... no
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/uio.h... (cached) yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking how size_t is mangled... m
checking for makeinfo... makeinfo --split-size=5000000
checking for modern makeinfo... yes
checking for doxygen... yes
checking for dot... yes
checking for xmlcatalog... yes
checking for xsltproc... yes
checking for xmllint... yes
checking for local stylesheet directory... yes
configure: /usr/share/xml/docbook/stylesheet/nwalsh/current
checking for docbook stylesheets for documentation creation... no
checking for epub3 stylesheets for documentation creation... yes
checking for dblatex... no
checking for pdflatex... yes
checking for CET support... no
configure: updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... yes
checking for install location... ${libdir}/gcc/${host_alias}/${gcc_version}/include/c++
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/testsuite_flags
config.status: creating scripts/extract_symvers
config.status: creating doc/xsl/customization.xsl
config.status: creating include/Makefile
Adding multilib support to include/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating libsupc++/Makefile
Adding multilib support to libsupc++/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/Makefile
Adding multilib support to src/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/c++98/Makefile
Adding multilib support to src/c++98/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/c++11/Makefile
Adding multilib support to src/c++11/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/c++17/Makefile
Adding multilib support to src/c++17/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/c++20/Makefile
Adding multilib support to src/c++20/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating src/filesystem/Makefile
Adding multilib support to src/filesystem/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../../gnu-mirror-gcc-3804e93/libstdc++-v3
with_multisubdir=rv64imafdc/lp64d/medany
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[2]: Entering directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
make[2]: [Makefile:1753: riscv-rtems7/bits/largefile-config.h] Error 1 (ignored)
make[2]: [Makefile:1754: riscv-rtems7/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'undef _GLIBCXX_USE_FLOAT128' > stamp-float128
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr.h > riscv-rtems7/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr-single.h > riscv-rtems7/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr-posix.h > riscv-rtems7/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/config/gthr-rtems.h > riscv-rtems7/bits/gthr-default.h
make[2]: Leaving directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/build/riscv-rtems7/rv64imafdc/lp64d/medany/libstdc++-v3/include'
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[2]: Entering directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/build/riscv-rtems7/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
make[2]: [Makefile:1753: riscv-rtems7/bits/largefile-config.h] Error 1 (ignored)
make[2]: [Makefile:1754: riscv-rtems7/bits/largefile-config.h] Error 1 (ignored)
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'undef _GLIBCXX_USE_FLOAT128' > stamp-float128
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr.h > riscv-rtems7/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr-single.h > riscv-rtems7/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/gthr-posix.h > riscv-rtems7/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/gnu-mirror-gcc-3804e93/libstdc++-v3/../libgcc/config/gthr-rtems.h > riscv-rtems7/bits/gthr-default.h
make[2]: Leaving directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/build/riscv-rtems7/libstdc++-v3/include'
make[1]: Leaving directory '/tmp/sh/src/rsb/rtems/build/riscv-rtems7-gcc-3804e93-newlib-9ad86f6-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-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1/do-build
error: building riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
  See error report: rsb-report-riscv-rtems7-gcc-3804e93-newlib-9ad86f6-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.415MB (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.785MB (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-edf0f28-x86_64-linux-gnu-1
building: riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1
sizes: riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1: 846.561MB (installed: 122.798MB)
cleaning: riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-head.cfg
package: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1
building: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1
sizes: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1: 676.139MB (installed: 166.311MB)
cleaning: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
building: riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
error: building riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1.txt
error: building riscv-rtems7-gcc-3804e93-newlib-9ad86f6-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 18 00:12:18 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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> Mon Jan 18 00:12:18 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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> Mon Jan 18 00:12:36 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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> Mon Jan 18 00:12:36 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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> Mon Jan 18 00:13:34 2021
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB vedf0f28 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  edf0f28
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-edf0f28.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/edf0f28
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-edf0f28
  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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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/opt/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 18 00:13:34 2021
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-edf0f28-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB vedf0f28 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  edf0f28
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-edf0f28.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/edf0f28
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-edf0f28
  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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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/opt/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 18 00:14:07 2021
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils vedf0f28 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  edf0f28
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-edf0f28.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/edf0f28
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-edf0f28
  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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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/opt/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/rtems/7/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 18 00:14:08 2021
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: e6f29b3fe54a0b59370113101606410ad167d615
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-edf0f28-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils vedf0f28 for target riscv-rtems7 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  edf0f28
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-edf0f28.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/edf0f28
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-edf0f28
  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=/opt/rtems/7 --bindir=/opt/rtems/7/bin  --exec-prefix=/opt/rtems/7  --includedir=/opt/rtems/7/include --libdir=/opt/rtems/7/lib  --mandir=/opt/rtems/7/share/man --infodir=/opt/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/opt/rtems/7/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/7/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/rtems/7/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/7/bin/riscv-rtems7-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/7/share/man/man1/riscv-rtems7-windmc*
  fi
  cd ${build_top}


More information about the build mailing list