<div dir="auto">All the m2005 SPARC bsp bsets appear to be failing on FreeBSD 12.1. <div dir="auto"><br></div><div dir="auto">Anyone spot anything in this report?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <span dir="auto"><<a href="mailto:joel@rtems.org">joel@rtems.org</a>></span><br>Date: Sun, May 3, 2020, 11:57 AM<br>Subject: Build FreeBSD: FAILED 5/bsps/erc32 on x86_64-freebsd12.1 (rtems-tools-5.0.0-m2005-1-1)<br>To:  <<a href="mailto:build@rtems.org">build@rtems.org</a>><br></div><br><br>RTEMS Source Builder - Set Builder, 5.0.0-m2005-1<br>
<br>
Host: FreeBSD-12.1-RELEASE-p3-amd64-64bit-ELF<br>
       FreeBSD rtbf64b 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64<br>
       amd64<br>
<br>
Build Time: 0:53:15.406600<br>
<br>
<br>
Output<br>
======<br>
<br>
Build Set: 5/bsps/erc32<br>
Build Set: 5/rtems-sparc.bset<br>
Build Set: 5/rtems-autotools.bset<br>
Build Set: 5/rtems-autotools-internal.bset<br>
config: tools/rtems-autoconf-2.69-1.cfg<br>
package: autoconf-2.69-x86_64-freebsd12.1-1<br>
building: autoconf-2.69-x86_64-freebsd12.1-1<br>
sizes: autoconf-2.69-x86_64-freebsd12.1-1: 7.509MB (installed: 0.000B)<br>
cleaning: autoconf-2.69-x86_64-freebsd12.1-1<br>
config: tools/rtems-automake-1.12.6-1.cfg<br>
package: automake-1.12.6-x86_64-freebsd12.1-1<br>
building: automake-1.12.6-x86_64-freebsd12.1-1<br>
sizes: automake-1.12.6-x86_64-freebsd12.1-1: 8.330MB (installed: 0.000B)<br>
cleaning: automake-1.12.6-x86_64-freebsd12.1-1<br>
cleaning: autoconf-2.69-x86_64-freebsd12.1-1<br>
cleaning: automake-1.12.6-x86_64-freebsd12.1-1<br>
Build Sizes: usage: 8.330MB total: 328.421MB (sources: 328.070MB, patches: 359.714KB, installed 0.000B)<br>
Build Set: Time 0:00:10.609918<br>
Build Set: 5/rtems-autotools-base.bset<br>
config: tools/rtems-autoconf-2.69-1.cfg<br>
package: autoconf-2.69-x86_64-freebsd12.1-1<br>
building: autoconf-2.69-x86_64-freebsd12.1-1<br>
sizes: autoconf-2.69-x86_64-freebsd12.1-1: 10.526MB (installed: 3.021MB)<br>
cleaning: autoconf-2.69-x86_64-freebsd12.1-1<br>
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.1-1.txt<br>
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.1-1.xml<br>
config: tools/rtems-automake-1.12.6-1.cfg<br>
package: automake-1.12.6-x86_64-freebsd12.1-1<br>
building: automake-1.12.6-x86_64-freebsd12.1-1<br>
sizes: automake-1.12.6-x86_64-freebsd12.1-1: 10.593MB (installed: 2.265MB)<br>
cleaning: automake-1.12.6-x86_64-freebsd12.1-1<br>
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.1-1.txt<br>
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.1-1.xml<br>
staging: autoconf-2.69-x86_64-freebsd12.1-1 -> /usr/home/joel/rtems-cron-5.0.0-m2005-1/rtems-source-builder-5.0.0-m2005-1/rtems/build/tmp/sb-1002-staging<br>
staging: automake-1.12.6-x86_64-freebsd12.1-1 -> /usr/home/joel/rtems-cron-5.0.0-m2005-1/rtems-source-builder-5.0.0-m2005-1/rtems/build/tmp/sb-1002-staging<br>
cleaning: autoconf-2.69-x86_64-freebsd12.1-1<br>
cleaning: automake-1.12.6-x86_64-freebsd12.1-1<br>
Build Sizes: usage: 15.879MB total: 333.707MB (sources: 328.070MB, patches: 359.714KB, installed 5.286MB)<br>
Build Set: Time 0:00:21.116572<br>
Build Set: Time 0:00:31.735881<br>
config: devel/expat-2.1.0-1.cfg<br>
package: expat-2.1.0-x86_64-freebsd12.1-1<br>
building: expat-2.1.0-x86_64-freebsd12.1-1<br>
sizes: expat-2.1.0-x86_64-freebsd12.1-1: 4.788MB (installed: 620.240KB)<br>
cleaning: expat-2.1.0-x86_64-freebsd12.1-1<br>
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.txt<br>
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.xml<br>
config: tools/rtems-gdb-9.1-1.cfg<br>
package: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1<br>
building: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1<br>
sizes: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1: 249.289MB (installed: 11.915MB)<br>
cleaning: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1<br>
reporting: tools/rtems-gdb-9.1-1.cfg -> sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1.txt<br>
reporting: tools/rtems-gdb-9.1-1.cfg -> sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1.xml<br>
config: tools/rtems-binutils-2.34.cfg<br>
package: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1<br>
building: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1<br>
sizes: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1: 305.902MB (installed: 29.966MB)<br>
cleaning: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1<br>
reporting: tools/rtems-binutils-2.34.cfg -> sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1.txt<br>
reporting: tools/rtems-binutils-2.34.cfg -> sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1.xml<br>
config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
package: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1<br>
building: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1<br>
sizes: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1: 4.717GB (installed: 889.686MB)<br>
cleaning: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1<br>
reporting: tools/rtems-gcc-7.5.0-newlib-7947581.cfg -> sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1.txt<br>
reporting: tools/rtems-gcc-7.5.0-newlib-7947581.cfg -> sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1.xml<br>
config: tools/rtems-tools-5-1.cfg<br>
package: rtems-tools-5.0.0-m2005-1-1<br>
building: rtems-tools-5.0.0-m2005-1-1<br>
error: building rtems-tools-5.0.0-m2005-1-1<br>
Build FAILED<br>
  See error report: rsb-report-rtems-tools-5.0.0-m2005-1-1.txt<br>
