Build FreeBSD: PASSED 5/rtems-all on x86_64-freebsd12.0

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Tue Nov 5 15:53:58 UTC 2019


RTEMS Source Builder - Set Builder, 5 (82451debbe22)

Host: FreeBSD-12.0-RELEASE-p2-amd64-64bit-ELF
       FreeBSD Build_FreeBSD12 12.0-RELEASE-p2 FreeBSD 12.0-RELEASE-p2 GENERIC
       amd64 amd64

Build Time: 4:00:50.802699


Output
======

Build Set: 5/rtems-all
Build Set: 5/rtems-aarch64.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.764264
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.549973
Build Set: Time 0:00:11.318188
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.839KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 253.396MB (installed: 14.760MB)
cleaning: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 324.440MB (installed: 38.803MB)
cleaning: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.316GB (installed: 182.452MB)
cleaning: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.943MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.614GB total: 2.087GB (sources: 1.788GB, patches: 542.267KB, installed 305.572MB)
Build Set: Time 0:07:34.753195
Build Set: 5/rtems-arm.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.871298
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.737710
Build Set: Time 0:00:11.612661
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.835KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 248.266MB (installed: 14.159MB)
cleaning: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 310.603MB (installed: 32.928MB)
cleaning: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 4.905GB (installed: 958.037MB)
cleaning: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 5.954GB total: 2.838GB (sources: 1.788GB, patches: 542.267KB, installed 1.049GB)
Build Set: Time 0:22:47.285541
Build Set: 5/rtems-bfin.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.216882
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.619832
Build Set: Time 0:00:11.840280
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 248.336MB (installed: 14.417MB)
cleaning: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 303.152MB (installed: 29.471MB)
cleaning: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 983.570MB (installed: 106.054MB)
cleaning: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.175GB total: 2.003GB (sources: 1.788GB, patches: 542.267KB, installed 219.499MB)
Build Set: Time 0:06:07.086036
Build Set: 5/rtems-epiphany.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.997263
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.652027
Build Set: Time 0:00:11.652879
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.840KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 300.222MB (installed: 27.839MB)
cleaning: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.010GB (installed: 118.392MB)
cleaning: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-7.8.1-1.cfg
package: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
building: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
sizes: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1: 299.782MB (installed: 11.201MB)
cleaning: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-7.8.1-1.cfg -> epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-7.8.1-1.cfg -> epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.943MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.232GB total: 2.011GB (sources: 1.788GB, patches: 542.267KB, installed 226.988MB)
Build Set: Time 0:05:43.648423
Build Set: 5/rtems-i386.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.252875
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.594038
Build Set: Time 0:00:11.850481
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 247.038MB (installed: 12.216MB)
cleaning: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 315.096MB (installed: 33.940MB)
cleaning: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 2.096GB (installed: 343.791MB)
cleaning: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 2.544GB total: 2.238GB (sources: 1.788GB, patches: 542.267KB, installed 459.504MB)
Build Set: Time 0:11:29.722078
Build Set: 5/rtems-lm32.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.409038
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.649408
Build Set: Time 0:00:12.062405
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 244.988MB (installed: 13.185MB)
cleaning: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 300.072MB (installed: 27.910MB)
cleaning: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.927GB (installed: 309.494MB)
cleaning: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 2.337GB total: 2.199GB (sources: 1.788GB, patches: 542.267KB, installed 420.145MB)
Build Set: Time 0:09:11.256357
Build Set: 5/rtems-m68k.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.042444
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.654210
Build Set: Time 0:00:11.700198
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 240.265MB (installed: 11.271MB)
cleaning: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 302.016MB (installed: 28.757MB)
cleaning: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 3.963GB (installed: 734.599MB)
cleaning: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 4.787GB total: 2.613GB (sources: 1.788GB, patches: 542.267KB, installed 844.184MB)
Build Set: Time 0:16:58.684271
Build Set: 5/rtems-microblaze.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.381223
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.652192
Build Set: Time 0:00:12.036946
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.766MB (installed: 617.842KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 243.305MB (installed: 12.647MB)
cleaning: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 298.711MB (installed: 27.259MB)
cleaning: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 3.549GB (installed: 648.620MB)
cleaning: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.943MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 4.290GB total: 2.529GB (sources: 1.788GB, patches: 542.267KB, installed 758.082MB)
Build Set: Time 0:14:50.344336
Build Set: 5/rtems-mips.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.931663
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.678731
Build Set: Time 0:00:11.614248
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 253.327MB (installed: 14.986MB)
cleaning: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 315.904MB (installed: 35.316MB)
cleaning: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 2.211GB (installed: 367.500MB)
cleaning: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
config: tools/rtems-mipstx39-gdb-8.0.1-1.cfg
package: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
building: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
sizes: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1: 241.560MB (installed: 13.504MB)
cleaning: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
reporting: tools/rtems-mipstx39-gdb-8.0.1-1.cfg -> mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-mipstx39-gdb-8.0.1-1.cfg -> mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
cleaning: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
Build Sizes: usage: 2.701GB total: 2.278GB (sources: 1.788GB, patches: 542.267KB, installed 500.862MB)
Build Set: Time 0:13:07.048067
Build Set: 5/rtems-moxie.bset
config: devel/dtc-1.4.1-1.cfg
package: dtc-1.4.1-x86_64-freebsd12.0-1
building: dtc-1.4.1-x86_64-freebsd12.0-1
sizes: dtc-1.4.1-x86_64-freebsd12.0-1: 3.154MB (installed: 906.972KB)
cleaning: dtc-1.4.1-x86_64-freebsd12.0-1
reporting: devel/dtc-1.4.1-1.cfg -> dtc-1.4.1-x86_64-freebsd12.0-1.txt
reporting: devel/dtc-1.4.1-1.cfg -> dtc-1.4.1-x86_64-freebsd12.0-1.xml
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.729304
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.580865
Build Set: Time 0:00:12.317770
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.837KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 243.156MB (installed: 12.639MB)
cleaning: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 297.622MB (installed: 26.772MB)
cleaning: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.209GB (installed: 159.421MB)
cleaning: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: dtc-1.4.1-x86_64-freebsd12.0-1
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.472GB total: 2.052GB (sources: 1.788GB, patches: 542.267KB, installed 269.274MB)
Build Set: Time 0:07:06.195954
Build Set: 5/rtems-nios2.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.052338
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.807075
Build Set: Time 0:00:11.863004
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.837KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 239.625MB (installed: 11.198MB)
cleaning: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 300.565MB (installed: 28.250MB)
cleaning: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.624GB (installed: 245.053MB)
cleaning: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.969GB total: 2.135GB (sources: 1.788GB, patches: 542.267KB, installed 354.058MB)
Build Set: Time 0:08:22.682672
Build Set: 5/rtems-or1k.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.787887
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.996029
Build Set: Time 0:00:11.787499
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.2.1-1.cfg
package: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
building: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
sizes: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1: 244.567MB (installed: 13.703MB)
cleaning: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.2.1-1.cfg -> or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.2.1-1.cfg -> or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 300.215MB (installed: 27.958MB)
cleaning: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
package: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
building: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
sizes: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1: 3.333GB (installed: 608.583MB)
cleaning: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
cleaning: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 4.036GB total: 2.492GB (sources: 1.788GB, patches: 542.267KB, installed 719.800MB)
Build Set: Time 0:13:21.632766
Build Set: 5/rtems-powerpc.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.085294
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.843323
Build Set: Time 0:00:11.932281
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.839KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 270.121MB (installed: 16.501MB)
cleaning: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 329.782MB (installed: 43.103MB)
cleaning: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 4.868GB (installed: 929.236MB)
cleaning: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.943MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 5.901GB total: 2.823GB (sources: 1.788GB, patches: 542.267KB, installed 1.034GB)
Build Set: Time 0:22:12.345675
Build Set: 5/rtems-riscv.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.594863
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.655493
Build Set: Time 0:00:12.253916
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.837KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 241.312MB (installed: 11.402MB)
cleaning: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 306.139MB (installed: 30.821MB)
cleaning: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
package: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
building: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
sizes: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1: 8.824GB (installed: 1.812GB)
cleaning: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
config: devel/sis-2-1.cfg
package: sis-2.18-x86_64-freebsd12.0-1
building: sis-2.18-x86_64-freebsd12.0-1
sizes: sis-2.18-x86_64-freebsd12.0-1: 2.050MB (installed: 223.140KB)
cleaning: sis-2.18-x86_64-freebsd12.0-1
reporting: devel/sis-2-1.cfg -> sis-2.18-x86_64-freebsd12.0-1.txt
reporting: devel/sis-2-1.cfg -> sis-2.18-x86_64-freebsd12.0-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
cleaning: sis-2.18-x86_64-freebsd12.0-1
Build Sizes: usage: 10.746GB total: 3.711GB (sources: 1.788GB, patches: 542.267KB, installed 1.922GB)
Build Set: Time 0:21:58.587597
Build Set: 5/rtems-sh.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.629772
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.942460
Build Set: Time 0:00:12.575788
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.764MB (installed: 617.834KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 247.102MB (installed: 13.681MB)
cleaning: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 306.535MB (installed: 31.333MB)
cleaning: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 3.146GB (installed: 564.490MB)
cleaning: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 3.809GB total: 2.452GB (sources: 1.788GB, patches: 542.267KB, installed 679.061MB)
Build Set: Time 0:14:41.303491
Build Set: 5/rtems-sparc.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.842059
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.797483
Build Set: Time 0:00:11.643386
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.837KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 241.075MB (installed: 11.395MB)
cleaning: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 303.377MB (installed: 29.333MB)
cleaning: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 4.656GB (installed: 884.288MB)
cleaning: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
config: devel/sis-2-1.cfg
package: sis-2.18-x86_64-freebsd12.0-1
building: sis-2.18-x86_64-freebsd12.0-1
sizes: sis-2.18-x86_64-freebsd12.0-1: 2.050MB (installed: 223.140KB)
cleaning: sis-2.18-x86_64-freebsd12.0-1
reporting: devel/sis-2-1.cfg -> sis-2.18-x86_64-freebsd12.0-1.txt
reporting: devel/sis-2-1.cfg -> sis-2.18-x86_64-freebsd12.0-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
cleaning: sis-2.18-x86_64-freebsd12.0-1
Build Sizes: usage: 5.628GB total: 2.760GB (sources: 1.788GB, patches: 542.267KB, installed 994.790MB)
Build Set: Time 0:21:41.967623
Build Set: 5/rtems-sparc64.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.222707
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.545943
Build Set: Time 0:00:11.772283
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.839KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 241.590MB (installed: 11.451MB)
cleaning: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 304.813MB (installed: 30.055MB)
cleaning: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.320GB (installed: 183.254MB)
cleaning: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.943MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.607GB total: 2.076GB (sources: 1.788GB, patches: 542.267KB, installed 294.317MB)
Build Set: Time 0:06:59.249832
Build Set: 5/rtems-v850.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.288167
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.826531
Build Set: Time 0:00:12.118305
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.836KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
building: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
sizes: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1: 254.300MB (installed: 15.584MB)
cleaning: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 299.564MB (installed: 27.662MB)
cleaning: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
building: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
sizes: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1: 1.890GB (installed: 301.303MB)
cleaning: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
cleaning: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 2.295GB total: 2.193GB (sources: 1.788GB, patches: 542.267KB, installed 414.105MB)
Build Set: Time 0:09:16.943444
Build Set: 5/rtems-x86_64.bset
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 8.324MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 8.324MB total: 1.789GB (sources: 1.788GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:05.460228
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.0-1
building: autoconf-2.69-x86_64-freebsd12.0-1
sizes: autoconf-2.69-x86_64-freebsd12.0-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.0-1
building: automake-1.12.6-x86_64-freebsd12.0-1
sizes: automake-1.12.6-x86_64-freebsd12.0-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.0-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.0-1
cleaning: automake-1.12.6-x86_64-freebsd12.0-1
Build Sizes: usage: 15.873MB total: 1.794GB (sources: 1.788GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.750290
Build Set: Time 0:00:12.214179
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.0-1
building: expat-2.1.0-x86_64-freebsd12.0-1
sizes: expat-2.1.0-x86_64-freebsd12.0-1: 4.765MB (installed: 617.838KB)
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-8.2.1-1.cfg
package: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
building: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
sizes: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1: 246.707MB (installed: 12.142MB)
cleaning: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-8.2.1-1.cfg -> x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-8.2.1-1.cfg -> x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-2.33.1.cfg
package: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
building: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
sizes: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1: 328.266MB (installed: 40.765MB)
cleaning: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-2.33.1.cfg -> x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-2.33.1.cfg -> x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
package: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
building: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
sizes: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1: 1.482GB (installed: 203.978MB)
cleaning: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg -> x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
building: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
sizes: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1: 263.942MB (installed: 68.953MB)
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
cleaning: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
cleaning: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
cleaning: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
Build Sizes: usage: 1.801GB total: 2.108GB (sources: 1.788GB, patches: 542.267KB, installed 326.442MB)
Build Set: Time 0:07:20.030390
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:03:29 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target aarch64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:03:29 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target aarch64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:05:05 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:05:05 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:05:37 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:05:37 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:10:24 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/aarch64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:10:24 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target aarch64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "aarch64-rtems5" -o "x86_64-freebsd12.0" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=aarch64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/aarch64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:10:41 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:10:41 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:11:04 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target arm-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:11:04 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target arm-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:12:40 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:12:40 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:13:15 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:13:15 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:03 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/arm-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:03 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target arm-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "arm-rtems5" -o "x86_64-freebsd12.0" == "arm-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=arm-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/arm-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:21 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:21 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:51 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target bfin-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:33:51 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target bfin-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:35:26 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:35:27 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:35:57 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:35:57 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:19 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/bfin-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:19 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: bfin-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target bfin-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "bfin-rtems5" -o "x86_64-freebsd12.0" == "bfin-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=bfin-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/bfin-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:35 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:35 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:58 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target epiphany-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:39:58 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target epiphany-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:40:28 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:40:28 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:43:54 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/epiphany-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:43:55 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/epiphany-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:02 2019
==============================================================================
Report: tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-7.8.1-1.cfg
 Summary:
  GDB v7.8.1 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.8.1
 Release:
  1
  Sources: 1
    1: https://github.com/adapteva/epiphany-binutils-gdb/archive/f05996c7c42e6b2781946acbab153a481ce3fd0b.zip
       sha256: 2b2034fd12f2fd5108205ade66400c175ede8cef8141a38ae03fc78bf2d65325
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3226/gdb-sim-arange-inline.diff
       sha256: d20d509942c9f9a69d191b8d8c1546e27d78768dba10b339acad708cf9997d81
    2: https://devel.rtems.org/raw-attachment/ticket/3226/gdb-sim-cgen-inline.diff
       sha256: 0ec465d3c5ae967d125409488a1d24fda90b361051adebee32b7512a4031606e
    3: https://git.rtems.org/rtems-tools/plain/tools/5/gdb/patch-gdb-python-python-config.py
       sha256: c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3
 Preparation:
  build_top=$(pwd)
  gdb_source=epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:02 2019
==============================================================================
Report: tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems5-gdb-7.8.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-7.8.1-1.cfg
 Summary:
  GDB v7.8.1 for target epiphany-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.8.1
 Release:
  1
  Sources: 1
    1: https://github.com/adapteva/epiphany-binutils-gdb/archive/f05996c7c42e6b2781946acbab153a481ce3fd0b.zip
       sha256: 2b2034fd12f2fd5108205ade66400c175ede8cef8141a38ae03fc78bf2d65325
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3226/gdb-sim-arange-inline.diff
       sha256: d20d509942c9f9a69d191b8d8c1546e27d78768dba10b339acad708cf9997d81
    2: https://devel.rtems.org/raw-attachment/ticket/3226/gdb-sim-cgen-inline.diff
       sha256: 0ec465d3c5ae967d125409488a1d24fda90b361051adebee32b7512a4031606e
    3: https://git.rtems.org/rtems-tools/plain/tools/5/gdb/patch-gdb-python-python-config.py
       sha256: c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3
 Preparation:
  build_top=$(pwd)
  gdb_source=epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "epiphany-rtems5" -o "x86_64-freebsd12.0" == "epiphany-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=epiphany-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:17 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:17 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:42 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target i386-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:45:42 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target i386-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:47:15 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:47:15 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:47:48 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:47:49 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:56:26 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/i386-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:56:26 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target i386-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "i386-rtems5" -o "x86_64-freebsd12.0" == "i386-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=i386-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/i386-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:56:46 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:56:46 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:57:13 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target lm32-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:57:13 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target lm32-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:58:46 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3030/gdb-7.9-lm32uart-2.diff
       sha256: 7a266c1800829dcb5e493073ef98ad7d7f38a69715b93154dfaaffd34073dff3
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:58:46 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3030/gdb-7.9-lm32uart-2.diff
       sha256: 7a266c1800829dcb5e493073ef98ad7d7f38a69715b93154dfaaffd34073dff3
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:59:16 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 13:59:16 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:05:39 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/lm32-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:05:40 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: lm32-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target lm32-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "lm32-rtems5" -o "x86_64-freebsd12.0" == "lm32-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=lm32-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/lm32-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:05:59 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:05:59 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:06:23 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target m68k-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:06:23 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target m68k-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:07:54 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:07:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:08:24 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:08:24 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:22:34 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/m68k-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:22:34 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: m68k-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target m68k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "m68k-rtems5" -o "x86_64-freebsd12.0" == "m68k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=m68k-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/m68k-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:22:54 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:22:54 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:23:22 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target microblaze-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:23:22 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target microblaze-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:24:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:24:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:25:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:25:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:37:27 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/microblaze-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:37:27 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target microblaze-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "microblaze-rtems5" -o "x86_64-freebsd12.0" == "microblaze-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=microblaze-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/microblaze-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:37:44 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:37:44 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:38:12 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target mips-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:38:12 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target mips-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:39:47 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-rtems5  --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/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:39:47 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-rtems5  --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/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:40:21 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:40:21 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:49:04 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/mips-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:49:04 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: mips-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target mips-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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-rtems5" -o "x86_64-freebsd12.0" == "mips-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=mips-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/mips-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:49:22 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:49:22 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:50:53 2019
==============================================================================
Report: tools/rtems-mipstx39-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-mipstx39-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-mipstx39-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
 Config: tools/rtems-mipstx39-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target mipstx39-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.0.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
       sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
       sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.0.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "mipstx39-rtems5" -o "x86_64-freebsd12.0" == "mipstx39-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=mipstx39-rtems5  --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/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:50:53 2019
==============================================================================
Report: tools/rtems-mipstx39-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-mipstx39-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-mipstx39-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: mipstx39-rtems5-gdb-8.0.1-x86_64-freebsd12.0-1
 Config: tools/rtems-mipstx39-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target mipstx39-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.0.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
       sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
       sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.0.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "mipstx39-rtems5" -o "x86_64-freebsd12.0" == "mipstx39-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=mipstx39-rtems5  --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/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:51:07 2019
==============================================================================
Report: devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.4.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.4.1-x86_64-freebsd12.0-1
 Config: devel/dtc-1.4.1-1.cfg
 Summary:
  Device Tree Compiler v1.4.1 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.jdl.com/software/
 Version:
  1.4.1
 Release:
  1
  Sources: 1
    1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.1.tar.gz
       sha256: 03e74e4ee9378be15f19eb24197dfa32070efc3c85e93269e56d7ade133e359f
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source dtc -q -n dtc-1.4.1
  %setup patch dtc -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd dtc-1.4.1
  # Build and build flags means force build == host
  # gcc is not ready to be compiled with -std=gnu99
  LDFLAGS="${SB_HOST_LDFLAGS}"
  LIBS="${SB_HOST_LIBS}"
  CC=$(echo "/usr/bin/cc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
  CXX=$(echo "/usr/bin/c++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  CC_FOR_BUILD=${CC}
  CXX_FOR_BUILD=${CXX}
  export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
  gmake PREFIX=/usr/local/rtems/5
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd dtc-1.4.1
  gmake DESTDIR=$SB_BUILD_ROOT PREFIX=/usr/local/rtems/5 install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:51:07 2019
==============================================================================
Report: devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.4.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.4.1-x86_64-freebsd12.0-1
 Config: devel/dtc-1.4.1-1.cfg
 Summary:
  Device Tree Compiler v1.4.1 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.jdl.com/software/
 Version:
  1.4.1
 Release:
  1
  Sources: 1
    1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.1.tar.gz
       sha256: 03e74e4ee9378be15f19eb24197dfa32070efc3c85e93269e56d7ade133e359f
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source dtc -q -n dtc-1.4.1
  %setup patch dtc -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd dtc-1.4.1
  # Build and build flags means force build == host
  # gcc is not ready to be compiled with -std=gnu99
  LDFLAGS="${SB_HOST_LDFLAGS}"
  LIBS="${SB_HOST_LIBS}"
  CC=$(echo "/usr/bin/cc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
  CXX=$(echo "/usr/bin/c++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  CC_FOR_BUILD=${CC}
  CXX_FOR_BUILD=${CXX}
  export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
  gmake PREFIX=/usr/local/rtems/5
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd dtc-1.4.1
  gmake DESTDIR=$SB_BUILD_ROOT PREFIX=/usr/local/rtems/5 install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:51:22 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target moxie-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:51:23 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target moxie-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:52:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:52:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:53:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:53:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:57:43 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/moxie-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:57:44 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: moxie-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target moxie-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "moxie-rtems5" -o "x86_64-freebsd12.0" == "moxie-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=moxie-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/moxie-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:58:01 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:58:01 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:58:25 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target nios2-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:58:25 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target nios2-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:59:58 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 14:59:58 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:00:27 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:00:27 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:04 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/nios2-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:05 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: nios2-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target nios2-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "nios2-rtems5" -o "x86_64-freebsd12.0" == "nios2-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=nios2-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/nios2-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:24 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:25 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:48 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target or1k-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:06:48 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target or1k-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:08:19 2019
==============================================================================
Report: tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.2.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.2.1-1.cfg
 Summary:
  GDB v8.2.1 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.2.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.2.1.tar.xz
       sha512: 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-riscv-config.patch
       sha512: 193eb9ddfc79c494eb8b1e971cc230f5f01b1653ba3f85b8541b973dfcd23ead65dea7a638a6ccdb7f6fc0201f9a764bfdf3f89b2d9afba5c13a5ca97e52ce9d
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-disable-sis.patch
       sha512: 295f915d6663b397a25692d89059cccbedf686fd6b1e0b5a7f04dff0a8e4b06614d4ffcde19a9790e122c0f43de1d561f3e0ba75c03ad215a906e8cd051c6960
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.2.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:08:19 2019
==============================================================================
Report: tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.2.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.2.1-1.cfg
 Summary:
  GDB v8.2.1 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.2.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.2.1.tar.xz
       sha512: 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-riscv-config.patch
       sha512: 193eb9ddfc79c494eb8b1e971cc230f5f01b1653ba3f85b8541b973dfcd23ead65dea7a638a6ccdb7f6fc0201f9a764bfdf3f89b2d9afba5c13a5ca97e52ce9d
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-disable-sis.patch
       sha512: 295f915d6663b397a25692d89059cccbedf686fd6b1e0b5a7f04dff0a8e4b06614d4ffcde19a9790e122c0f43de1d561f3e0ba75c03ad215a906e8cd051c6960
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.2.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:08:48 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:08:48 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:19:23 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/or1k-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:19:23 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target or1k-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "or1k-rtems5" -o "x86_64-freebsd12.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=or1k-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/or1k-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:19:43 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:19:43 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:20:10 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:20:10 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:21:51 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:21:51 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:22:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:22:25 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:41:32 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/powerpc-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:41:32 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target powerpc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "powerpc-rtems5" -o "x86_64-freebsd12.0" == "powerpc-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=powerpc-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/powerpc-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:41:52 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:41:52 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:42:22 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target riscv-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:42:22 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target riscv-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:43:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:43:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:44:26 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 15:44:26 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:28 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/riscv-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:29 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target riscv-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "riscv-rtems5" -o "x86_64-freebsd12.0" == "riscv-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=riscv-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/riscv-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:46 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:46 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:50 2019
==============================================================================
Report: devel/sis-2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/sis-2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/sis-2-1.cfg
------------------------------------------------------------------------------
Package: sis-2.18-x86_64-freebsd12.0-1
 Config: devel/sis-2-1.cfg
 Summary:
  Sis v2.18 for host x86_64-freebsd12.0
 Version:
  2.18
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/sis/snapshot/sis-2.18.tar.bz2
       sha256: a6447892865f1d1e6e36ed80737d6d74ec9c6b24591cb1f6a7a6fb05857ed7a0
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source sis -q -n sis-2.18
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd sis-2.18
  ac_prefix=/usr/local/rtems/5
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  CFLAGS_FOR_BUILD="-g -O2 -Wall"
  fi
  export CFLAGS CFLAGS_FOR_BUILD CC
  if test "riscv-rtems5" != "" ; then
  SIS_PREFIX="riscv-rtems5-"
  fi
  CFLAGS="$SB_CFLAGS"  ./configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --program-prefix="$SIS_PREFIX"  --prefix=${ac_prefix}
  gmake -j 8 all
  unset CFLAGS_FOR_BUILD
  cd ${build_top}
 Install:
  build_top=$(pwd)
  export PATH="/usr/local/rtems/5/bin:${PATH}"
  /bin/rm -rf $SB_BUILD_ROOT
  cd sis-2.18
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:03:50 2019
==============================================================================
Report: devel/sis-2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/sis-2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/sis-2-1.cfg
------------------------------------------------------------------------------
Package: sis-2.18-x86_64-freebsd12.0-1
 Config: devel/sis-2-1.cfg
 Summary:
  Sis v2.18 for host x86_64-freebsd12.0
 Version:
  2.18
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/sis/snapshot/sis-2.18.tar.bz2
       sha256: a6447892865f1d1e6e36ed80737d6d74ec9c6b24591cb1f6a7a6fb05857ed7a0
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source sis -q -n sis-2.18
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd sis-2.18
  ac_prefix=/usr/local/rtems/5
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  CFLAGS_FOR_BUILD="-g -O2 -Wall"
  fi
  export CFLAGS CFLAGS_FOR_BUILD CC
  if test "riscv-rtems5" != "" ; then
  SIS_PREFIX="riscv-rtems5-"
  fi
  CFLAGS="$SB_CFLAGS"  ./configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --program-prefix="$SIS_PREFIX"  --prefix=${ac_prefix}
  gmake -j 8 all
  unset CFLAGS_FOR_BUILD
  cd ${build_top}
 Install:
  build_top=$(pwd)
  export PATH="/usr/local/rtems/5/bin:${PATH}"
  /bin/rm -rf $SB_BUILD_ROOT
  cd sis-2.18
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:04:21 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sh-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:04:21 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sh-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:05:57 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:05:57 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:06:27 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:06:27 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:18:13 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sh-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:18:14 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sh-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sh-rtems5" -o "x86_64-freebsd12.0" == "sh-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sh-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sh-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:18:34 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:18:34 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:19:03 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sparc-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:19:03 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sparc-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:20:36 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --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-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:20:36 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --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-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:21:07 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:21:07 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:39:53 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sparc-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:39:53 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sparc-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc-rtems5" -o "x86_64-freebsd12.0" == "sparc-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sparc-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:12 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:12 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:15 2019
==============================================================================
Report: devel/sis-2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/sis-2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/sis-2-1.cfg
------------------------------------------------------------------------------
Package: sis-2.18-x86_64-freebsd12.0-1
 Config: devel/sis-2-1.cfg
 Summary:
  Sis v2.18 for host x86_64-freebsd12.0
 Version:
  2.18
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/sis/snapshot/sis-2.18.tar.bz2
       sha256: a6447892865f1d1e6e36ed80737d6d74ec9c6b24591cb1f6a7a6fb05857ed7a0
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source sis -q -n sis-2.18
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd sis-2.18
  ac_prefix=/usr/local/rtems/5
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  CFLAGS_FOR_BUILD="-g -O2 -Wall"
  fi
  export CFLAGS CFLAGS_FOR_BUILD CC
  if test "sparc-rtems5" != "" ; then
  SIS_PREFIX="sparc-rtems5-"
  fi
  CFLAGS="$SB_CFLAGS"  ./configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --program-prefix="$SIS_PREFIX"  --prefix=${ac_prefix}
  gmake -j 8 all
  unset CFLAGS_FOR_BUILD
  cd ${build_top}
 Install:
  build_top=$(pwd)
  export PATH="/usr/local/rtems/5/bin:${PATH}"
  /bin/rm -rf $SB_BUILD_ROOT
  cd sis-2.18
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:15 2019
==============================================================================
Report: devel/sis-2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/sis-2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/sis-2-1.cfg
------------------------------------------------------------------------------
Package: sis-2.18-x86_64-freebsd12.0-1
 Config: devel/sis-2-1.cfg
 Summary:
  Sis v2.18 for host x86_64-freebsd12.0
 Version:
  2.18
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/sis/snapshot/sis-2.18.tar.bz2
       sha256: a6447892865f1d1e6e36ed80737d6d74ec9c6b24591cb1f6a7a6fb05857ed7a0
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source sis -q -n sis-2.18
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd sis-2.18
  ac_prefix=/usr/local/rtems/5
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  CFLAGS_FOR_BUILD="-g -O2 -Wall"
  fi
  export CFLAGS CFLAGS_FOR_BUILD CC
  if test "sparc-rtems5" != "" ; then
  SIS_PREFIX="sparc-rtems5-"
  fi
  CFLAGS="$SB_CFLAGS"  ./configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --program-prefix="$SIS_PREFIX"  --prefix=${ac_prefix}
  gmake -j 8 all
  unset CFLAGS_FOR_BUILD
  cd ${build_top}
 Install:
  build_top=$(pwd)
  export PATH="/usr/local/rtems/5/bin:${PATH}"
  /bin/rm -rf $SB_BUILD_ROOT
  cd sis-2.18
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:44 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sparc64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:40:44 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sparc64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:42:18 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:42:18 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:42:48 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:42:48 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:46:58 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sparc64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:46:59 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target sparc64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "sparc64-rtems5" -o "x86_64-freebsd12.0" == "sparc64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=sparc64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/sparc64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:47:18 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:47:18 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:47:44 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target v850-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:47:44 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target v850-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:49:19 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:49:19 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.3-1.cfg
 Summary:
  GDB v8.3 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.3
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
       sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.3"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:49:49 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:49:49 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:56:19 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/v850-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:56:19 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: v850-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
 Summary:
  GCC vfb371a33fa6 and Newlib v6661a67 for target v850-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  fb371a33fa6
 Release:
  1
  Sources: 6
    1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
       No checksum
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
       sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source=gnu-mirror-gcc-fb371a33fa6
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.16.1"
  %setup source isl -q -D -n isl-0.16.1
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "v850-rtems5" -o "x86_64-freebsd12.0" == "v850-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=v850-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin        --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/v850-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:56:36 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:56:37 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:57:00 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target x86_64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:57:00 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target x86_64-rtems5 on host x86_64-freebsd12.0
 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0 --host=x86_64-freebsd12.0  --verbose  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:58:31 2019
==============================================================================
Report: tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.2.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.2.1-1.cfg
 Summary:
  GDB v8.2.1 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.2.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.2.1.tar.xz
       sha512: 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-riscv-config.patch
       sha512: 193eb9ddfc79c494eb8b1e971cc230f5f01b1653ba3f85b8541b973dfcd23ead65dea7a638a6ccdb7f6fc0201f9a764bfdf3f89b2d9afba5c13a5ca97e52ce9d
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-disable-sis.patch
       sha512: 295f915d6663b397a25692d89059cccbedf686fd6b1e0b5a7f04dff0a8e4b06614d4ffcde19a9790e122c0f43de1d561f3e0ba75c03ad215a906e8cd051c6960
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.2.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:58:31 2019
==============================================================================
Report: tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.2.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.2.1-1.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-gdb-8.2.1-x86_64-freebsd12.0-1
 Config: tools/rtems-gdb-8.2.1-1.cfg
 Summary:
  GDB v8.2.1 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.2.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.2.1.tar.xz
       sha512: 2aa81cfd389bb48c35d7d9f95cc10e88b4f7ad4597bdde0f8f1fd312f60f10d9fb2cc6e5a9355227d89ff328f7feb0fc411a69394560cafeb9fa75d35d896d11
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-riscv-config.patch
       sha512: 193eb9ddfc79c494eb8b1e971cc230f5f01b1653ba3f85b8541b973dfcd23ead65dea7a638a6ccdb7f6fc0201f9a764bfdf3f89b2d9afba5c13a5ca97e52ce9d
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.2.1-disable-sis.patch
       sha512: 295f915d6663b397a25692d89059cccbedf686fd6b1e0b5a7f04dff0a8e4b06614d4ffcde19a9790e122c0f43de1d561f3e0ba75c03ad215a906e8cd051c6960
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.2.1"
  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-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-freebsd12.0" != "x86_64-freebsd12.0" ; 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-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-rtems5  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:59:04 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 16:59:05 2019
==============================================================================
Report: tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.33.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.33.1.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-binutils-2.33.1-x86_64-freebsd12.0-1
 Config: tools/rtems-binutils-2.33.1.cfg
 Summary:
  Binutils v2.33.1 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.33.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.bz2
       sha512: bfdbb49a9002dd9bae8ab3c9347e05bd968ad97837c3e71b046eb8721c45a73db01f880dbdf0911bb37a97be37d6cc3b26d0855964a011f593ccbf1d08641c87
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.33.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_binutils}/configure  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-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=/usr/local/rtems/5 --bindir=/usr/local/rtems/5/bin  --exec-prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib  --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/usr/local/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 17:03:38 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/x86_64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 17:03:38 2019
==============================================================================
Report: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems5-gcc-9.2.0-newlib-6661a67-x86_64-freebsd12.0-1
 Config: tools/rtems-gcc-9.2.0-newlib-6661a67.cfg
 Summary:
  GCC v9.2.0 and Newlib v6661a67 for target x86_64-rtems5 on host x86_64-freebsd12.0
 URL:
  http://gcc.gnu.org/
 Version:
  9.2.0
 Release:
  1
  Sources: 6
    1: https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
       sha512: a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
    2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
       No checksum
    4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
       sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
    5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 1
    1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
       No checksum
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-9.2.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
  %setup source newlib -q -D -n ${source_dir_newlib}
  %setup patch newlib -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/newlib
  ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
  source_dir_isl="isl-0.18"
  %setup source isl -q -D -n isl-0.18
  %setup patch isl -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/isl
  ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
  source_dir_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 82451debbe22055834e4aed78211f1002b4c197f, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
  cd ${source_dir_gcc}
  contrib/gcc_update --touch
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; 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 "x86_64-rtems5" -o "x86_64-freebsd12.0" == "x86_64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # 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-freebsd12.0" != "x86_64-freebsd12.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gcc}/configure  --prefix=/usr/local/rtems/5  --bindir=/usr/local/rtems/5/bin  --exec_prefix=/usr/local/rtems/5  --includedir=/usr/local/rtems/5/include  --libdir=/usr/local/rtems/5/lib  --libexecdir=/usr/local/rtems/5/libexec  --mandir=/usr/local/rtems/5/share/man  --infodir=/usr/local/rtems/5/share/info  --datadir=/usr/local/rtems/5/share  --build=x86_64-freebsd12.0 --host=x86_64-freebsd12.0  --target=x86_64-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,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258  --enable-threads  --disable-plugin    --enable-libgomp    --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/bin/x86_64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/man/man3/*ffi*
  /bin/rm -rf ${source_dir_gcc}/newlib
  /bin/rm -rf ${source_dir_gcc}/mpfr
  /bin/rm -rf ${source_dir_gcc}/mpc
  /bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 17:03:57 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Nov  5 17:03:57 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
   2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 82451debbe22055834e4aed78211f1002b4c197f
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 12bd8f77bad4779319039fd7be33d006e10f5618 for host x86_64-freebsd12.0
 URL:
  http://www.rtems.org/
 Version:
  12bd8f77bad4779319039fd7be33d006e10f5618
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618.tar.bz2
       sha512: d720966bee1cd7f4484cadfbc8bad2ac0d74e07912df0b66f900a959e652d18080157e31c957ca0c9a4f0d8bec99dcc0b7c06e61a62b955ef230d9630f6fe111
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-12bd8f77bad4779319039fd7be33d006e10f5618
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.0" != "x86_64-freebsd12.0" ; then
  RT_HOST="--host=x86_64-freebsd12.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/usr/local/rtems/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}




More information about the build mailing list