Build Linux: FAILED 6/rtems-mips on x86_64-linux-gnu (mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Fri Jan 22 13:06:25 UTC 2021


RTEMS Source Builder - Set Builder, 6 (c48f9509a76e)
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:01:33.520151

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
+ SB_BUILD_ROOT_BINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112/opt/rtems/6/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-cxc
+ SB_BUILD_CXC_ROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112-cxc/opt/rtems/6/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips
+ SB_TMPPREFIX=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6
+ SB_TMPBINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips
+ SB_TMPCXCPREFIX=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6
+ SB_TMPCXCBINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/home/EB/sebastian_h/src/rtems-source-builder/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/source-builder
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/source-builder:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging/bin:/home/EB/sebastian_h/src/rtems-source-builder/source-builder:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ export PATH
+ LANG=C
=> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1: CLEAN
+ export LANG
==> %clean:
+ unset DISPLAY
+ umask 022
+ cd /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
+ echo '=> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1: CLEAN'
+ echo '==> %clean:'
copy: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112 => /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips
reporting: tools/rtems-gdb-10.cfg -> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1.txt
making dir: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112/opt/rtems/6/share/rtems/rsb
reporting: tools/rtems-gdb-10.cfg -> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1.xml
making dir: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1-21112/opt/rtems/6/share/rtems/rsb
config: tools/rtems-binutils-2.36.cfg
package: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
script:  1: #!/bin/sh
script:  2: # ___build_pre as set up in defaults.py
script:  3: # Save the original path away.
script:  4: export SB_ORIG_PATH=${PATH}
script:  5: # Directories
script:  6: SB_PREFIX="/opt/rtems/6"
script:  7: SB_PREFIX_CLEAN=$(echo "/opt/rtems/6" | /usr/bin/sed -e 's/^\///')
script:  8: SB_SOURCE_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/sources"
script:  9: SB_BUILD_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 10: # host == build, use build; host != build, host uses host and build uses build
script: 11: SB_HOST_CPPFLAGS=""
script: 12: # Optionally do not add includes to c/cxx flags as newer configure's complain
script: 13: SB_HOST_CFLAGS="-O2 -g -pipe "
script: 14: SB_HOST_CXXFLAGS="-O2 -g -pipe "
script: 15: SB_HOST_LDFLAGS=" -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/lib"
script: 16: SB_HOST_LIBS=""
script: 17: SB_BUILD_CFLAGS="-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/lib"
script: 20: SB_BUILD_LBS=""
script: 21: SB_CFLAGS="${SB_BUILD_CFLAGS} "
script: 22: SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} "
script: 23: SB_ARCH="x86_64"
script: 24: SB_OS="linux"
script: 25: export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
script: 26: export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
script: 27: export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
script: 28: export SB_CFLAGS SB_CXXFLAGS
script: 29: # Documentation
script: 30: SB_DOC_DIR="/opt/rtems/6/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 34: SB_PACKAGE_BUILDNAME="mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 35: SB_PACKAGE_VERSION="68e4a5a"
script: 36: SB_PACKAGE_RELEASE="1"
script: 37: export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
script: 38: # Build directories
script: 39: export SB_PREFIX
script: 40: SB_BUILD_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 41: SB_BUILD_ROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112"
script: 42: SB_BUILD_ROOT_BINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112/${SB_PREFIX_CLEAN}/bin"
script: 43: export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
script: 44: SB_BUILD_CXC_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc/${SB_PREFIX_CLEAN}/bin"
script: 47: export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
script: 48: SB_TMPROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips"
script: 49: SB_TMPPREFIX="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips"
script: 53: SB_TMPCXCPREFIX="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/home/EB/sebastian_h/src/rtems-source-builder/source-builder"
script: 58: # The compiler flags
script: 59: 
script: 60: 
script: 61: export CFLAGS_FOR_TARGET
script: 62: export CXXFLAGS_FOR_TARGET
script: 63: # Set up the path. Put the CXC path first.
script: 64: if test -n "${SB_TMPBINDIR}" ; then
script: 65:  PATH="${SB_TMPBINDIR}:$PATH"
script: 66: fi
script: 67: if test -n "${SB_TMPCXCBINDIR}" ; then
script: 68:  PATH="${SB_TMPCXCBINDIR}:$PATH"
script: 69: fi
script: 70: if test -n "${SB_EXTRAPATH}" ; then
script: 71:  PATH="${SB_EXTRAPATH}:$PATH"
script: 72: fi
script: 73: PATH="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging/bin:$PATH"
script: 74: 
script: 75: export PATH
script: 76: # Default environment set up.
script: 77: LANG=C
script: 78: export LANG
script: 79: unset DISPLAY || :
script: 80: umask 022
script: 81: cd "/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 82: echo "=> mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1: BUILD"
script: 83: echo "==> %prep:"
script: 84: build_top=$(pwd)
script: 85: binutils_source=sourceware-mirror-binutils-gdb-68e4a5a
script: 86: source_dir_binutils=${binutils_source}
source setup: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1: source binutils -q -n ${binutils_source}
download: file-override: sourceware-mirror-binutils-gdb-68e4a5a.tar.gz
checksums: sourceware-mirror-binutils-gdb-68e4a5a.tar.gz: (hex: 35cefd3e6865be2f444242b2593a79dcb4f1910709314804bd2fe8f820fd7bc61964676cdc37216af67ff87957349deaeff3351c906a858c9a4d79d5ee15e020) (b64: Nc79Pmhlvi9EQkKyWTp53LTxkQcJMUgEvS/o+CD9e8YZZGds3DchavZ/+HlXNJ3q7/M1HJBqhYyaTXnV7hXgIA==) => 35cefd3e6865be2f444242b2593a79dcb4f1910709314804bd2fe8f820fd7bc61964676cdc37216af67ff87957349deaeff3351c906a858c9a4d79d5ee15e020
making dir: /home/EB/sebastian_h/src/rtems-source-builder/rtems/sources
script: 87: cd /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
script: 88: /bin/rm -rf ${binutils_source}
script: 89: /bin/gzip -dc /home/EB/sebastian_h/src/rtems-source-builder/rtems/sources/sourceware-mirror-binutils-gdb-68e4a5a.tar.gz | /bin/tar -xvv -f -
script: 90: tar_exit=$?
script: 91: cd ${binutils_source}
script: 92: /bin/chmod -R a+rX,g-w,o-w .
script: 93: cd ${build_top}
script: 94: SB_CXC="no"
script: 95: echo "==> clean %{buildroot}: ${SB_BUILD_ROOT}"
script: 96: /bin/rm -rf ${SB_BUILD_ROOT}
script: 97: /bin/mkdir -p ${SB_BUILD_ROOT}
script: 98: echo "==> %build:"
script: 99: build_top=$(pwd)
script:100: if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
script:101:   # Cross-build (Xc) if no target or the host and target match.
script:102:   # Canadian-cross (Cxc) if build, host and target are all different.
script:103:   if test -z "mips-rtems6" -o "x86_64-linux-gnu" == "mips-rtems6" ; then
script:104:     build_dir="build-xc"
script:105:   else
script:106:     build_dir="build-cxc"
script:107:   fi
script:108: else
script:109:   build_dir="build"
script:110: fi
script:111: mkdir -p ${build_dir}
script:112: cd ${build_dir}
script:113: # Host and build flags, Cross build if host and build are different and
script:114: # Cxc build if target is deifned and also different.
script:115: # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
script:116: if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
script:117:   # Cross build
script:118:   CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
script:119:   CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
script:120:   CPPFLAGS="${SB_HOST_CPPFLAGS}"
script:121:   CFLAGS="${SB_HOST_CFLAGS}"
script:122:   CXXFLAGS="${SB_HOST_CXXFLAGS}"
script:123:   LDFLAGS="${SB_HOST_LDFLAGS}"
script:124:   LDLIBS="${SB_HOST_LIBS}"
script:125:   LIBS="${SB_HOST_LIBS}"
script:126:   # Host
script:127:   CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
script:128:   CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
script:129:   CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
script:130:   LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
script:131:   LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
script:132:   LIBS_FOR_HOST="${SB_HOST_LIBS}"
script:133:   CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
script:134:   CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:135:   CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:136:   # Build
script:137:   CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
script:138:   CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
script:139:   LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
script:140:   LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
script:141:   LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
script:142:   CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
script:143:   CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:144:   CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:145: else
script:146:   LDFLAGS="${SB_BUILD_LDFLAGS}"
script:147:   LDLIBS="${SB_BUILD_LIBS}"
script:148:   LIBS="${SB_BUILD_LIBS}"
script:149:   CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:150:   CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:151:   CC_FOR_BUILD=${CC}
script:152:   CXX_FOR_BUILD=${CXX}
script:153: fi
script:154: export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
script:155: 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
script:156: export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
script:157: ../${source_dir_binutils}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=mips-rtems6  --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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/share/info
script:158: make -j 48 all
script:159: cd ${build_top}
script:160: echo "==> %install:"
script:161: cd ${build_top}
script:162: /bin/rm -rf $SB_BUILD_ROOT
script:163: cd ${build_dir}
script:164: make DESTDIR=$SB_BUILD_ROOT install
script:165: /bin/rm -rf $SB_BUILD_ROOT/opt/rtems/6/share/info/configure.info*
script:166: /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
script:167: touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
script:168: mkdir -p $SB_BUILD_ROOT/opt/rtems/6/share/locale
script:169: /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/lib/libiberty*
script:170: if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/mips-rtems6-dlltool; then
script:171: /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/mips-rtems6-dlltool*
script:172: fi
script:173: if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/mips-rtems6-nlmconv; then
script:174: /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/mips-rtems6-nlmconv*
script:175: fi
script:176: if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/mips-rtems6-windres; then
script:177: /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/mips-rtems6-windres*
script:178: fi
script:179: if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6/bin/mips-rtems6-windmc; then
script:180: /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6/share/man/man1/mips-rtems6-windmc*
script:181: fi
script:182: cd ${build_top}
script:  1: #!/bin/sh
script:  2: # ___build_pre as set up in defaults.py
script:  3: # Save the original path away.
script:  4: export SB_ORIG_PATH=${PATH}
script:  5: # Directories
script:  6: SB_PREFIX="/opt/rtems/6"
script:  7: SB_PREFIX_CLEAN=$(echo "/opt/rtems/6" | /usr/bin/sed -e 's/^\///')
script:  8: SB_SOURCE_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/sources"
script:  9: SB_BUILD_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 10: # host == build, use build; host != build, host uses host and build uses build
script: 11: SB_HOST_CPPFLAGS=""
script: 12: # Optionally do not add includes to c/cxx flags as newer configure's complain
script: 13: SB_HOST_CFLAGS="-O2 -g -pipe "
script: 14: SB_HOST_CXXFLAGS="-O2 -g -pipe "
script: 15: SB_HOST_LDFLAGS=" -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/lib"
script: 16: SB_HOST_LIBS=""
script: 17: SB_BUILD_CFLAGS="-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/lib"
script: 20: SB_BUILD_LBS=""
script: 21: SB_CFLAGS="${SB_BUILD_CFLAGS} "
script: 22: SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} "
script: 23: SB_ARCH="x86_64"
script: 24: SB_OS="linux"
script: 25: export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
script: 26: export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
script: 27: export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
script: 28: export SB_CFLAGS SB_CXXFLAGS
script: 29: # Documentation
script: 30: SB_DOC_DIR="/opt/rtems/6/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 34: SB_PACKAGE_BUILDNAME="mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 35: SB_PACKAGE_VERSION="68e4a5a"
script: 36: SB_PACKAGE_RELEASE="1"
script: 37: export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
script: 38: # Build directories
script: 39: export SB_PREFIX
script: 40: SB_BUILD_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 41: SB_BUILD_ROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112"
script: 42: SB_BUILD_ROOT_BINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112/${SB_PREFIX_CLEAN}/bin"
script: 43: export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
script: 44: SB_BUILD_CXC_DIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc/${SB_PREFIX_CLEAN}/bin"
script: 47: export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
script: 48: SB_TMPROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips"
script: 49: SB_TMPPREFIX="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips"
script: 53: SB_TMPCXCPREFIX="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/home/EB/sebastian_h/src/rtems-source-builder/source-builder"
script: 58: # The compiler flags
script: 59: 
script: 60: 
script: 61: export CFLAGS_FOR_TARGET
script: 62: export CXXFLAGS_FOR_TARGET
script: 63: # Set up the path. Put the CXC path first.
script: 64: if test -n "${SB_TMPBINDIR}" ; then
script: 65:  PATH="${SB_TMPBINDIR}:$PATH"
script: 66: fi
script: 67: if test -n "${SB_TMPCXCBINDIR}" ; then
script: 68:  PATH="${SB_TMPCXCBINDIR}:$PATH"
script: 69: fi
script: 70: if test -n "${SB_EXTRAPATH}" ; then
script: 71:  PATH="${SB_EXTRAPATH}:$PATH"
script: 72: fi
script: 73: PATH="/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging/bin:$PATH"
script: 74: 
script: 75: export PATH
script: 76: # Default environment set up.
script: 77: LANG=C
script: 78: export LANG
script: 79: unset DISPLAY || :
script: 80: umask 022
script: 81: cd "/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1"
script: 82: echo "=> mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1: CLEAN"
script: 83: echo "==> %clean:"
removing: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
making dir: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
write script: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1/do-build
write script: /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1/do-clean
building: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
run: /bin/sh -ex  /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1/do-build
+ export SB_ORIG_PATH=/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ SB_ORIG_PATH=/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ SB_PREFIX=/opt/rtems/6
++ echo /opt/rtems/6
++ /usr/bin/sed -e 's/^\///'
+ SB_PREFIX_CLEAN=opt/rtems/6
+ SB_SOURCE_DIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/sources
+ SB_BUILD_DIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ SB_HOST_CPPFLAGS=
+ SB_HOST_CFLAGS='-O2 -g -pipe '
+ SB_HOST_CXXFLAGS='-O2 -g -pipe '
+ SB_HOST_LDFLAGS=' -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/lib'
+ SB_HOST_LIBS=
+ SB_BUILD_CFLAGS='-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/include'
+ SB_BUILD_CXXFLAGS='-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/include'
+ SB_BUILD_LDFLAGS=' -L/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/lib'
+ SB_BUILD_LBS=
+ SB_CFLAGS='-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/include '
+ SB_CXXFLAGS='-O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/include '
+ SB_ARCH=x86_64
+ SB_OS=linux
+ export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
+ export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
+ export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
+ export SB_CFLAGS SB_CXXFLAGS
+ SB_DOC_DIR=/opt/rtems/6/share/doc
+ export SB_DOC_DIR
+ SB_PACKAGE_NAME=mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ SB_PACKAGE_BUILDNAME=mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ SB_PACKAGE_VERSION=68e4a5a
+ SB_PACKAGE_RELEASE=1
+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
+ export SB_PREFIX
+ SB_BUILD_DIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ SB_BUILD_ROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112
+ SB_BUILD_ROOT_BINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112/opt/rtems/6/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-cxc
+ SB_BUILD_CXC_ROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1-21112-cxc/opt/rtems/6/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips
+ SB_TMPPREFIX=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6
+ SB_TMPBINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips
+ SB_TMPCXCPREFIX=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6
+ SB_TMPCXCBINDIR=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/home/EB/sebastian_h/src/rtems-source-builder/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ test -n /home/EB/sebastian_h/src/rtems-source-builder/source-builder
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/source-builder:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ PATH=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging/bin:/home/EB/sebastian_h/src/rtems-source-builder/source-builder:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-cxc/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-mips/opt/rtems/6/bin:/home/EB/sebastian_h/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/opt/qemu/bin:/home/EB/sebastian_h/rtems/6/bin:/opt/rtems/6/bin:/home/EB/sebastian_h/FVP_ARM_Std_Library/models/Linux64_GCC-6.4:/home/EB/sebastian_h/t32/bin/pc_linux64
+ export PATH
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ echo '=> mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1: BUILD'
=> mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1: BUILD
+ echo '==> %prep:'
==> %prep:
++ pwd
+ build_top=/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ binutils_source=sourceware-mirror-binutils-gdb-68e4a5a
+ source_dir_binutils=sourceware-mirror-binutils-gdb-68e4a5a
+ cd /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
+ /bin/rm -rf sourceware-mirror-binutils-gdb-68e4a5a
+ /bin/gzip -dc /home/EB/sebastian_h/src/rtems-source-builder/rtems/sources/sourceware-mirror-binutils-gdb-68e4a5a.tar.gz
+ /bin/tar -xvv -f -