error: building rtems-tools-5.0.0-m2005-1-1<br>
Build Set: Time 0:53:15.401143<br>
error: building rtems-tools-5.0.0-m2005-1-1<br>
Mailing report: <a href="mailto:build@rtems.org" target="_blank" rel="noreferrer">build@rtems.org</a><br>
<br>
Report<br>
======<br>
<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:15:50 2020<br>
==============================================================================<br>
Report: devel/expat-2.1.0-1.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) devel/expat-2.1.0-1.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) devel/expat-2.1.0-1.cfg<br>
------------------------------------------------------------------------------<br>
Package: expat-2.1.0-x86_64-freebsd12.1-1<br>
 Config: devel/expat-2.1.0-1.cfg<br>
 Summary:<br>
  Expat XML Parser v2.1.0 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://expat.sourceforge.net/" rel="noreferrer noreferrer" target="_blank">http://expat.sourceforge.net/</a><br>
 Version:<br>
  2.1.0<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz" rel="noreferrer noreferrer" target="_blank">https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz</a><br>
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  %setup source expat -q -n expat-2.1.0<br>
  %setup patch expat -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  cd expat-2.1.0<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  rm -rf $SB_BUILD_ROOT<br>
  cd expat-2.1.0<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:15:50 2020<br>
==============================================================================<br>
Report: devel/expat-2.1.0-1.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) devel/expat-2.1.0-1.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) devel/expat-2.1.0-1.cfg<br>
------------------------------------------------------------------------------<br>
Package: expat-2.1.0-x86_64-freebsd12.1-1<br>
 Config: devel/expat-2.1.0-1.cfg<br>
 Summary:<br>
  Expat XML Parser v2.1.0 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://expat.sourceforge.net/" rel="noreferrer noreferrer" target="_blank">http://expat.sourceforge.net/</a><br>
 Version:<br>
  2.1.0<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz" rel="noreferrer noreferrer" target="_blank">https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz</a><br>
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  %setup source expat -q -n expat-2.1.0<br>
  %setup patch expat -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  cd expat-2.1.0<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  rm -rf $SB_BUILD_ROOT<br>
  cd expat-2.1.0<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:20:37 2020<br>
