Build Linux: FAILED 6/rtems-arm on x86_64-linux-gnu (arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Fri Jan 18 10:03:10 UTC 2019


RTEMS Source Builder - Set Builder, 5 (0bb29a38fb73)

Host: Linux-4.9.0-3-amd64-x86_64-with-debian-9.6
       Linux RTEMS-debian-9 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3
       (2017-08-06) x86_64

Build Time: 0:06:57.747731

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking assembler for dwarf2 debug_line support... yes
checking assembler for buggy dwarf2 .file directive... no
checking assembler for dwarf2 debug_view support... yes
checking assembler for --gdwarf2 option... yes
checking assembler for --gstabs option... yes
checking assembler for --debug-prefix-map option... yes
checking assembler for compressed debug sections... 2
checking assembler for .lcomm with alignment... no
checking for target glibc version... 0.0
checking assembler for gnu_unique_object... yes
checking assembler for tolerance to line number 0... yes
checking support for thin archives... yes
checking linker PT_GNU_EH_FRAME support... yes
checking linker CIEv3 in .eh_frame support... yes
checking linker position independent executable support... yes
checking linker PIE support with copy reloc... no
checking linker EH-compatible garbage collection of sections... no
checking linker EH garbage collection of sections bug... no
checking linker for compressed debug sections... 3
checking linker --as-needed support... yes
checking linker mapfile support for clearing hardware capabilities... no
checking linker --build-id support... yes
checking linker *_sol2 emulation support... no
checking linker --sysroot support... yes
checking __stack_chk_fail in target C library... no
checking sys/sdt.h in the target C library... no
checking dl_iterate_phdr in target C library... unknown
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to avoid linking multiple front-ends at once... no
Links are now set up to build a cross-compiler
 from x86_64-pc-linux-gnu to arm-unknown-rtems6.
gcc_driver_version: 9.0.0
checking for -fno-PIE option... yes
checking for -no-pie option... yes
checking linker -z bndplt option... no
checking linker --push-state/--pop-state options... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating as
config.status: creating collect-ld
config.status: creating nm
config.status: creating Makefile
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing depdir commands
mkdir -p -- .deps
config.status: executing gccdepdir commands
mkdir -p -- build/.deps
mkdir -p -- ada/.deps
mkdir -p -- brig/.deps
mkdir -p -- c/.deps
mkdir -p -- cp/.deps
mkdir -p -- d/.deps
mkdir -p -- fortran/.deps
mkdir -p -- go/.deps
mkdir -p -- jit/.deps
mkdir -p -- lto/.deps
mkdir -p -- objc/.deps
mkdir -p -- objcp/.deps
mkdir -p -- c-family/.deps
mkdir -p -- common/.deps
config.status: executing default commands
mkdir -p -- ./libcc1
Configuring in ./libcc1
make[2]: Entering directory '/home/user/rtems-source-builder/rtems/build/arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1/build/gcc'
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-rtems6
checking for x86_64-linux-gnu-gcc... gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="\"arm7tdmi\"" \
HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/dbxelf.h config/elfos.h config/arm/unknown-elf.h config/arm/elf.h config/arm/bpabi.h config/rtems.h config/arm/rtems.h config/newlib-stdint.h config/arm/aout.h config/arm/arm.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" \
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/arm/arm-flags.h config/arm/arm-protos.h config/arm/aarch-common-protos.h tm-preds.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/mkconfig.sh tm_p.h

TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/mkconfig.sh bconfig.h
checking whether we are cross compiling... flex  -ogengtype-lex.c ../../gnu-mirror-gcc-597c6d15f88/gcc/gengtype-lex.l && { \
  echo '#ifdef HOST_GENERATOR_FILE' > gengtype-lex.c.tmp; \
  echo '#include "config.h"'       >> gengtype-lex.c.tmp; \
  echo '#else'                     >> gengtype-lex.c.tmp; \
  echo '#include "bconfig.h"'      >> gengtype-lex.c.tmp; \
  echo '#endif'                    >> gengtype-lex.c.tmp; \
  cat gengtype-lex.c >> gengtype-lex.c.tmp; \
  mv gengtype-lex.c.tmp gengtype-lex.c; \
}
g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gnu-mirror-gcc-597c6d15f88/gcc -I../../gnu-mirror-gcc-597c6d15f88/gcc/build -I../../gnu-mirror-gcc-597c6d15f88/gcc/../include  -I../../gnu-mirror-gcc-597c6d15f88/gcc/../libcpp/include  \
-DBASEVER="\"9.0.0\"" -DDATESTAMP="\" 20190118\"" \
-DREVISION="\"\"" \
-DDEVPHASE="\" (RTEMS 6, RSB 0bb29a38fb73342c3c25c6917884e08f7386a6f4, Newlib 7f983079d)\"" -DPKGVERSION="\"(GCC) \"" \
-DBUGURL="\"<https://gcc.gnu.org/bugs/>\"" -o build/version.o ../../gnu-mirror-gcc-597c6d15f88/gcc/version.c
LC_ALL=C ; export LC_ALL ; \
mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/opt-gather.awk ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/gcc-interface/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/brig/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/d/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/fortran/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/go/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/lto/lang.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/c-family/c.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/common.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm-tables.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm.opt ../../gnu-mirror-gcc-597c6d15f88/gcc/config/rtems.opt > tmp-optionlist
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include accepts -g... mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/parsecpu.awk -v cmd=headers \
	../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm-cpus.in > tmp-arm-cpu.h
mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/parsecpu.awk -v cmd=isa \
	../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm-cpus.in > tmp-arm-isa.h
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo "#define BUILDING_GCC_MAJOR `echo 9.0.0 | sed -e 's/^\([0-9]*\).*$/\1/'`" > bversion.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h insn-constants.h config/arm/arm.h config/arm/arm-protos.h defaults.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/mkconfig.sh tm_d.h
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-arm-cpu.h arm-cpu.h
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-arm-isa.h arm-isa.h
echo timestamp > s-gtyp-input
echo "#define BUILDING_GCC_MINOR `echo 9.0.0 | sed -e 's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h
if test yes = yes \
   || test -n ""; then \
  /bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/genmultilib \
    " mbig-endian mthumb march=armv5te+fp/march=armv6-m/march=armv7-a/march=armv7-a+simd/march=armv7-r/march=armv7-r+fp/march=armv7-m/march=armv7e-m+fp/march=armv7e-m+fp.dp mfloat-abi=hard" \
    " eb thumb armv5te+fp       armv6-m       armv7-a       armv7-a+simd       armv7-r       armv7-r+fp       armv7-m       armv7e-m+fp        armv7e-m+fp.dp hard" \
    "" \
    "" \
    "" \
    "" \
    "" \
    " mbig-endian/mthumb/march=armv7-r+fp/mfloat-abi=hard mbig-endian/mthumb/march=armv7-r march=armv5te+fp/mfloat-abi=hard mthumb/march=armv6-m mthumb/march=armv7-a+simd/mfloat-abi=hard mthumb/march=armv7-a mthumb/march=armv7-r+fp/mfloat-abi=hard mthumb/march=armv7-r mthumb/march=armv7e-m+fp/mfloat-abi=hard mthumb/march=armv7e-m+fp.dp/mfloat-abi=hard mthumb/march=armv7-m mthumb" \
    "" \
    "" \
    "yes" \
    > tmp-mlib.h; \
else \
  /bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/genmultilib '' '' '' '' '' '' '' '' \
    "" '' no \
    > tmp-mlib.h; \
fi
lsf="../../gnu-mirror-gcc-597c6d15f88/gcc/ada/gcc-interface/lang-specs.h ../../gnu-mirror-gcc-597c6d15f88/gcc/cp/lang-specs.h ../../gnu-mirror-gcc-597c6d15f88/gcc/fortran/lang-specs.h"; for f in $lsf; do \
    echo "#include \"$f\""; \
done | sed 's|../../gnu-mirror-gcc-597c6d15f88/gcc/||' > tmp-specs.h
rm -f tmp-all-tree.def
yes
checking for gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include option to accept ISO C89... echo timestamp > s-arm-cpu
echo timestamp > s-arm-isa
echo "#define BUILDING_GCC_PATCHLEVEL `echo 9.0.0 | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-specs.h specs.h
echo '#include "tree.def"' > tmp-all-tree.def
mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/gen-pass-instances.awk \
  ../../gnu-mirror-gcc-597c6d15f88/gcc/passes.def  > pass-instances.def
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -E ../../gnu-mirror-gcc-597c6d15f88/gcc/params-list.h | sed 's/^#.*//;/^$/d' > tmp-params.list
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -E ../../gnu-mirror-gcc-597c6d15f88/gcc/params-options.h | sed 's/^#.*//;/^$/d' > tmp-params.options
echo timestamp > s-specs
echo '#include "c-family/c-common.def"' >> tmp-all-tree.def
echo timestamp > s-bversion
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-params.list params.list
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-params.options params.options
echo "g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -no-pie   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -L/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/lib" > checksum-options.tmp \
&& ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change checksum-options.tmp checksum-options
none needed
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include understands -c and -o together... ltf="../../gnu-mirror-gcc-597c6d15f88/gcc/ada/gcc-interface/ada-tree.def ../../gnu-mirror-gcc-597c6d15f88/gcc/cp/cp-tree.def ../../gnu-mirror-gcc-597c6d15f88/gcc/d/d-tree.def ../../gnu-mirror-gcc-597c6d15f88/gcc/objc/objc-tree.def"; for f in $ltf; do \
  echo "#include \"$f\""; \
done | sed 's|../../gnu-mirror-gcc-597c6d15f88/gcc/||' >> tmp-all-tree.def
echo timestamp > s-params.list
echo timestamp > s-params.options
mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/parsecpu.awk -v cmd=data \
	../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm-cpus.in > tmp-arm-cpu-data.h
mawk -f ../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/parsecpu.awk -v cmd=common-data \
	../../gnu-mirror-gcc-597c6d15f88/gcc/config/arm/arm-cpus.in > tmp-arm-cpu-cdata.h
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-all-tree.def all-tree.def
mkdir -p ada/bldtools/sinfo
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-arm-cpu-data.h arm-cpu-data.h
mkdir -p ada/bldtools/einfo
mkdir -p ada/bldtools/nmake
mkdir -p ada/bldtools/treeprs
rm -f ada/bldtools/sinfo/sinfo.ads ada/bldtools/sinfo/sinfo.adb ada/bldtools/sinfo/xsinfo.adb ada/bldtools/sinfo/csinfo.adb
rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb ada/bldtools/einfo/xeinfo.adb ada/bldtools/einfo/ceinfo.adb
rm -f ada/bldtools/nmake/sinfo.ads ada/bldtools/nmake/nmake.adt ada/bldtools/nmake/xnmake.adb ada/bldtools/nmake/xutil.ads ada/bldtools/nmake/xutil.adb
rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads ada/bldtools/treeprs/xtreeprs.adb
echo timestamp > s-alltree
echo timestamp > s-arm-data
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/sinfo.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xsinfo.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/csinfo.adb ada/bldtools/sinfo
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/einfo.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/einfo.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xeinfo.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/ceinfo.adb ada/bldtools/einfo
yes
checking how to run the C preprocessor... cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/nmake.adt ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xnmake.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xutil.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xutil.adb ada/bldtools/nmake
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/treeprs.adt ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
mkdir -p ada/bldtools/snamest
touch ada/GNAT_DATE
(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )
(cd ada/bldtools/einfo; gnatmake -q xeinfo ; ./xeinfo einfo.h )
(cd ada/bldtools/nmake; gnatmake -q xnmake ; ./xnmake -b nmake.adb ; ./xnmake -s nmake.ads)
(cd ada/bldtools/treeprs; gnatmake -q xtreeprs ; ./xtreeprs treeprs.ads )
rm -f ada/bldtools/snamest/snames.ads-tmpl ada/bldtools/snamest/snames.adb-tmpl ada/bldtools/snamest/snames.h-tmpl ada/bldtools/snamest/xsnamest.adb ada/bldtools/snamest/xutil.ads ada/bldtools/snamest/xutil.adb
mkdir -p ada/libgnat
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/snames.ads-tmpl ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/snames.adb-tmpl ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/snames.h-tmpl ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xsnamest.adb ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xutil.ads ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/xutil.adb ada/bldtools/snamest
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/libgnat/s-excmac__gcc.ads ada/libgnat/s-excmac.ads
mkdir -p ada/libgnat
xnmake.adb:50:06: "Ada" is not a predefined library unit
xnmake.adb:51:06: "Ada" is not a predefined library unit
xnmake.adb:52:06: "Ada" is not a predefined library unit
xnmake.adb:53:06: "Ada" is not a predefined library unit
xnmake.adb:54:06: "Ada" is not a predefined library unit
xnmake.adb:55:06: "Ada" is not a predefined library unit
xnmake.adb:56:06: "Ada" is not a predefined library unit
xnmake.adb:58:06: "Ada" is not a predefined library unit
xnmake.adb:58:06: "Xnmake (body)" depends on "Gnat.Spitbol (spec)"
xnmake.adb:58:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xnmake.adb:59:06: "Ada" is not a predefined library unit
xnmake.adb:59:06: "Xnmake (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xnmake.adb:59:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xnmake.adb:61:06: "Ada" is not a predefined library unit
xnmake.adb:61:06: "Xnmake (body)" depends on "Xutil (spec)"
xnmake.adb:61:06: "Xutil (spec)" depends on "Ada (spec)"
gnatmake: "xnmake.adb" compilation error
/bin/bash: ./xnmake: No such file or directory
/bin/bash: ./xnmake: No such file or directory
xtreeprs.adb:43:06: "ADA" is not a predefined library unit
xtreeprs.adb:44:06: "ADA" is not a predefined library unit
xtreeprs.adb:45:06: "ADA" is not a predefined library unit
xtreeprs.adb:46:06: "ADA" is not a predefined library unit
xtreeprs.adb:47:06: "ADA" is not a predefined library unit
xtreeprs.adb:49:06: "ADA" is not a predefined library unit
xtreeprs.adb:49:06: "XTREEPRS (body)" depends on "GNAT.SPITBOL (spec)"
xtreeprs.adb:49:06: "GNAT.SPITBOL (spec)" depends on "ADA (spec)"
xtreeprs.adb:50:06: "ADA" is not a predefined library unit
xtreeprs.adb:50:06: "XTREEPRS (body)" depends on "GNAT.SPITBOL.PATTERNS (spec)"
xtreeprs.adb:50:06: "GNAT.SPITBOL.PATTERNS (spec)" depends on "ADA (spec)"
xeinfo.adb:49:06: "ADA" is not a predefined library unit
xeinfo.adb:50:06: "ADA" is not a predefined library unit
xeinfo.adb:51:06: "ADA" is not a predefined library unit
xeinfo.adb:52:06: "ADA" is not a predefined library unit
xeinfo.adb:53:06: "ADA" is not a predefined library unit
xeinfo.adb:54:06: "ADA" is not a predefined library unit
xeinfo.adb:56:06: "ADA" is not a predefined library unit
xeinfo.adb:56:06: "XEINFO (body)" depends on "GNAT.SPITBOL (spec)"
xeinfo.adb:56:06: "GNAT.SPITBOL (spec)" depends on "ADA (spec)"
xeinfo.adb:57:06: "ADA" is not a predefined library unit
xeinfo.adb:57:06: "XEINFO (body)" depends on "GNAT.SPITBOL.PATTERNS (spec)"
xeinfo.adb:57:06: "GNAT.SPITBOL.PATTERNS (spec)" depends on "ADA (spec)"
xeinfo.adb:60:06: "ADA" is not a predefined library unit
xeinfo.adb:60:06: "XEINFO (body)" depends on "CEINFO (body)"
xeinfo.adb:60:06: "CEINFO (body)" depends on "ADA (spec)"
../../gnu-mirror-gcc-597c6d15f88/gcc/ada/Make-generated.in:61: recipe for target 'ada/stamp-nmake' failed
make[2]: *** [ada/stamp-nmake] Error 127
(cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest )
make[2]: *** Waiting for unfinished jobs....
cp -p ../../gnu-mirror-gcc-597c6d15f88/gcc/ada/libgnat/s-excmac__gcc.adb ada/libgnat/s-excmac.adb
gnatmake: "xtreeprs.adb" compilation error
gnatmake: "xeinfo.adb" compilation error
/bin/bash: ./xtreeprs: No such file or directory
/bin/bash: ./xeinfo: No such file or directory
../../gnu-mirror-gcc-597c6d15f88/gcc/ada/Make-generated.in:28: recipe for target 'ada/treeprs.ads' failed
make[2]: *** [ada/treeprs.ads] Error 127
../../gnu-mirror-gcc-597c6d15f88/gcc/ada/Make-generated.in:35: recipe for target 'ada/einfo.h' failed
make[2]: *** [ada/einfo.h] Error 127
xsinfo.adb:41:06: "Ada" is not a predefined library unit
xsinfo.adb:42:06: "Ada" is not a predefined library unit
xsinfo.adb:43:06: "Ada" is not a predefined library unit
xsinfo.adb:44:06: "Ada" is not a predefined library unit
xsinfo.adb:46:06: "Ada" is not a predefined library unit
xsinfo.adb:46:06: "Xsinfo (body)" depends on "Gnat.Spitbol (spec)"
xsinfo.adb:46:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xsinfo.adb:47:06: "Ada" is not a predefined library unit
xsinfo.adb:47:06: "Xsinfo (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xsinfo.adb:47:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xsinfo.adb:49:06: "Ada" is not a predefined library unit
xsinfo.adb:49:06: "Xsinfo (body)" depends on "Csinfo (body)"
xsinfo.adb:49:06: "Csinfo (body)" depends on "Ada (spec)"
gnatmake: "xsinfo.adb" compilation error
/bin/bash: ./xsinfo: No such file or directory
../../gnu-mirror-gcc-597c6d15f88/gcc/ada/Make-generated.in:42: recipe for target 'ada/sinfo.h' failed
make[2]: *** [ada/sinfo.h] Error 127
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -E
xsnamest.adb:33:06: "Ada" is not a predefined library unit
xsnamest.adb:34:06: "Ada" is not a predefined library unit
xsnamest.adb:35:06: "Ada" is not a predefined library unit
xsnamest.adb:36:06: "Ada" is not a predefined library unit
xsnamest.adb:37:06: "Ada" is not a predefined library unit
xsnamest.adb:38:06: "Ada" is not a predefined library unit
xsnamest.adb:40:06: "Ada" is not a predefined library unit
xsnamest.adb:40:06: "Xsnamest (body)" depends on "Gnat.Spitbol (spec)"
xsnamest.adb:40:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xsnamest.adb:41:06: "Ada" is not a predefined library unit
xsnamest.adb:41:06: "Xsnamest (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xsnamest.adb:41:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xsnamest.adb:43:06: "Ada" is not a predefined library unit
xsnamest.adb:43:06: "Xsnamest (body)" depends on "Xutil (spec)"
xsnamest.adb:43:06: "Xutil (spec)" depends on "Ada (spec)"
gnatmake: "xsnamest.adb" compilation error
/bin/bash: ./xsnamest: No such file or directory
../../gnu-mirror-gcc-597c6d15f88/gcc/ada/Make-generated.in:50: recipe for target 'ada/stamp-snames' failed
make[2]: *** [ada/stamp-snames] Error 127
checking for grep that handles long lines and -e... /bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-optionlist optionlist
/bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... echo timestamp > s-options
/bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-arm-cpu-cdata.h arm-cpu-cdata.h
echo timestamp > s-arm-cdata
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... /bin/bash ../../gnu-mirror-gcc-597c6d15f88/gcc/../move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
make[2]: Leaving directory '/home/user/rtems-source-builder/rtems/build/arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1/build/gcc'
make[1]: *** [all-gcc] Error 2
Makefile:4319: recipe for target 'all-gcc' failed
make[1]: *** Waiting for unfinished jobs....
no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include... x86_64-linux-gnu-ld
checking if the linker (x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-linux-gnu-nm
checking the name lister (x86_64-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for x86_64-linux-gnu-ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... x86_64-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
checking for x86_64-linux-gnu-strip... x86_64-linux-gnu-strip
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking command to parse x86_64-linux-gnu-nm output from gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -fno-rtti -fno-exceptions... no
checking for gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include option to produce PIC... -fPIC -DPIC
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include PIC flag -fPIC -DPIC works... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include static flag -static works... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -c -o file.o... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -c -o file.o... (cached) yes
checking whether the gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include accepts -g... yes
checking dependency style of g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include... gcc3
checking how to run the C++ preprocessor... g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include -E
checking for ld used by g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include... x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include option to produce PIC... -fPIC -DPIC
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include PIC flag -fPIC -DPIC works... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include static flag -static works... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -c -o file.o... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -c -o file.o... (cached) yes
checking whether the g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether basename is declared... yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -W... yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-arm/home/user/rtems-install/include supports -Wall... yes
checking for socket libraries... checking for connect... yes
checking for gethostbyname... yes

checking for socketpair... yes
checking for select... yes
checking for fork... yes
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cc1plugin-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/home/user/rtems-source-builder/rtems/build/arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1/build'
Makefile:950: recipe for target 'all' failed
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /home/user/rtems-source-builder/rtems/build/arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1/do-build
error: building arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
  See error report: rsb-report-arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Sizes
=====

Maximum build usage: 1.236GB
Total size: 1.212GB
Installed : 337.774MB
Sources: 903.034MB
Patches: 20.845KB

Output
======

config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.510MB (installed: 3.019MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.347MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
installing: autoconf-2.69-x86_64-linux-gnu-1 -> /home/user/rtems-install
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /home/user/rtems-install
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.792MB total: 749.303MB (sources: 744.000MB, patches: 20.845KB, installed 5.282MB)
Build Set: Time 0:00:06.977099
Build Set: Time 0:00:11.494085
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 9.179MB (installed: 1.941MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-head.cfg
package: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
download: https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/241110d6cd -> sources/sourceware-mirror-binutils-gdb-241110d6cd.tar.gz
building: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
sizes: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1: 927.938MB (installed: 124.324MB)
cleaning: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-head.cfg -> arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-head.cfg -> arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-head.cfg
package: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
building: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
sizes: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1: 631.580MB (installed: 142.607MB)
cleaning: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-head.cfg -> arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-head.cfg -> arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
download: https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/597c6d15f88 -> sources/gnu-mirror-gcc-597c6d15f88.tar.gz
building: arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
error: building arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1.txt
error: building arm-rtems6-gcc-597c6d15f88-newlib-7f983079d-x86_64-linux-gnu-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
building: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
sizes: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1: 252.469MB (installed: 68.902MB)
cleaning: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1.xml
cleaning: expat-2.1.0-x86_64-linux-gnu-1
cleaning: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
cleaning: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
cleaning: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
Build Sizes: usage: 1.236GB total: 1.212GB (sources: 903.034MB, patches: 20.845KB, installed 337.774MB)
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:55:49 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ./configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --verbose \
  --prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:55:49 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
       sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.1.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ./configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --verbose \
  --prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:59:07 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v241110d6cd for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  241110d6cd
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-241110d6cd.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/241110d6cd
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-241110d6cd
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "arm-rtems6" -o "x86_64-linux-gnu" == "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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC} \
  LIBS=${GDB_LIBS} \
  ../${source_dir_gdb}/configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --target=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/bin/python2 \
  --prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:59:07 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-gdb-241110d6cd-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v241110d6cd for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  241110d6cd
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-241110d6cd.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/241110d6cd
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-241110d6cd
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "arm-rtems6" -o "x86_64-linux-gnu" == "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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC} \
  LIBS=${GDB_LIBS} \
  ../${source_dir_gdb}/configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --target=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/bin/python2 \
  --prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:59:49 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v241110d6cd for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  241110d6cd
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-241110d6cd.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/241110d6cd
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-241110d6cd
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "arm-rtems6" -o "x86_64-linux-gnu" == "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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ../${source_dir_binutils}/configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/user/rtems-install/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 10:59:49 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: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: arm-rtems6-binutils-241110d6cd-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v241110d6cd for target arm-rtems6 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  241110d6cd
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-241110d6cd.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/241110d6cd
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-241110d6cd
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "arm-rtems6" -o "x86_64-linux-gnu" == "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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
  ../${source_dir_binutils}/configure \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
  --exec-prefix=/home/user/rtems-install \
  --includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
  --mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
  make -j 10 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/user/rtems-install/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/arm-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/arm-rtems6-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 11:02:25 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools e59f4ee300ba71db46b35e04afe541d9125eb8d6 for host x86_64-linux-gnu
 URL:
  http://www.rtems.org/
 Version:
  e59f4ee300ba71db46b35e04afe541d9125eb8d6
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6.tar.bz2
       sha512: c86fcc6aafa5f79b10c4610ca1a25b1ff2efdfbc29eab5752d1992f561b91d4b80a744ad3905d3972edfa5c1d2044856565fa7e9dbaf756c2b5cb705ddc740aa
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6
  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-linux-gnu" != "x86_64-linux-gnu" ; then
  RT_HOST="--host=x86_64-linux-gnu"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/home/user/rtems-install
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT_WAF install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Jan 18 11:02:25 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools e59f4ee300ba71db46b35e04afe541d9125eb8d6 for host x86_64-linux-gnu
 URL:
  http://www.rtems.org/
 Version:
  e59f4ee300ba71db46b35e04afe541d9125eb8d6
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6.tar.bz2
       sha512: c86fcc6aafa5f79b10c4610ca1a25b1ff2efdfbc29eab5752d1992f561b91d4b80a744ad3905d3972edfa5c1d2044856565fa7e9dbaf756c2b5cb705ddc740aa
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6
  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-linux-gnu" != "x86_64-linux-gnu" ; then
  RT_HOST="--host=x86_64-linux-gnu"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/home/user/rtems-install
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT_WAF install
  cd ${build_top}


More information about the build mailing list