Build FreeBSD: FAILED 6/rtems-all on x86_64-freebsd12.0 (x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Mon Sep 9 15:48:53 UTC 2019
RTEMS Source Builder - Set Builder, 5 (7ca09f63c2f7)
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:40:08.538602
Output
======
Build Set: 6/rtems-all
Build Set: 6/rtems-aarch64.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 440.497MB (sources: 440.297MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:04.810167
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 445.782MB (sources: 440.297MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.582433
Build Set: Time 0:00:11.396167
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-head.cfg
package: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
download: https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b -> sources/sourceware-mirror-binutils-gdb-60391a255b.tar.gz
building: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 403.449MB (installed: 15.556MB)
cleaning: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 419.960MB (installed: 38.810MB)
cleaning: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
download: https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e -> sources/gnu-mirror-gcc-668cbe0a29e.tar.gz
download: https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4 -> sources/newlib-f39a694c4.tar.gz
building: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 1.640GB (installed: 244.125MB)
cleaning: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
download: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b9...<see log> -> sources/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 1.999GB total: 996.274MB (sources: 628.389MB, patches: 204.886KB, installed 367.685MB)
Build Set: Time 0:09:52.141038
Build Set: 6/rtems-arm.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.463589
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.863899
Build Set: Time 0:00:12.331062
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-head.cfg
package: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 397.819MB (installed: 14.851MB)
cleaning: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 406.109MB (installed: 32.942MB)
cleaning: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 5.016GB (installed: 972.007MB)
cleaning: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.407MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 6.079GB total: 1.677GB (sources: 628.389MB, patches: 204.886KB, installed 1.063GB)
Build Set: Time 0:26:41.429315
Build Set: 6/rtems-bfin.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.609624
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.690436
Build Set: Time 0:00:12.303653
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-head.cfg
package: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 397.530MB (installed: 14.997MB)
cleaning: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 399.055MB (installed: 29.494MB)
cleaning: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 1.132GB (installed: 131.303MB)
cleaning: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 1.371GB total: 873.576MB (sources: 628.389MB, patches: 204.886KB, installed 244.987MB)
Build Set: Time 0:07:12.221915
Build Set: 6/rtems-epiphany.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.299001
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.693556
Build Set: Time 0:00:11.996217
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-head.cfg
package: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 395.749MB (installed: 27.861MB)
cleaning: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 1.139GB (installed: 133.515MB)
cleaning: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-gdb-7.8.1-1.cfg
package: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1
building: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1
sizes: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1: 299.781MB (installed: 11.201MB)
cleaning: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-7.8.1-1.cfg -> epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-7.8.1-1.cfg -> epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: epiphany-rtems6-gdb-7.8.1-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 1.375GB total: 870.358MB (sources: 628.389MB, patches: 204.886KB, installed 241.769MB)
Build Set: Time 0:06:38.822660
Build Set: 6/rtems-i386.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.545282
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.595028
Build Set: Time 0:00:12.144010
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-head.cfg
package: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 396.101MB (installed: 12.807MB)
cleaning: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 410.610MB (installed: 33.951MB)
cleaning: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: i386-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: i386-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
error: building i386-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Build FAILED
See error report: rsb-report-i386-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
error: building i386-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 526.561MB total: 744.539MB (sources: 628.389MB, patches: 204.886KB, installed 115.950MB)
Build Set: Time 0:09:30.197397
Build Set: 6/rtems-lm32.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:04.915142
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.545650
Build Set: Time 0:00:11.464703
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-head.cfg
package: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 394.133MB (installed: 13.767MB)
cleaning: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 395.571MB (installed: 27.921MB)
cleaning: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 2.234GB (installed: 372.862MB)
cleaning: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 2.707GB total: 1.086GB (sources: 628.389MB, patches: 204.886KB, installed 483.742MB)
Build Set: Time 0:11:10.185152
Build Set: 6/rtems-m68k.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.658068
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.678727
Build Set: Time 0:00:12.340689
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-head.cfg
package: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 389.209MB (installed: 11.840MB)
cleaning: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 397.669MB (installed: 28.811MB)
cleaning: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 4.998GB (installed: 984.954MB)
cleaning: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 6.067GB total: 1.683GB (sources: 628.389MB, patches: 204.886KB, installed 1.069GB)
Build Set: Time 0:22:00.408769
Build Set: 6/rtems-microblaze.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.515507
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.620856
Build Set: Time 0:00:12.140066
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-head.cfg
package: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 392.353MB (installed: 13.231MB)
cleaning: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 394.220MB (installed: 27.273MB)
cleaning: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 4.142GB (installed: 787.498MB)
cleaning: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 5.018GB total: 1.490GB (sources: 628.389MB, patches: 204.886KB, installed 897.195MB)
Build Set: Time 0:17:55.194001
Build Set: 6/rtems-mips.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.697816
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.615265
Build Set: Time 0:00:12.316812
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-head.cfg
package: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 402.479MB (installed: 15.571MB)
cleaning: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 411.585MB (installed: 35.358MB)
cleaning: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 2.689GB (installed: 470.043MB)
cleaning: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
config: tools/rtems-mipstx39-gdb-head.cfg
package: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 402.158MB (installed: 15.499MB)
cleaning: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-mipstx39-gdb-head.cfg -> mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-mipstx39-gdb-head.cfg -> mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
cleaning: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Build Sizes: usage: 3.281GB total: 1.205GB (sources: 628.389MB, patches: 204.886KB, installed 605.664MB)
Build Set: Time 0:15:26.582884
Build Set: 6/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: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.626988
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.830240
Build Set: Time 0:00:12.461045
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-head.cfg
package: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 392.175MB (installed: 13.212MB)
cleaning: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 393.160MB (installed: 26.810MB)
cleaning: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 1.385GB (installed: 187.666MB)
cleaning: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: dtc-1.4.1-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: dtc-1.4.1-x86_64-freebsd12.0-1
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 1.676GB total: 926.355MB (sources: 628.389MB, patches: 204.886KB, installed 297.766MB)
Build Set: Time 0:08:14.114274
Build Set: 6/rtems-nios2.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:04.907692
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.612609
Build Set: Time 0:00:11.523882
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-head.cfg
package: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 388.569MB (installed: 11.767MB)
cleaning: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 396.080MB (installed: 28.272MB)
cleaning: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 2.028GB (installed: 329.244MB)
cleaning: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 2.456GB total: 1.042GB (sources: 628.389MB, patches: 204.886KB, installed 438.476MB)
Build Set: Time 0:09:55.501861
Build Set: 6/rtems-or1k.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:06.654246
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.716224
Build Set: Time 0:00:13.374186
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-head.cfg
package: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 396.383MB (installed: 14.686MB)
cleaning: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 395.721MB (installed: 27.965MB)
cleaning: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 3.005GB (installed: 540.421MB)
cleaning: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 3.642GB total: 1.251GB (sources: 628.389MB, patches: 204.886KB, installed 652.265MB)
Build Set: Time 0:14:07.049739
Build Set: 6/rtems-powerpc.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.441099
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.877538
Build Set: Time 0:00:12.322366
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-head.cfg
package: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 419.693MB (installed: 17.114MB)
cleaning: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 425.313MB (installed: 43.122MB)
cleaning: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 6.040GB (installed: 1.188GB)
cleaning: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 7.355GB total: 1.929GB (sources: 628.389MB, patches: 204.886KB, installed 1.315GB)
Build Set: Time 0:26:16.440538
Build Set: 6/rtems-riscv.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.753656
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.634369
Build Set: Time 0:00:12.391837
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-head.cfg
package: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 390.288MB (installed: 11.971MB)
cleaning: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 401.621MB (installed: 30.812MB)
cleaning: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 7.942GB (installed: 1.630GB)
cleaning: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 9.681GB total: 2.353GB (sources: 628.389MB, patches: 204.886KB, installed 1.739GB)
Build Set: Time 0:23:47.627891
Build Set: 6/rtems-sh.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.688055
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.784157
Build Set: Time 0:00:12.475934
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.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-head.cfg
package: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 396.133MB (installed: 14.258MB)
cleaning: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 402.052MB (installed: 31.355MB)
cleaning: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 3.535GB (installed: 655.602MB)
cleaning: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.407MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 4.287GB total: 1.366GB (sources: 628.389MB, patches: 204.886KB, installed 770.408MB)
Build Set: Time 0:17:42.692030
Build Set: 6/rtems-sparc.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:06.047699
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.693264
Build Set: Time 0:00:12.744635
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-head.cfg
package: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 396.603MB (installed: 14.854MB)
cleaning: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 398.926MB (installed: 29.375MB)
cleaning: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 6.040GB (installed: 1.190GB)
cleaning: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 7.341GB total: 1.914GB (sources: 628.389MB, patches: 204.886KB, installed 1.300GB)
Build Set: Time 0:26:56.203519
Build Set: 6/rtems-sparc64.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.388260
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.822171
Build Set: Time 0:00:12.214190
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-head.cfg
package: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 390.566MB (installed: 12.020MB)
cleaning: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 400.365MB (installed: 30.097MB)
cleaning: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 1.667GB (installed: 251.832MB)
cleaning: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 2.021GB total: 991.731MB (sources: 628.389MB, patches: 204.886KB, installed 363.142MB)
Build Set: Time 0:08:24.247033
Build Set: 6/rtems-v850.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.540316
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.641993
Build Set: Time 0:00:12.185943
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-head.cfg
package: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 403.376MB (installed: 16.164MB)
cleaning: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 395.096MB (installed: 27.688MB)
cleaning: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
sizes: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1: 2.217GB (installed: 368.752MB)
cleaning: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
reporting: tools/rtems-gcc-head-newlib-head.cfg -> v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gcc-head-newlib-head.cfg -> v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
staging: expat-2.1.0-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 2.687GB total: 1.084GB (sources: 628.389MB, patches: 204.886KB, installed 481.798MB)
Build Set: Time 0:11:17.449439
Build Set: 6/rtems-x86_64.bset
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-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: 628.589MB (sources: 628.389MB, patches: 204.886KB, installed 0.000B)
Build Set: Time 0:00:05.449528
Build Set: 6/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
staging: autoconf-2.69-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
staging: automake-1.12.6-x86_64-freebsd12.0-1 -> /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user-staging
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: 633.874MB (sources: 628.389MB, patches: 204.886KB, installed 5.285MB)
Build Set: Time 0:00:06.783418
Build Set: Time 0:00:12.236609
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-head.cfg
package: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
building: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
sizes: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1: 397.558MB (installed: 12.978MB)
cleaning: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-gdb-head.cfg -> x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-gdb-head.cfg -> x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-binutils-head.cfg
package: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
building: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
sizes: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1: 423.850MB (installed: 40.811MB)
cleaning: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
reporting: tools/rtems-binutils-head.cfg -> x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.txt
reporting: tools/rtems-binutils-head.cfg -> x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
building: x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
error: building x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Build FAILED
See error report: rsb-report-x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1.txt
error: building x86_64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
building: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
sizes: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1: 262.408MB (installed: 68.589MB)
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1.xml
cleaning: expat-2.1.0-x86_64-freebsd12.0-1
cleaning: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
cleaning: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
cleaning: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Build Sizes: usage: 546.832MB total: 751.571MB (sources: 628.389MB, patches: 204.886KB, installed 122.982MB)
Build Set: Time 0:06:59.993415
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:17: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:17: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:19:02 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:19:02 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:19:41 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:19:41 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/aarch64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/aarch64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:26:03 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 13:26:03 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target aarch64-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "aarch64-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 13:26:31 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 13:26:31 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 13:27:06 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:27:06 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:28:40 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:28:40 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:29:22 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:29:22 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/arm-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/arm-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:52:18 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 13:52:18 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target arm-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "arm-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 13:52: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 13:52: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 13:53: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:53: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 13:55:23 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:55:23 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 13:56:05 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 13:56:05 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/bfin-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/bfin-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:00:11 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:00:11 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: bfin-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target bfin-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "bfin-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:00:27 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:00:27 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:00:59 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:00:59 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:01:38 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target epiphany-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:01:38 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target epiphany-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:05:46 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target epiphany-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:05:46 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target epiphany-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:06:53 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-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-rtems6 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/6/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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:06:53 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.8.1-1.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-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-rtems6 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/6/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-rtems6" -o "x86_64-freebsd12.0" == "epiphany-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:07:09 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:07:09 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:07:38 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:07:38 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:09:09 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target i386-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "i386-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:09:09 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: i386-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target i386-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "i386-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:09:50 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target i386-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "i386-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:09:50 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: i386-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target i386-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "i386-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/i386-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/i386-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:16:49 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:16:49 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:17:08 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:17:08 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:18:39 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:18:39 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:19:18 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:19:18 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/lm32-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/lm32-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:27:12 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:27:12 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: lm32-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target lm32-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "lm32-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:27: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:27: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:28:19 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:28:19 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:29:48 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:29:49 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:30:27 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:30:28 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/m68k-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/m68k-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:48:54 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:48:54 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: m68k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target m68k-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "m68k-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 14:49:15 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:49:16 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 14:50:19 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:50:19 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 14:51:53 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:51:53 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 14:52:32 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 14:52:32 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:06:59 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:06:59 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target microblaze-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "microblaze-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:07:20 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:07:20 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:08:15 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:08:15 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:09:47 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
--enable-sim-hardware \
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/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> Mon Sep 9 15:09:47 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
--enable-sim-hardware \
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/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> Mon Sep 9 15:10:31 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:10:32 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/mips-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/mips-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:20:58 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:20:58 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: mips-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target mips-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "mips-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:21:16 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:21:16 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:22:57 2019
==============================================================================
Report: tools/rtems-mipstx39-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-mipstx39-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-mipstx39-gdb-head.cfg
------------------------------------------------------------------------------
Package: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-mipstx39-gdb-head.cfg
Summary:
GDB v60391a255b for target mipstx39-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mipstx39-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
--enable-sim-hardware \
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/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> Mon Sep 9 15:22:57 2019
==============================================================================
Report: tools/rtems-mipstx39-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-mipstx39-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-mipstx39-gdb-head.cfg
------------------------------------------------------------------------------
Package: mipstx39-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-mipstx39-gdb-head.cfg
Summary:
GDB v60391a255b for target mipstx39-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "mipstx39-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
--enable-sim-hardware \
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/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> Mon Sep 9 15:23:29 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:23:29 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:23: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:23:45 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:25:16 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:25:16 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:25:56 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:25:56 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:31:04 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:31:04 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target moxie-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "moxie-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:31:23 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:31:23 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:31:54 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:31:54 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:33:24 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:33:24 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:34:02 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:34:02 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/nios2-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/nios2-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:40:52 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:40:52 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: nios2-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target nios2-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "nios2-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:41: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:41: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:41:52 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:41:52 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:43:23 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:43:24 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:44:01 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:44:01 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/or1k-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/or1k-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:54:45 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:54:45 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: or1k-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target or1k-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "or1k-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 15:55:04 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:55:04 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 15:55: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:55: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 15:57:40 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:57:41 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 15:58:25 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 15:58:25 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/powerpc-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/powerpc-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 16:20:36 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 16:20:36 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: powerpc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target powerpc-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "powerpc-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 16:20:55 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 16:20:55 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 16:22:14 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 16:22:14 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 16:23:48 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 16:23:49 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 16:24:26 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 16:24:27 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/riscv-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/riscv-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 16:44:03 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 16:44:03 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target riscv-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "riscv-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 16:44: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 16:44: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 16:46:02 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 16:46:02 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 16:47:37 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 16:47:38 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 16:48:16 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 16:48:16 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sh-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sh-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:02:32 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:02:33 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sh-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sh-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sh-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:02: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:02: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:03:45 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:03:45 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:05:17 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:05:17 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:05:59 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:05:59 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:28:55 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:28:55 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sparc-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sparc-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sparc-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:29: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:29: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:30:41 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:30:41 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:32:14 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:32:14 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:32:56 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:32:56 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/sparc64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/sparc64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:38:05 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:38:05 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: sparc64-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target sparc64-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "sparc64-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:38:26 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:38:26 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:39:05 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:39:05 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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:40:41 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:40:41 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:41:23 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:41:23 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/v850-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/v850-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:49:17 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:49:17 2019
==============================================================================
Report: tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-head-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-head-newlib-head.cfg
------------------------------------------------------------------------------
Package: v850-rtems6-gcc-668cbe0a29e-newlib-f39a694c4-x86_64-freebsd12.0-1
Config: tools/rtems-gcc-head-newlib-head.cfg
Summary:
GCC v668cbe0a29e and Newlib vf39a694c4 for target v850-rtems6 on host x86_64-freebsd12.0
URL:
http://gcc.gnu.org/
Version:
668cbe0a29e
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-668cbe0a29e.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/668cbe0a29e
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-f39a694c4.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/f39a694c4
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: 0
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-668cbe0a29e
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-f39a694c4
%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 6, RSB 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3, Newlib f39a694c4" > ${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-rtems6" -o "x86_64-freebsd12.0" == "v850-rtems6" ; 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-rtems6 \
--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-rtems6-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> Mon Sep 9 17:49: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:49: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:50: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:50: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
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems6 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> Mon Sep 9 17:51:56 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target x86_64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "x86_64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:51:56 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems6-gdb-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v60391a255b for target x86_64-rtems6 on host x86_64-freebsd12.0
URL:
http://www.gnu.org/software/gdb/
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "x86_64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--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> Mon Sep 9 17:52:41 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target x86_64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "x86_64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:52:41 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: x86_64-rtems6-binutils-60391a255b-x86_64-freebsd12.0-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v60391a255b for target x86_64-rtems6 on host x86_64-freebsd12.0
URL:
http://sources.redhat.com/binutils
Version:
60391a255b
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-60391a255b.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/60391a255b
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-60391a255b
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-rtems6" -o "x86_64-freebsd12.0" == "x86_64-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-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-rtems6 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/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-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/x86_64-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/x86_64-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Sep 9 17:57:02 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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> Mon Sep 9 17:57:02 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 7ca09f63c2f7c51d19b4e3c643c2fc035399c0f3
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools 0c986b2f6add49f4e65779755a359b933f183c0e for host x86_64-freebsd12.0
URL:
http://www.rtems.org/
Version:
0c986b2f6add49f4e65779755a359b933f183c0e
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e.tar.bz2
sha512: niIdBJ3FTDzSL/l+DyNMvqoEVxcWe7PXR/7XD9AU2MTutKN0ihHxdKH4YE4+WKo28RxLXbCXm7HNuLF9/vLYew==
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-0c986b2f6add49f4e65779755a359b933f183c0e
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