==============================================================================<br>
Report: tools/rtems-gdb-9.1-1.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-gdb-9.1-1.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-gdb-9.1-1.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-gdb-9.1-1.cfg<br>
 Summary:<br>
  GDB v9.1 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://www.gnu.org/software/gdb/" rel="noreferrer noreferrer" target="_blank">http://www.gnu.org/software/gdb/</a><br>
 Version:<br>
  9.1<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="http://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz" rel="noreferrer noreferrer" target="_blank">http://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz</a><br>
       sha512: hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  gdb_source="gdb-9.1"<br>
  source_dir_gdb=${gdb_source}<br>
  %setup source gdb -q -n ${gdb_source}<br>
  %setup patch gdb -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
  GDB_LIBS_STATIC="-lexpat"<br>
  else<br>
  GDB_LIBS_STATIC="-lexpat"<br>
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"<br>
  fi<br>
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --disable-sim    --without-zlib  --with-expat  --with-guile=no  --with-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python3  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/<a href="http://configure.info" rel="noreferrer noreferrer" target="_blank">configure.info</a>*<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  touch $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:20:38 2020<br>
==============================================================================<br>
Report: tools/rtems-gdb-9.1-1.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-gdb-9.1-1.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-gdb-9.1-1.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-gdb-9.1-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-gdb-9.1-1.cfg<br>
 Summary:<br>
  GDB v9.1 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://www.gnu.org/software/gdb/" rel="noreferrer noreferrer" target="_blank">http://www.gnu.org/software/gdb/</a><br>
 Version:<br>
  9.1<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="http://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz" rel="noreferrer noreferrer" target="_blank">http://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz</a><br>
       sha512: hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  gdb_source="gdb-9.1"<br>
  source_dir_gdb=${gdb_source}<br>
  %setup source gdb -q -n ${gdb_source}<br>
  %setup patch gdb -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
  GDB_LIBS_STATIC="-lexpat"<br>
  else<br>
  GDB_LIBS_STATIC="-lexpat"<br>
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"<br>
  fi<br>
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --disable-sim    --without-zlib  --with-expat  --with-guile=no  --with-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python3  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/<a href="http://configure.info" rel="noreferrer noreferrer" target="_blank">configure.info</a>*<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  touch $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:21:55 2020<br>
==============================================================================<br>
Report: tools/rtems-binutils-2.34.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-binutils-2.34.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-binutils-2.34.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-binutils-2.34.cfg<br>
 Summary:<br>
  Binutils v2.34 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://sources.redhat.com/binutils" rel="noreferrer noreferrer" target="_blank">http://sources.redhat.com/binutils</a><br>
 Version:<br>
  2.34<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2</a><br>
       sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  binutils_source="binutils-2.34"<br>
  source_dir_binutils=${binutils_source}<br>
  %setup source binutils -q -n ${binutils_source}<br>
  %setup patch binutils -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --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=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  cd ${build_top}<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/<a href="http://configure.info" rel="noreferrer noreferrer" target="_blank">configure.info</a>*<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  touch $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  mkdir -p $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/locale<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib/libiberty*<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-dlltool; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-dlltool*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-nlmconv; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-nlmconv*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-windres; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-windres*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-windmc; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-windmc*<br>
  fi<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 08:21:55 2020<br>
==============================================================================<br>
Report: tools/rtems-binutils-2.34.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-binutils-2.34.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-binutils-2.34.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-binutils-2.34-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-binutils-2.34.cfg<br>
 Summary:<br>
  Binutils v2.34 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://sources.redhat.com/binutils" rel="noreferrer noreferrer" target="_blank">http://sources.redhat.com/binutils</a><br>
 Version:<br>
  2.34<br>
 Release:<br>
  1<br>
  Sources: 1<br>
    1: <a href="https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2</a><br>
       sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067<br>
  Patches: 0<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  binutils_source="binutils-2.34"<br>
  source_dir_binutils=${binutils_source}<br>
  %setup source binutils -q -n ${binutils_source}<br>
  %setup patch binutils -p1<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --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=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5 --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec-prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  cd ${build_top}<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/<a href="http://configure.info" rel="noreferrer noreferrer" target="_blank">configure.info</a>*<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  touch $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  mkdir -p $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/locale<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib/libiberty*<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-dlltool; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-dlltool*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-nlmconv; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-nlmconv*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-windres; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-windres*<br>
  fi<br>
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-windmc; then<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man1/sparc-rtems5-windmc*<br>
  fi<br>
  cd ${build_top}<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 09:08:25 2020<br>