gzip: /home/EB/sebastian_h/src/rtems-source-builder/rtems/sources/sourceware-mirror-binutils-gdb-68e4a5a.tar.gz: not in gzip format
/bin/tar: This does not look like a tar archive
/bin/tar: Exiting with failure status due to previous errors
shell cmd failed: /bin/sh -ex  /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1/do-build
error: building mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
  See error report: rsb-report-mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 6/rtems-mips
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.500MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.088MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 8.088MB total: 4.337GB (sources: 4.337GB, patches: 43.468KB, installed 0.000B)
Build Set: Time 0:00:05.100136
Build Set: 6/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.518MB (installed: 3.020MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.351MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
staging: autoconf-2.69-x86_64-linux-gnu-1 -> /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging
staging: automake-1.12.6-x86_64-linux-gnu-1 -> /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112-staging
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.803MB total: 4.343GB (sources: 4.337GB, patches: 43.468KB, installed 5.285MB)
Build Set: Time 0:00:08.202134
Build Set: Time 0:00:13.305845
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.418MB (installed: 1.325MB)
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.887MB (installed: 4.377MB)
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-10.cfg
package: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
building: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
sizes: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1: 860.330MB (installed: 131.758MB)
cleaning: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-10.cfg -> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-10.cfg -> mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-2.36.cfg
package: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
building: mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
error: building mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1.txt
error: building mips-rtems6-binutils-68e4a5a-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 22 14:05:09 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: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 mips-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Fri Jan 22 14:05:09 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: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 mips-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Fri Jan 22 14:05:27 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 mips-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Fri Jan 22 14:05:28 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 mips-rtems6 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/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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> Fri Jan 22 14:06:24 2021
==============================================================================
Report: tools/rtems-gdb-10.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-10.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-10.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-10.cfg
 Summary:
  GDB v4d5f61f for target mips-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  4d5f61f
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-4d5f61f.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/4d5f61f
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-4d5f61f
  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 "mips-rtems6" -o "x86_64-linux-gnu" == "mips-rtems6" ; 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=mips-rtems6  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim  --enable-sim-hardware  --without-zlib  --with-expat  --with-guile=no    --with-python=/usr/bin/python2  --prefix=/opt/rtems/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 22 14:06:25 2021
==============================================================================
Report: tools/rtems-gdb-10.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: c48f9509a76e1d63d400fa051e58c4e319bfb688
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-10.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-10.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gdb-4d5f61f-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-10.cfg
 Summary:
  GDB v4d5f61f for target mips-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  4d5f61f
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-4d5f61f.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/4d5f61f
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-4d5f61f
  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 "mips-rtems6" -o "x86_64-linux-gnu" == "mips-rtems6" ; 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=mips-rtems6  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim  --enable-sim-hardware  --without-zlib  --with-expat  --with-guile=no    --with-python=/usr/bin/python2  --prefix=/opt/rtems/6 --bindir=/opt/rtems/6/bin  --exec-prefix=/opt/rtems/6  --includedir=/opt/rtems/6/include --libdir=/opt/rtems/6/lib  --mandir=/opt/rtems/6/share/man --infodir=/opt/rtems/6/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/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6/share/info/dir
  cd ${build_top}


More information about the build mailing list