Build Linux: FAILED 5/rtems-aarch64 on x86_64-linux-gnu (rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Fri Aug 3 08:26:11 UTC 2018


RTEMS Source Builder - Set Builder, 5 (8f742407bd41)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown

Host: Linux-4.4.138-59-default-x86_64-with-SuSE-42.3-x86_64
       Linux huber-nb-linux 4.4.138-59-default #1 SMP Mon Jun 18 13:48:42 UTC
       2018 (f0b8f6b) x86_64 x86_64

Build Time: 0:12:33.275673

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-rw-rw-r-- root/root       510 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/binutils/binutils-2.26-gas-reloc.patch
-rw-rw-r-- root/root      3238 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/binutils/binutils-2.26-rtems-aarch64-x86_64.patch
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gcc/
-rw-rw-r-- root/root     40510 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gcc/PR-ada-81070.diff
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/
-rw-rw-r-- root/root      1555 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.11-aarch64-x86_64.patch
-rw-rw-r-- root/root     13472 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.11-erc32-common-run.diff
-rw-rw-r-- root/root       407 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.11-erc32-endian-fix.diff
-rw-rw-r-- root/root     37468 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.11-erc32-printf_filtered.diff
-rw-rw-r-- root/root    201985 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.11-sis-leon2-leon3.diff
-rw-rw-r-- root/root      1732 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-7.9-aarch64-x86_64.patch
-rw-rw-r-- root/root       761 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-sim-arange-inline.diff
-rw-rw-r-- root/root       706 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/gdb-sim-cgen-inline.diff
-rw-rw-r-- root/root       449 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/gdb/patch-gdb-python-python-config.py
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/newlib/
-rw-rw-r-- root/root      4473 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/newlib/RTEMS-Add-user-defined-name-to-thread-queues.patch
-rw-rw-r-- root/root     15986 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.12/newlib/newlib-cygwin-git-461152e4ebd94f7d8b1e20f4cd1c704138ba2083.patch
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/gcc/
-rw-rw-r-- root/root      5886 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/gcc/gcc-core-4.3.2-rtems4.9-20090825.diff
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/gdb/
-rw-rw-r-- root/root    348564 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/gdb/gdb-6.8-rtems4.9-20091111.diff
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/newlib/
-rw-rw-r-- root/root     39540 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/4.9/newlib/newlib-1.16.0-rtems4.9-20090324.diff
-rw-rw-r-- root/root       125 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/WARNING
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/
-rw-rw-r-- root/root      1044 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/README.md
-rw-rw-r-- root/root      1650 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/__init__.py
-rw-rw-r-- root/root      3277 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/chains.py
-rw-rw-r-- root/root     11236 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/classic.py
-rw-rw-r-- root/root      1690 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/classic_printer.py
-rw-rw-r-- root/root      3402 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/configuration.py
-rw-rw-r-- root/root      3162 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/heaps.py
-rw-rw-r-- root/root      2020 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/helper.py
-rw-rw-r-- root/root       355 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/main.py
-rw-rw-r-- root/root      4280 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/mutex.py
-rw-rw-r-- root/root      9442 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/objects.py
-rw-rw-r-- root/root      2136 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/percpu.py
-rw-rw-r-- root/root      2665 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/pretty.py
-rw-rw-r-- root/root      5033 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/rbtrees.py
-rw-rw-r-- root/root     10269 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/rtems.py
-rw-rw-r-- root/root      3611 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/sparc.py
-rw-rw-r-- root/root      3194 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/supercore.py
-rw-rw-r-- root/root      4914 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/supercore_printer.py
-rw-rw-r-- root/root     10249 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/threads.py
-rw-rw-r-- root/root      2824 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/time.py
-rw-rw-r-- root/root      2859 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/watchdog.py
-rw-rw-r-- root/root       778 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/gdb/python/wscript
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/libffi/
-rw-rw-r-- root/root       451 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/libffi/libffi-pkg-config-lib64-fix.diff
drwxrwxr-x root/root         0 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/qemu/
-rw-rw-r-- root/root       943 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
-rwxrwxr-x root/root    100910 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/waf
-rw-rw-r-- root/root      2276 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/wafwindows.py
-rw-rw-r-- root/root      5033 2018-07-03 07:07 rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/wscript
+ cd rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def
+ /bin/chmod -R a+rX,g-w,o-w .
+ cd /scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
+ SB_CXC=no
+ echo '==> clean %{buildroot}: /scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h'
+ /bin/rm -rf /scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h
==> clean %{buildroot}: /scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h
+ /bin/mkdir -p /scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h
==> %build:
+ echo '==> %build:'
++ pwd
+ build_top=/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
+ test x86_64-linux-gnu '!=' x86_64-linux-gnu
+ RT_HOST=
+ cd rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def
+ ./waf distclean configure --prefix=/build/rtems/5
'distclean' finished successfully (0.011s)
Setting top to                           : /scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def 
Setting out to                           : /scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/build 
Version                                  : 5.8f742407bd41 (5) 
Checking for program 'python'            : /usr/bin/python 
Checking for python version >= 2.6.6     : 2.7.13 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking for header alloca.h             : yes 
Checking for header fcntl.h              : yes 
Checking for header process.h            : not found 
Checking for header stdlib.h             : yes 
Checking for header string.h             : yes 
Checking for header strings.h            : yes 
Checking for header sys/file.h           : yes 
Checking for header sys/stat.h           : yes 
Checking for header sys/time.h           : yes 
Checking for header sys/types.h          : yes 
Checking for header sys/wait.h           : yes 
Checking for header unistd.h             : yes 
Checking for header vfork.h              : not found 
Checking for function getrusage          : yes 
Checking for program 'm4'                : /usr/bin/m4 
Checking for header sys/wait.h           : yes 
Checking for function kill               : yes 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking for 'gcc' (C compiler)          : /usr/bin/gcc 
Checking for function strnlen            : yes 
Checking for 'g++' (C++ compiler)        : /usr/bin/g++ 
Checking for function open64             : not found 
Checking for function stat64             : not found 
'configure' finished successfully (1.196s)
+ ./waf
Waf: Entering directory `/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/build'
[1/4] Compiling rtemstoolkit/elftoolchain/libelf/libelf_convert.m4
[2/4] Compiling rtemstoolkit/elftoolchain/libelf/libelf_fsize.m4
[3/4] Compiling rtemstoolkit/elftoolchain/libelf/libelf_msize.m4
[4/4] Compiling rtemstoolkit/elftoolchain/common/native-elf-format
[  5/249] Compiling rtemstoolkit/elftoolchain/libelf/elf.c
[  6/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_begin.c
[  7/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_cntl.c
[  8/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_end.c
[  9/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_errmsg.c
[ 10/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_errno.c
[ 11/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_data.c
[ 12/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_fill.c
[ 13/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_flag.c
[ 14/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarhdr.c
[ 15/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarsym.c
[ 16/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_getbase.c
[ 17/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_getident.c
[ 18/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_hash.c
[ 19/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_kind.c
[ 20/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_memory.c
[ 21/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_next.c
[ 22/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_open.c
[ 23/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_rand.c
[ 24/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_rawfile.c
[ 25/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_phnum.c
[ 26/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_shnum.c
[ 27/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_shstrndx.c
[ 28/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_scn.c
[ 29/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_strptr.c
[ 30/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_update.c
[ 31/249] Compiling rtemstoolkit/elftoolchain/libelf/elf_version.c
[ 32/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_cap.c
[ 33/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_checksum.c
[ 34/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_dyn.c
[ 35/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_ehdr.c
[ 36/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_getclass.c
[ 37/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_fsize.c
[ 38/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_move.c
[ 39/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_phdr.c
[ 40/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_rel.c
[ 41/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_rela.c
[ 42/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_shdr.c
[ 43/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_sym.c
[ 44/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_syminfo.c
[ 45/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_symshndx.c
[ 46/249] Compiling rtemstoolkit/elftoolchain/libelf/gelf_xlate.c
[ 47/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_align.c
[ 48/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_allocate.c
[ 49/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ar.c
[ 50/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ar_util.c
[ 51/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_checksum.c
[ 52/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_data.c
[ 53/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ehdr.c
[ 54/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_extended.c
[ 55/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_memory.c
[ 56/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_open.c
[ 57/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_phdr.c
[ 58/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_shdr.c
[ 59/249] Compiling rtemstoolkit/elftoolchain/libelf/libelf_xlate.c
[ 60/249] Compiling build/rtemstoolkit/libelf_convert.c
[ 61/249] Compiling build/rtemstoolkit/libelf_fsize.c
[ 62/249] Compiling build/rtemstoolkit/libelf_msize.c
[ 63/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_funcs.m4
[ 64/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_funcs.m4
[ 65/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_pubnames.m4
[ 66/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_types.m4
[ 67/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_vars.m4
[ 68/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_weaks.m4
[ 69/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pubnames.m4
[ 70/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pubtypes.m4
[ 71/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_types.m4
[ 72/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_vars.m4
[ 73/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_weaks.m4
[ 74/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_abbrev.c
[ 75/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_arange.c
[ 76/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_attr.c
[ 77/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_attrval.c
[ 78/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_cu.c
[ 79/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_dealloc.c
[ 80/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_die.c
[ 81/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_dump.c
[ 82/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_errmsg.c
[ 83/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_finish.c
[ 84/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_form.c
[ 85/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_frame.c
[ 86/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_init.c
[ 87/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_lineno.c
[ 88/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_loclist.c
[ 89/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_macinfo.c
[ 90/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_arange.c
[ 91/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_attr.c
[ 92/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_die.c
[ 93/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_expr.c
[ 94/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_finish.c
[ 95/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_frame.c
[ 96/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_init.c
[ 97/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_lineno.c
[ 98/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_macinfo.c
[ 99/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_reloc.c
[100/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_sections.c
[101/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_ranges.c
[102/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_reloc.c
[103/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_seterror.c
[104/249] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_str.c
[105/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf.c
[106/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_abbrev.c
[107/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_arange.c
[108/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_attr.c
[109/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_die.c
[110/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_error.c
[111/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_elf_access.c
[112/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_elf_init.c
[113/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_frame.c
[114/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_info.c
[115/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_init.c
[116/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_lineno.c
[117/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_loc.c
[118/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_loclist.c
[119/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_macinfo.c
[120/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_nametbl.c
[121/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_ranges.c
[122/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_reloc.c
[123/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_rw.c
[124/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_sections.c
[125/249] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_str.c
[126/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_bfdtarget.c
[127/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_copyfile.c
[128/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_demangle.c
[130/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_reloc_type_str.c
[130/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_set_timestamps.c
[131/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_string_table.c
[132/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_timestamp.c
[133/249] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_version.c
[134/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_bfdtarget.c
[135/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_arm.c
[136/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu2.c
[137/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu3.c
[138/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_hash.c
[139/249] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_vstr.c
[140/249] Compiling rtemstoolkit/libiberty/concat.c
[141/249] Compiling rtemstoolkit/libiberty/cplus-dem.c
[142/249] Compiling rtemstoolkit/libiberty/cp-demangle.c
[143/249] Compiling rtemstoolkit/libiberty/d-demangle.c
[144/249] Compiling rtemstoolkit/libiberty/rust-demangle.c
[145/249] Compiling rtemstoolkit/libiberty/make-temp-file.c
[146/249] Compiling rtemstoolkit/libiberty/mkstemps.c
[147/249] Compiling rtemstoolkit/libiberty/safe-ctype.c
[148/249] Compiling rtemstoolkit/libiberty/stpcpy.c
[149/249] Compiling rtemstoolkit/libiberty/pex-common.c
[150/249] Compiling rtemstoolkit/libiberty/pex-one.c
[151/249] Compiling rtemstoolkit/libiberty/xmalloc.c
[152/249] Compiling rtemstoolkit/libiberty/xmemdup.c
[153/249] Compiling rtemstoolkit/libiberty/xstrdup.c
[154/249] Compiling rtemstoolkit/libiberty/xstrerror.c
[155/249] Compiling rtemstoolkit/libiberty/pex-unix.c
[156/249] Compiling rtemstoolkit/ConvertUTF.c
[157/249] Compiling rtemstoolkit/pkgconfig.cpp
[158/249] Compiling rtemstoolkit/rld-buffer.cpp
[159/249] Compiling rtemstoolkit/rld-cc.cpp
[160/249] Compiling rtemstoolkit/rld-compression.cpp
[161/249] Compiling rtemstoolkit/rld-config.cpp
[162/249] Compiling rtemstoolkit/rld-dwarf.cpp
[163/249] Compiling rtemstoolkit/rld-elf.cpp
[164/249] Compiling rtemstoolkit/rld-files.cpp
[165/249] Compiling rtemstoolkit/rld-outputter.cpp
../rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu3.c: In function 'cpp_demangle_read_number_as_string':
../rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu3.c:1981:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration]
  if (asprintf(str, "%ld", n) < 0) {
      ^~~~~~~~
      vsprintf

[166/249] Compiling rtemstoolkit/rld-path.cpp
[167/249] Compiling rtemstoolkit/rld-process.cpp
[168/249] Compiling rtemstoolkit/rld-rap.cpp
[169/249] Compiling rtemstoolkit/rld-resolver.cpp
[170/249] Compiling rtemstoolkit/rld-rtems.cpp
[171/249] Compiling rtemstoolkit/rld-symbols.cpp
[172/249] Compiling rtemstoolkit/rld.cpp
[173/249] Compiling rtemstoolkit/rtems-utils.cpp
[174/249] Compiling rtemstoolkit/fastlz.c
[175/249] Compiling linkers/rtems-ld.cpp
[176/249] Compiling linkers/rtems-ra.cpp
[177/249] Compiling linkers/rtems-tld.cpp
[178/249] Compiling linkers/rtems-syms.cpp
[179/249] Compiling linkers/rtems-rapper.cpp
[180/249] Compiling linkers/rtems-exeinfo.cpp
[181/249] Compiling linkers/rtems-addr2line.cpp
[182/249] Compiling misc/bin2c/rtems-bin2c.c
[183/249] Compiling misc/bin2c/compat.c
[184/249] Compiling tester/covoar/app_common.cc
[185/249] Compiling tester/covoar/CoverageFactory.cc
[186/249] Compiling tester/covoar/CoverageMap.cc
[187/249] Compiling tester/covoar/CoverageMapBase.cc
[188/249] Compiling tester/covoar/CoverageRanges.cc
[189/249] Compiling tester/covoar/CoverageReaderBase.cc
[190/249] Compiling tester/covoar/CoverageReaderQEMU.cc
[191/249] Compiling tester/covoar/CoverageReaderRTEMS.cc
[192/249] Compiling tester/covoar/CoverageReaderSkyeye.cc
[193/249] Compiling tester/covoar/CoverageReaderTSIM.cc
[194/249] Compiling tester/covoar/CoverageWriterBase.cc
[195/249] Compiling tester/covoar/CoverageWriterRTEMS.cc
[196/249] Compiling tester/covoar/CoverageWriterSkyeye.cc
[197/249] Compiling tester/covoar/CoverageWriterTSIM.cc
[198/249] Compiling tester/covoar/DesiredSymbols.cc
[199/249] Compiling tester/covoar/ExecutableInfo.cc
[200/249] Compiling tester/covoar/Explanations.cc
[201/249] Compiling tester/covoar/GcovData.cc
[202/249] Compiling tester/covoar/GcovFunctionData.cc
[203/249] Compiling tester/covoar/ObjdumpProcessor.cc
[204/249] Compiling tester/covoar/ReportsBase.cc
[205/249] Compiling tester/covoar/ReportsText.cc
[206/249] Compiling tester/covoar/ReportsHtml.cc
[207/249] Compiling tester/covoar/SymbolTable.cc
[208/249] Compiling tester/covoar/Target_arm.cc
[209/249] Compiling tester/covoar/TargetBase.cc
[210/249] Compiling tester/covoar/TargetFactory.cc
[211/249] Compiling tester/covoar/Target_i386.cc
[212/249] Compiling tester/covoar/Target_lm32.cc
[213/249] Compiling tester/covoar/Target_m68k.cc
[214/249] Compiling tester/covoar/Target_powerpc.cc
[215/249] Compiling tester/covoar/Target_sparc.cc
[216/249] Compiling tester/covoar/TraceConverter.cc
[217/249] Compiling tester/covoar/TraceList.cc
[218/249] Compiling tester/covoar/TraceReaderBase.cc
[219/249] Compiling tester/covoar/TraceReaderLogQEMU.cc
[220/249] Compiling tester/covoar/TraceWriterBase.cc
[221/249] Compiling tester/covoar/TraceWriterQEMU.cc
[222/249] Compiling tester/covoar/covoar.cc
[223/249] Compiling build/rtemstoolkit/dwarf_weaks.c
[224/249] Compiling build/rtemstoolkit/dwarf_vars.c
[225/249] Compiling build/rtemstoolkit/dwarf_types.c
[226/249] Compiling build/rtemstoolkit/dwarf_pro_weaks.c
[227/249] Compiling build/rtemstoolkit/dwarf_pro_types.c
[228/249] Compiling build/rtemstoolkit/dwarf_funcs.c
[229/249] Compiling build/rtemstoolkit/dwarf_pro_funcs.c
[230/249] Compiling build/rtemstoolkit/dwarf_pro_pubnames.c
[231/249] Compiling build/rtemstoolkit/dwarf_pro_vars.c
[232/249] Compiling build/rtemstoolkit/dwarf_pubnames.c
[233/249] Compiling build/rtemstoolkit/dwarf_pubtypes.c
[234/249] Linking build/rtemstoolkit/libelf.a
[235/249] Linking build/rtemstoolkit/libelftc.a
[236/249] Linking build/rtemstoolkit/libiberty.a
[237/249] Linking build/misc/rtems-bin2c
[238/249] Linking build/rtemstoolkit/librld.a
[239/249] Linking build/rtemstoolkit/libdwarf.a
[240/249] Linking build/linkers/rtems-tld
[241/249] Linking build/linkers/rtems-ld
[242/249] Linking build/linkers/rtems-rap
[243/249] Linking build/linkers/rtems-exeinfo
[244/249] Linking build/linkers/rtems-ra
[245/249] Linking build/linkers/rtems-syms
[246/249] Linking build/linkers/rtems-addr2line
[247/249] Linking build/tester/covoar/libccovoar.a
[248/249] Linking build/tester/covoar/trace-converter
[249/249] Linking build/tester/covoar/covoar
Waf: Leaving directory `/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/build'
'build' finished successfully (21.051s)
+ cd /scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
==> %install:
+ echo '==> %install:'
++ pwd
+ build_top=/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
+ /bin/rm -rf /scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h
+ SB_BUILD_ROOT_WAF=/scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h
+ cd rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def
+ ./waf --destdir=/scratch/git-rtems-source-builder/rtems/build/tmp/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1-root-sebastian_h install
Waf: Entering directory `/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/build'
Waf: Leaving directory `/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/build'
Traceback (most recent call last):
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py", line 120, in waf_entry_point
    run_commands()
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py", line 181, in run_commands
    ctx=run_command(cmd_name)
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py", line 172, in run_command
    ctx.execute()
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Scripting.py", line 362, in execute
    return execute_method(self)
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Build.py", line 99, in execute
    self.execute_build()
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Build.py", line 106, in execute_build
    self.compile()
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Build.py", line 170, in compile
    self.producer=Runner.Parallel(self,self.jobs)
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Runner.py", line 62, in __init__
    self.spawner=Spawner(self)
  File "/scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def/.waf-1.9.9-75529a659e4f06cb4254801e52405e0a/waflib/Runner.py", line 34, in __init__
    self.start()
  File "/usr/lib64/python2.7/threading.py", line 736, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread
shell cmd failed: /bin/sh -ex  /scratch/git-rtems-source-builder/rtems/build/rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1/doit
error: building rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
  See error report: rsb-report-rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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
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
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 -> /build/rtems/5
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /build/rtems/5
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Set: Time 0:00:12.579767
Build Set: Time 0:00:19.533365
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
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-binutils-2.31.1.cfg
package: aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
building: aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.31.1.cfg -> aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.31.1.cfg -> aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
package: aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1
building: aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1
reporting: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg -> aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg -> aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-8.0.1-1.cfg
package: aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
building: aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-8.0.1-1.cfg -> aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-8.0.1-1.cfg -> aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
building: rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
error: building rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
Build FAILED
  See error report: rsb-report-rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1.txt
error: building rtems-tools-156b2273a491eba0b0d605fa774d4d81d2ae2def-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Aug  3 10:14:08 2018
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 aarch64-rtems5 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=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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 Aug  3 10:14:08 2018
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 aarch64-rtems5 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=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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 Aug  3 10:15:02 2018
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.31.1
 Release:
  1
  Sources: 1
    1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
       sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.31.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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=aarch64-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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/build/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/build/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Aug  3 10:15:02 2018
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.31.1
 Release:
  1
  Sources: 1
    1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
       sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.31.1"
  source_dir_binutils=${binutils_source}
  %setup source binutils -q -n ${binutils_source}
  %setup patch binutils -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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=aarch64-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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/build/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/build/rtems/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/aarch64-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/aarch64-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Aug  3 10:23:24 2018
==============================================================================
Report: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1
 Config: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
 Summary:
  GCC v7.3.0 and Newlib v3.0.0.20180802 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://gcc.gnu.org/
 Version:
  7.3.0
 Release:
  1
  Sources: 5
    1: ftp://sourceware.org/pub/newlib/newlib-3.0.0.20180802.tar.gz
       sha512: 6c9e588aad79ccb2a041c751b25f02f9e9f1ce602bade0078a35a04bdd38c90e07c0ab73ad8c7d29daaa1abbf4ecc605da34b164289aad7f1a16f209bf7950b6
    2: https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz
       sha512: ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
    3: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    4: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    5: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-7.3.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib="newlib-3.0.0.20180802"
  %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_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 8f742407bd41785aead054d11a91bb0924bbe36e, Newlib 3.0.0.20180802" > ${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-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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_gcc}/configure \
  --prefix=/build/rtems/5 \
  --bindir=/build/rtems/5/bin \
  --exec_prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include \
  --libdir=/build/rtems/5/lib \
  --libexecdir=/build/rtems/5/libexec \
  --mandir=/build/rtems/5/share/man \
  --infodir=/build/rtems/5/share/info \
  --datadir=/build/rtems/5/share \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --target=aarch64-rtems5 \
  --disable-libstdcxx-pch \
  --with-gnu-as --with-gnu-ld --verbose \
  --with-newlib \
  --disable-nls --without-included-gettext \
  --disable-win32-registry \
  --enable-version-specific-runtime-libs \
  --disable-lto \
  --enable-newlib-io-c99-formats \
  \
  --enable-newlib-iconv \
  --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
  --enable-threads \
  --disable-plugin \
  \
  --enable-libgomp \
  \
  --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  make -j 12 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/bin/aarch64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/build/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> Fri Aug  3 10:23:24 2018
==============================================================================
Report: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gcc-7.3.0-newlib-3.0.0.20180802-x86_64-linux-gnu-1
 Config: tools/rtems-gcc-7.3.0-newlib-3.0.0.20180802.cfg
 Summary:
  GCC v7.3.0 and Newlib v3.0.0.20180802 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://gcc.gnu.org/
 Version:
  7.3.0
 Release:
  1
  Sources: 5
    1: ftp://sourceware.org/pub/newlib/newlib-3.0.0.20180802.tar.gz
       sha512: 6c9e588aad79ccb2a041c751b25f02f9e9f1ce602bade0078a35a04bdd38c90e07c0ab73ad8c7d29daaa1abbf4ecc605da34b164289aad7f1a16f209bf7950b6
    2: https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz
       sha512: ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
    3: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
    4: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
       sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
    5: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
       sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gcc_source="gcc-7.3.0"
  source_dir_gcc=${gcc_source}
  %setup source gcc -q -n ${gcc_source}
  %setup patch gcc -p1
  cd ${build_top}
  source_dir_newlib="newlib-3.0.0.20180802"
  %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_mpfr="mpfr-3.1.4"
  %setup source mpfr -q -D -n mpfr-3.1.4
  %setup patch mpfr -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpfr
  ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
  source_dir_mpc="mpc-1.0.3"
  %setup source mpc -q -D -n mpc-1.0.3
  %setup patch mpc -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/mpc
  ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
  source_dir_gmp="gmp-6.1.0"
  %setup source gmp -q -D -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
  /bin/rm -f ${source_dir_gcc}/gmp
  ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
  echo "RTEMS 5, RSB 8f742407bd41785aead054d11a91bb0924bbe36e, Newlib 3.0.0.20180802" > ${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-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  languages="c"
  languages="$languages,c++"
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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_gcc}/configure \
  --prefix=/build/rtems/5 \
  --bindir=/build/rtems/5/bin \
  --exec_prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include \
  --libdir=/build/rtems/5/lib \
  --libexecdir=/build/rtems/5/libexec \
  --mandir=/build/rtems/5/share/man \
  --infodir=/build/rtems/5/share/info \
  --datadir=/build/rtems/5/share \
  --build=x86_64-linux-gnu --host=x86_64-linux-gnu \
  --target=aarch64-rtems5 \
  --disable-libstdcxx-pch \
  --with-gnu-as --with-gnu-ld --verbose \
  --with-newlib \
  --disable-nls --without-included-gettext \
  --disable-win32-registry \
  --enable-version-specific-runtime-libs \
  --disable-lto \
  --enable-newlib-io-c99-formats \
  \
  --enable-newlib-iconv \
  --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
  cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
  iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
  iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
  iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
  ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
  utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
  win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
  --enable-threads \
  --disable-plugin \
  \
  --enable-libgomp \
  \
  --enable-languages="$languages"
  if test "%_host" != "%_build" ; then
  mkdir -p gcc/include
  cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
  fi
  make -j 12 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
  /bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty.a
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/bin/aarch64-rtems5-c++filt
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  /bin/rm -f $SB_BUILD_ROOT/build/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> Fri Aug  3 10:25:46 2018
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.0.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
       sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.0.1"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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=aarch64-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python \
  --prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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/build/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Aug  3 10:25:47 2018
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
   2: main: https://main.eb.localhost/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 8f742407bd41785aead054d11a91bb0924bbe36e
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target aarch64-rtems5 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  8.0.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
       sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-8.0.1"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-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 "aarch64-rtems5" -o "x86_64-linux-gnu" == "aarch64-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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=aarch64-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python \
  --prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
  --exec-prefix=/build/rtems/5 \
  --includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
  --mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
  make -j 12 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/build/rtems/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
  cd ${build_top}


More information about the build mailing list