==============================================================================<br>
Report: tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
 Summary:<br>
  GCC v7.5.0 and Newlib v7947581 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://gcc.gnu.org/" rel="noreferrer noreferrer" target="_blank">http://gcc.gnu.org/</a><br>
 Version:<br>
  7.5.0<br>
 Release:<br>
  1<br>
  Sources: 6<br>
    1: <a href="https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz</a><br>
       sha512: fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60<br>
    2: <a href="https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz</a><br>
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43<br>
    3: --rsb-file=newlib-7947581.tar.gz <a href="https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581" rel="noreferrer noreferrer" target="_blank">https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581</a><br>
       No checksum<br>
    4: <a href="https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2</a><br>
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b<br>
    5: <a href="https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2</a><br>
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117<br>
    6: <a href="https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2</a><br>
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819<br>
  Patches: 1<br>
    1: <a href="https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380</a><br>
       No checksum<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  gcc_source="gcc-7.5.0"<br>
  source_dir_gcc=${gcc_source}<br>
  %setup source gcc -q -n ${gcc_source}<br>
  %setup patch gcc -p1<br>
  cd ${build_top}<br>
  source_dir_newlib=sourceware-mirror-newlib-cygwin-7947581<br>
  %setup source newlib -q -D -n ${source_dir_newlib}<br>
  %setup patch newlib -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/newlib<br>
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib<br>
  source_dir_isl="isl-0.16.1"<br>
  %setup source isl -q -D -n isl-0.16.1<br>
  %setup patch isl -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/isl<br>
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl<br>
  source_dir_mpfr="mpfr-3.1.4"<br>
  %setup source mpfr -q -D -n mpfr-3.1.4<br>
  %setup patch mpfr -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/mpfr<br>
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr<br>
  source_dir_mpc="mpc-1.0.3"<br>
  %setup source mpc -q -D -n mpc-1.0.3<br>
  %setup patch mpc -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/mpc<br>
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc<br>
  source_dir_gmp="gmp-6.1.0"<br>
  %setup source gmp -q -D -n gmp-6.1.0<br>
  %setup patch gmp -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/gmp<br>
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp<br>
  echo "RTEMS 5, RSB 5.0.0-m2005-1, Newlib 7947581" > ${source_dir_gcc}/gcc/DEV-PHASE<br>
  cd ${source_dir_gcc}<br>
  contrib/gcc_update --touch<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  languages="c"<br>
  languages="$languages,c++"<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ../${source_dir_gcc}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --disable-libstdcxx-pch  --with-gnu-as --with-gnu-ld --verbose  --with-newlib  --disable-nls --without-included-gettext  --disable-win32-registry  --enable-version-specific-runtime-libs  --disable-lto  --enable-newlib-io-c99-formats    --enable-newlib-iconv  --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\<br>
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\<br>
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\<br>
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\<br>
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\<br>
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\<br>
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\<br>
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"<br>
  if test "%_host" != "%_build" ; then<br>
  mkdir -p gcc/include<br>
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h<br>
  fi<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  cd ${build_top}<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib/libiberty.a<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-c++filt<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man3/*ffi*<br>
  /bin/rm -rf ${source_dir_gcc}/newlib<br>
  /bin/rm -rf ${source_dir_gcc}/mpfr<br>
  /bin/rm -rf ${source_dir_gcc}/mpc<br>
  /bin/rm -rf ${source_dir_gcc}/gmp<br>
==============================================================================<br>
RTEMS Tools Project <<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a>> Sun May  3 09:08:25 2020<br>
==============================================================================<br>
Report: tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
------------------------------------------------------------------------------<br>
RTEMS Source Builder Release<br>
 Version: 5.0.0-m2005-1<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (1) tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<br>
Build Set: (2) tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
------------------------------------------------------------------------------<br>
Package: sparc-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd12.1-1<br>
 Config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg<br>
 Summary:<br>
  GCC v7.5.0 and Newlib v7947581 for target sparc-rtems5 on host x86_64-freebsd12.1<br>
 URL:<br>
  <a href="http://gcc.gnu.org/" rel="noreferrer noreferrer" target="_blank">http://gcc.gnu.org/</a><br>
 Version:<br>
  7.5.0<br>
 Release:<br>
  1<br>
  Sources: 6<br>
    1: <a href="https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.xz</a><br>
       sha512: fe716cc19f2e3255d3a8b1b8290777bf769c6d98e6e0b07b81a3d6ad43f8af74cb170dfa18b1555dbfcd3f55ae582b91a286ccef496b9b65c1579902f96a1f60<br>
    2: <a href="https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz</a><br>
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43<br>
    3: --rsb-file=newlib-7947581.tar.gz <a href="https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581" rel="noreferrer noreferrer" target="_blank">https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/7947581</a><br>
       No checksum<br>
    4: <a href="https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2</a><br>
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b<br>
    5: <a href="https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2</a><br>
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117<br>
    6: <a href="https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2" rel="noreferrer noreferrer" target="_blank">https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2</a><br>
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819<br>
  Patches: 1<br>
    1: <a href="https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380</a><br>
       No checksum<br>
 Preparation:<br>
  build_top=$(pwd)<br>
  gcc_source="gcc-7.5.0"<br>
  source_dir_gcc=${gcc_source}<br>
  %setup source gcc -q -n ${gcc_source}<br>
  %setup patch gcc -p1<br>
  cd ${build_top}<br>
  source_dir_newlib=sourceware-mirror-newlib-cygwin-7947581<br>
  %setup source newlib -q -D -n ${source_dir_newlib}<br>
  %setup patch newlib -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/newlib<br>
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib<br>
  source_dir_isl="isl-0.16.1"<br>
  %setup source isl -q -D -n isl-0.16.1<br>
  %setup patch isl -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/isl<br>
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl<br>
  source_dir_mpfr="mpfr-3.1.4"<br>
  %setup source mpfr -q -D -n mpfr-3.1.4<br>
  %setup patch mpfr -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/mpfr<br>
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr<br>
  source_dir_mpc="mpc-1.0.3"<br>
  %setup source mpc -q -D -n mpc-1.0.3<br>
  %setup patch mpc -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/mpc<br>
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc<br>
  source_dir_gmp="gmp-6.1.0"<br>
  %setup source gmp -q -D -n gmp-6.1.0<br>
  %setup patch gmp -p1<br>
  cd ${build_top}<br>
  /bin/rm -f ${source_dir_gcc}/gmp<br>
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp<br>
  echo "RTEMS 5, RSB 5.0.0-m2005-1, Newlib 7947581" > ${source_dir_gcc}/gcc/DEV-PHASE<br>
  cd ${source_dir_gcc}<br>
  contrib/gcc_update --touch<br>
  cd ${build_top}<br>
 Build:<br>
  build_top=$(pwd)<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross-build (Xc) if no target or the host and target match.<br>
    # Canadian-cross (Cxc) if build, host and target are all different.<br>
    if test -z "sparc-rtems5" -o "x86_64-freebsd12.1" == "sparc-rtems5" ; then<br>
      build_dir="build-xc"<br>
    else<br>
      build_dir="build-cxc"<br>
    fi<br>
  else<br>
    build_dir="build"<br>
  fi<br>
  mkdir -p ${build_dir}<br>
  cd ${build_dir}<br>
  languages="c"<br>
  languages="$languages,c++"<br>
  # Host and build flags, Cross build if host and build are different and<br>
  # Cxc build if target is deifned and also different.<br>
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).<br>
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then<br>
    # Cross build<br>
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')<br>
    CPPFLAGS="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS="${SB_HOST_LDFLAGS}"<br>
    LDLIBS="${SB_HOST_LIBS}"<br>
    LIBS="${SB_HOST_LIBS}"<br>
    # Host<br>
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"<br>
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"<br>
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"<br>
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    LIBS_FOR_HOST="${SB_HOST_LIBS}"<br>
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"<br>
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    # Build<br>
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"<br>
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"<br>
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"<br>
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
  else<br>
    LDFLAGS="${SB_BUILD_LDFLAGS}"<br>
    LDLIBS="${SB_BUILD_LIBS}"<br>
    LIBS="${SB_BUILD_LIBS}"<br>
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')<br>
    CC_FOR_BUILD=${CC}<br>
    CXX_FOR_BUILD=${CXX}<br>
  fi<br>
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS<br>
  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<br>
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS<br>
  ../${source_dir_gcc}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --target=sparc-rtems5  --disable-libstdcxx-pch  --with-gnu-as --with-gnu-ld --verbose  --with-newlib  --disable-nls --without-included-gettext  --disable-win32-registry  --enable-version-specific-runtime-libs  --disable-lto  --enable-newlib-io-c99-formats    --enable-newlib-iconv  --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\<br>
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\<br>
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\<br>
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\<br>
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\<br>
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\<br>
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\<br>
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"<br>
  if test "%_host" != "%_build" ; then<br>
  mkdir -p gcc/include<br>
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h<br>
  fi<br>
  gmake -j 4 all<br>
  cd ${build_top}<br>
 Install:<br>
  build_top=$(pwd)<br>
  /bin/rm -rf $SB_BUILD_ROOT<br>
  cd ${build_dir}<br>
  gmake DESTDIR=$SB_BUILD_ROOT install<br>
  cd ${build_top}<br>
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib/libiberty.a<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin/sparc-rtems5-c++filt<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info/dir<br>
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man/man3/*ffi*<br>
  /bin/rm -rf ${source_dir_gcc}/newlib<br>
  /bin/rm -rf ${source_dir_gcc}/mpfr<br>
  /bin/rm -rf ${source_dir_gcc}/mpc<br>
  /bin/rm -rf ${source_dir_gcc}/gmp<br>
<br>
<br>
_______________________________________________<br>
build mailing list<br>
<a href="mailto:build@rtems.org" target="_blank" rel="noreferrer">build@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/build" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/build</a><br>
</div>