Build Darwin: FAILED 5/rtems-arm on x86_64-apple-darwin18.7.0 (rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1)
chrisj at rtems.org
chrisj at rtems.org
Tue Sep 10 10:26:29 UTC 2019
RTEMS Source Builder - Set Builder, 5 (0340c8a6be53)
Host: Darwin-18.7.0-x86_64-i386-64bit
Darwin mohua 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT
2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64 i386
Build Time: 1:11:26.738358
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/percpu.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/pretty.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/rbtrees.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/rtems.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/sparc.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/supercore.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/supercore_printer.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/threads.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/time.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/watchdog.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/gdb/python/wscript
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/libffi/
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/libffi/libffi-pkg-config-lib64-fix.diff
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/qemu/
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/client.h
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/record-client-base.cc
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/record-client.c
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/record-main-lttng.cc
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/record-text.c
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/rtems/
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/rtems/recordclient.h
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/record/rtems/recorddata.h
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/trace/wscript
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/waf
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/wafwindows.py
x rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/wscript
+ cd rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e
+ /bin/chmod -R a+rX,g-w,o-w .
+ cd /opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
==> clean %{buildroot}: /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1-chris
+ SB_CXC=no
+ echo '==> clean %{buildroot}: /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1-chris'
+ /bin/rm -rf /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1-chris
+ /bin/mkdir -p /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1-chris
+ echo '==> %build:'
==> %build:
++ pwd
+ build_top=/opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
+ test x86_64-apple-darwin18.7.0 '!=' x86_64-apple-darwin18.7.0
+ RT_HOST=
+ cd rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e
+ ./waf distclean configure --prefix=/opt/work/builds/tools/5
'distclean' finished successfully (0.002s)
Setting top to : /opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e
Setting out to : /opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/build
Version : 5.0340c8a6be53 (5)
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.6.6 : 2.7.10
Checking for program 'python' : /usr/bin/python
Checking for program 'python2' : not found
Checking for program 'python3' : not found
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
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 getrusage : yes
Checking for program 'm4' : /usr/bin/m4
Checking for header sys/wait.h : yes
Checking for kill : yes
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for strnlen : yes
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for fopen64 : no
Checking for stat64 : yes
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for library LLVM : not found
Checking for header llvm/DebugInfo/Symbolize/Symbolize.h : not found
Checking for library ws2_32 : not found
'configure' finished successfully (2.207s)
+ ./waf
Waf: Entering directory `/opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/build'
[ 1/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_convert.m4
[ 2/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_fsize.m4
[ 3/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_msize.m4
[ 4/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_funcs.m4
[ 5/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_funcs.m4
[ 6/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_pubnames.m4
[ 7/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_types.m4
[ 8/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_vars.m4
[ 9/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_weaks.m4
[ 10/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pubnames.m4
[ 11/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pubtypes.m4
[ 12/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_types.m4
[ 13/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_vars.m4
[ 14/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_weaks.m4
[ 15/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_getbase.c
[ 16/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_version.c
[ 17/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarsym.c
[ 18/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_end.c
[ 19/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_update.c
[ 20/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_cap.c
[ 21/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_shdr.c
[ 22/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_scn.c
[ 23/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ehdr.c
[ 24/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_shstrndx.c
[ 25/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_extended.c
[ 26/254] Compiling build/rtemstoolkit/libelf_convert.c
[ 27/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_checksum.c
[ 28/254] Compiling build/rtemstoolkit/libelf_msize.c
[ 29/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ar_util.c
[ 30/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_phnum.c
[ 31/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_ar.c
[ 32/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_allocate.c
[ 33/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_rawfile.c
[ 34/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_fill.c
[ 35/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_begin.c
[ 36/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_align.c
[ 37/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_xlate.c
[ 38/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_rand.c
[ 39/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_symshndx.c
[ 40/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_syminfo.c
[ 41/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_open.c
[ 42/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_data.c
[ 43/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_sym.c
[ 44/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_shdr.c
[ 45/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_next.c
[ 46/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_rela.c
[ 47/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_rel.c
[ 48/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_memory.c
[ 49/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_errno.c
[ 50/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_phdr.c
[ 51/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_move.c
[ 52/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_kind.c
[ 53/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_fsize.c
[ 54/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_getclass.c
[ 55/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_hash.c
[ 56/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_ehdr.c
[ 57/254] Compiling rtemstoolkit/elftoolchain/libelf/elf.c
[ 58/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_dyn.c
[ 59/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_getident.c
[ 60/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_errmsg.c
[ 61/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_flag.c
[ 62/254] Compiling rtemstoolkit/elftoolchain/libelf/gelf_checksum.c
[ 63/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_open.c
[ 64/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_shnum.c
[ 65/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_data.c
[ 66/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_xlate.c
[ 67/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_phdr.c
[ 68/254] Compiling build/rtemstoolkit/libelf_fsize.c
[ 69/254] Compiling rtemstoolkit/elftoolchain/libelf/libelf_memory.c
[ 70/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_strptr.c
[ 71/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_cntl.c
[ 72/254] Compiling rtemstoolkit/elftoolchain/libelf/elf_getarhdr.c
[ 73/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_sections.c
[ 74/254] Compiling build/rtemstoolkit/dwarf_funcs.c
[ 75/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_nametbl.c
[ 76/254] Compiling build/rtemstoolkit/dwarf_pubnames.c
[ 77/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_info.c
[ 78/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_str.c
[ 79/254] Compiling build/rtemstoolkit/dwarf_pro_funcs.c
[ 80/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_elf_init.c
[ 81/254] Linking build/rtemstoolkit/libelf.a
[ 82/254] Compiling build/rtemstoolkit/dwarf_pro_types.c
[ 83/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_frame.c
[ 84/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_error.c
[ 85/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_init.c
[ 86/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_attr.c
[ 87/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_arange.c
[ 88/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_die.c
[ 89/254] Compiling build/rtemstoolkit/dwarf_weaks.c
[ 90/254] Compiling build/rtemstoolkit/dwarf_pubtypes.c
[ 91/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_abbrev.c
[ 92/254] Compiling build/rtemstoolkit/dwarf_types.c
[ 93/254] Compiling build/rtemstoolkit/dwarf_vars.c
[ 94/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_str.c
[ 95/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_seterror.c
[ 96/254] Compiling build/rtemstoolkit/dwarf_pro_weaks.c
[ 97/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_reloc.c
[ 98/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_ranges.c
[ 99/254] Compiling build/rtemstoolkit/dwarf_pro_vars.c
[100/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_sections.c
[101/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_macinfo.c
[102/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_init.c
[103/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_finish.c
[104/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_lineno.c
[105/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_frame.c
[106/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_die.c
[107/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_arange.c
[108/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_expr.c
[109/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_macinfo.c
[110/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_lineno.c
[111/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_loclist.c
[112/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_init.c
[113/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_frame.c
[114/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_form.c
[115/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_reloc.c
[116/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_errmsg.c
[117/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_dump.c
[118/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_die.c
[119/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_dealloc.c
[120/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_cu.c
[121/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_attrval.c
[122/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_pro_attr.c
[123/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_attr.c
[124/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_arange.c
[125/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_abbrev.c
[126/254] Compiling rtemstoolkit/elftoolchain/libdwarf/dwarf_finish.c
[127/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_rw.c
[128/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_ranges.c
[129/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_reloc.c
[130/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_elf_access.c
[131/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_loc.c
[132/254] Compiling build/rtemstoolkit/dwarf_pro_pubnames.c
[133/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_loclist.c
[134/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_macinfo.c
[135/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf.c
[136/254] Compiling rtemstoolkit/elftoolchain/libdwarf/libdwarf_lineno.c
[137/254] Compiling rtemstoolkit/libiberty/xstrerror.c
[138/254] Compiling rtemstoolkit/libiberty/pex-common.c
[139/254] Compiling rtemstoolkit/libiberty/xmemdup.c
[140/254] Compiling rtemstoolkit/libiberty/pex-unix.c
[141/254] Compiling rtemstoolkit/libiberty/mkstemps.c
[142/254] Compiling rtemstoolkit/libiberty/cplus-dem.c
[143/254] Compiling rtemstoolkit/libiberty/pex-one.c
[144/254] Compiling rtemstoolkit/libiberty/cp-demangle.c
[145/254] Compiling rtemstoolkit/libiberty/stpcpy.c
[146/254] Compiling rtemstoolkit/libiberty/concat.c
[147/254] Compiling rtemstoolkit/libiberty/xstrdup.c
[148/254] Linking build/rtemstoolkit/libdwarf.a
[149/254] Compiling rtemstoolkit/libiberty/d-demangle.c
[150/254] Compiling rtemstoolkit/libiberty/rust-demangle.c
[151/254] Compiling rtemstoolkit/libiberty/make-temp-file.c
[152/254] Compiling rtemstoolkit/libiberty/xmalloc.c
[153/254] Compiling rtemstoolkit/libiberty/safe-ctype.c
[154/254] Compiling rtemstoolkit/rld-rtems.cpp
[155/254] Compiling rtemstoolkit/rld-outputter.cpp
[156/254] Compiling rtemstoolkit/rtems-utils.cpp
[157/254] Compiling rtemstoolkit/pkgconfig.cpp
[158/254] Compiling rtemstoolkit/rld-config.cpp
[159/254] Compiling rtemstoolkit/ConvertUTF.c
[160/254] Linking build/rtemstoolkit/libiberty.a
[161/254] Compiling rtemstoolkit/rld.cpp
[162/254] Compiling rtemstoolkit/rld-rap.cpp
[163/254] Compiling rtemstoolkit/rld-elf.cpp
[164/254] Compiling rtemstoolkit/rld-compression.cpp
[165/254] Compiling rtemstoolkit/rld-buffer.cpp
[166/254] Compiling rtemstoolkit/rld-path.cpp
[167/254] Compiling rtemstoolkit/rld-files.cpp
[168/254] Compiling rtemstoolkit/rld-resolver.cpp
[169/254] Compiling rtemstoolkit/rld-cc.cpp
[170/254] Compiling rtemstoolkit/rld-symbols.cpp
[171/254] Compiling rtemstoolkit/fastlz.c
[172/254] Compiling rtemstoolkit/rld-dwarf.cpp
[173/254] Compiling rtemstoolkit/rld-process.cpp
[174/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_set_timestamps.c
[175/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_copyfile.c
[176/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_version.c
[177/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_string_table.c
[178/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_bfdtarget.c
[179/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_bfdtarget.c
[180/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu2.c
[181/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_demangle.c
[182/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_timestamp.c
[183/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_arm.c
[184/254] Compiling rtemstoolkit/elftoolchain/libelftc/elftc_reloc_type_str.c
[185/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_vstr.c
[186/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_dem_gnu3.c
[187/254] Compiling rtemstoolkit/elftoolchain/libelftc/libelftc_hash.c
[188/254] Compiling tester/covoar/CoverageWriterSkyeye.cc
[189/254] Compiling tester/covoar/Target_powerpc.cc
[190/254] Compiling tester/covoar/CoverageReaderQEMU.cc
[191/254] Compiling tester/covoar/ObjdumpProcessor.cc
[192/254] Compiling tester/covoar/GcovData.cc
../rtemstoolkit/rld-dwarf.cpp:1516:13: warning: assigning field to itself [-Wself-assign-field]
name_ = name_;
^
1 warning generated.
[193/254] Linking build/rtemstoolkit/libelftc.a
[194/254] Compiling tester/covoar/CoverageWriterBase.cc
[195/254] Compiling tester/covoar/CoverageReaderRTEMS.cc
[196/254] Linking build/rtemstoolkit/librld.a
[197/254] Compiling tester/covoar/CoverageMapBase.cc
[198/254] Compiling tester/covoar/ReportsHtml.cc
[199/254] Compiling tester/covoar/Explanations.cc
[200/254] Compiling tester/covoar/Target_sparc.cc
[201/254] Compiling tester/covoar/CoverageRanges.cc
[202/254] Compiling tester/covoar/DesiredSymbols.cc
[203/254] Compiling tester/covoar/Target_i386.cc
[204/254] Compiling tester/covoar/CoverageReaderSkyeye.cc
[205/254] Compiling tester/covoar/Target_lm32.cc
[206/254] Compiling tester/covoar/ReportsBase.cc
[207/254] Compiling tester/covoar/Target_riscv.cc
[208/254] Compiling tester/covoar/app_common.cc
[209/254] Compiling tester/covoar/TargetBase.cc
[210/254] Compiling tester/covoar/CoverageReaderTSIM.cc
../tester/covoar/app_common.cc:79:8: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
if (STAT( f2, &buf2 ) == -1)
^
../tester/covoar/app_common.cc:45:14: note: expanded from macro 'STAT'
#define STAT stat64
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/stat.h:402:9: note: 'stat64' has been explicitly marked deprecated here
int stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
^
../tester/covoar/app_common.cc:82:7: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
if (STAT( f1, &buf1 ) == -1)
^
[211/254] Compiling tester/covoar/Target_arm.cc
../tester/covoar/app_common.cc:45:14: note: expanded from macro 'STAT'
#define STAT stat64
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/stat.h:402:9: note: 'stat64' has been explicitly marked deprecated here
int stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
^
../tester/covoar/app_common.cc:95:7: warning: 'stat64' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
if (STAT( f1, &buf1 ) == -1)
^
../tester/covoar/app_common.cc:45:14: note: expanded from macro 'STAT'
#define STAT stat64
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/stat.h:402:9: note: 'stat64' has been explicitly marked deprecated here
int stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
^
3 warnings generated.
[212/254] Compiling tester/covoar/CoverageMap.cc
[213/254] Compiling tester/covoar/ReportsText.cc
[214/254] Compiling tester/covoar/SymbolTable.cc
[215/254] Compiling tester/covoar/Target_m68k.cc
[216/254] Compiling tester/covoar/CoverageWriterRTEMS.cc
[217/254] Compiling tester/covoar/GcovFunctionData.cc
[218/254] Compiling tester/covoar/CoverageWriterTSIM.cc
[219/254] Compiling tester/covoar/ExecutableInfo.cc
[220/254] Compiling tester/covoar/TargetFactory.cc
[221/254] Compiling tester/covoar/CoverageFactory.cc
[222/254] Compiling tester/covoar/CoverageReaderBase.cc
[223/254] Compiling linkers/rtems-ld.cpp
[224/254] Compiling linkers/rtems-ra.cpp
[225/254] Compiling linkers/rtems-tld.cpp
[226/254] Compiling linkers/rtems-syms.cpp
[227/254] Compiling linkers/rtems-rapper.cpp
[228/254] Linking build/tester/covoar/libccovoar.a
[229/254] Linking build/linkers/rtems-ld
[230/254] Linking build/linkers/rtems-ra
[231/254] Compiling linkers/rtems-exeinfo.cpp
[232/254] Compiling linkers/rtems-addr2line.cpp
[233/254] Compiling misc/bin2c/compat.c
[234/254] Linking build/linkers/rtems-rap
[235/254] Linking build/linkers/rtems-tld
[236/254] Compiling misc/bin2c/rtems-bin2c.c
[237/254] Compiling tester/covoar/TraceList.cc
[238/254] Linking build/linkers/rtems-addr2line
[239/254] Compiling tester/covoar/TraceReaderBase.cc
[240/254] Linking build/misc/rtems-bin2c
[241/254] Compiling tester/covoar/TraceReaderLogQEMU.cc
[242/254] Linking build/linkers/rtems-exeinfo
[243/254] Compiling tester/covoar/TraceWriterQEMU.cc
[244/254] Compiling tester/covoar/TraceConverter.cc
[245/254] Compiling tester/covoar/TraceWriterBase.cc
[246/254] Compiling tester/covoar/covoar.cc
[247/254] Linking build/linkers/rtems-syms
[248/254] Compiling trace/record/record-client-base.cc
[249/254] Compiling trace/record/record-main-lttng.cc
[250/254] Compiling trace/record/record-client.c
../trace/record/record-client-base.cc:111:16: error: no matching function for call to 'min'
size_t m = std::min(sizeof(buf), todo);
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:2568:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long' vs. 'unsigned long long')
min(const _Tp& __a, const _Tp& __b)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:2578:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned long'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:2560:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/algorithm:2586:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
1 error generated.
../trace/record/record-main-lttng.cc:97:21: warning: unused variable 'kEventHeaderBits' [-Wunused-const-variable]
static const size_t kEventHeaderBits =
^
1 warning generated.
Waf: Leaving directory `/opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e/build'
Build failed
-> task in 'rtems-record-lttng' failed with exit status 1 (run with -v to display more information)
shell cmd failed: /bin/sh -ex /opt/work/builds/tools/rtems-source-builder.git/rtems/build/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1/do-build
error: building rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
See error report: rsb-report-rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sizes
=====
Maximum build usage: 6.335GB
Total size: 1.334GB
Installed : 1019.276MB
Sources: 346.661MB
Patches: 359.971KB
Output
======
Build Set: 5/rtems-arm
Build Set: 5/rtems-autotools.bset
Build Set: 5/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-apple-darwin18.7.0-1
building: autoconf-2.69-x86_64-apple-darwin18.7.0-1
sizes: autoconf-2.69-x86_64-apple-darwin18.7.0-1: 7.509MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-apple-darwin18.7.0-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-apple-darwin18.7.0-1
building: automake-1.12.6-x86_64-apple-darwin18.7.0-1
sizes: automake-1.12.6-x86_64-apple-darwin18.7.0-1: 8.083MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-apple-darwin18.7.0-1
cleaning: autoconf-2.69-x86_64-apple-darwin18.7.0-1
cleaning: automake-1.12.6-x86_64-apple-darwin18.7.0-1
Build Sizes: usage: 8.083MB total: 344.121MB (sources: 343.770MB, patches: 359.971KB, installed 0.000B)
Build Set: Time 0:00:11.902189
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-apple-darwin18.7.0-1
building: autoconf-2.69-x86_64-apple-darwin18.7.0-1
sizes: autoconf-2.69-x86_64-apple-darwin18.7.0-1: 10.540MB (installed: 3.034MB)
cleaning: autoconf-2.69-x86_64-apple-darwin18.7.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-apple-darwin18.7.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-apple-darwin18.7.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-apple-darwin18.7.0-1
building: automake-1.12.6-x86_64-apple-darwin18.7.0-1
sizes: automake-1.12.6-x86_64-apple-darwin18.7.0-1: 10.346MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-apple-darwin18.7.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-apple-darwin18.7.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-apple-darwin18.7.0-1.xml
staging: autoconf-2.69-x86_64-apple-darwin18.7.0-1 -> /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging
staging: automake-1.12.6-x86_64-apple-darwin18.7.0-1 -> /opt/work/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging
cleaning: autoconf-2.69-x86_64-apple-darwin18.7.0-1
cleaning: automake-1.12.6-x86_64-apple-darwin18.7.0-1
Build Sizes: usage: 15.839MB total: 349.419MB (sources: 343.770MB, patches: 359.971KB, installed 5.298MB)
Build Set: Time 0:00:15.577656
Build Set: Time 0:00:27.483694
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-apple-darwin18.7.0-1
building: expat-2.1.0-x86_64-apple-darwin18.7.0-1
sizes: expat-2.1.0-x86_64-apple-darwin18.7.0-1: 5.752MB (installed: 776.293KB)
cleaning: expat-2.1.0-x86_64-apple-darwin18.7.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-apple-darwin18.7.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-apple-darwin18.7.0-1.xml
config: tools/rtems-gdb-8.3-1.cfg
package: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
building: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
sizes: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1: 401.160MB (installed: 18.074MB)
cleaning: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
reporting: tools/rtems-gdb-8.3-1.cfg -> arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1.txt
reporting: tools/rtems-gdb-8.3-1.cfg -> arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1.xml
config: tools/rtems-binutils-2.32.cfg
package: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
building: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
sizes: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1: 321.528MB (installed: 33.359MB)
cleaning: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
reporting: tools/rtems-binutils-2.32.cfg -> arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1.txt
reporting: tools/rtems-binutils-2.32.cfg -> arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1.xml
config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
building: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
sizes: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1: 5.340GB (installed: 967.084MB)
cleaning: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1.txt
reporting: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg -> arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1.xml
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
download: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b...<see log> -> sources/rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e.tar.bz2
building: rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
error: building rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
Build FAILED
See error report: rsb-report-rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1.txt
error: building rtems-tools-5d80d0b2e1de9decb24c2d7ef481e4b63525595e-1
cleaning: expat-2.1.0-x86_64-apple-darwin18.7.0-1
cleaning: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
cleaning: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
cleaning: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
Build Sizes: usage: 6.335GB total: 1.334GB (sources: 346.661MB, patches: 359.971KB, installed 1019.276MB)
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 19:15:42 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin18.7.0-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
./configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--verbose \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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> Tue Sep 10 19:15:42 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-apple-darwin18.7.0-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
./configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--verbose \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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> Tue Sep 10 19:20:55 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-gdb-8.3-1.cfg
Summary:
GDB v8.3 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://www.gnu.org/software/gdb/
Version:
8.3
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.3"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS=""
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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/opt/work/builds/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
touch $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 19:20:56 2019
==============================================================================
Report: tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.3-1.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gdb-8.3-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-gdb-8.3-1.cfg
Summary:
GDB v8.3 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://www.gnu.org/software/gdb/
Version:
8.3
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.3.tar.xz
sha512: 47ac074d20a09a3fac8f4a41dce0a0cbe6ef702f7dc21ba8b7d650d306128dcae481e9a16bf65e596b3a541dc82ae57c02bcbb786d551b4ef3e2917b9b6f0ae1
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.3"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS=""
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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/opt/work/builds/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
touch $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 19:22:46 2019
==============================================================================
Report: tools/rtems-binutils-2.32.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.32.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.32.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-binutils-2.32.cfg
Summary:
Binutils v2.32 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://sources.redhat.com/binutils
Version:
2.32
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.bz2
sha512: 99ec7ed2b5ebfd3ac16cecb1567ec4a72f81ac30717002d601708f7547b2f8122ffcce076c986f22894aede33c54c73012210a4e973ba9b6e2d87a242a2bee12
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.32"
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-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_binutils}/configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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/opt/work/builds/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
touch $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/work/builds/tools/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 19:22:46 2019
==============================================================================
Report: tools/rtems-binutils-2.32.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.32.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.32.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-binutils-2.32-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-binutils-2.32.cfg
Summary:
Binutils v2.32 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://sources.redhat.com/binutils
Version:
2.32
Release:
1
Sources: 1
1: https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.bz2
sha512: 99ec7ed2b5ebfd3ac16cecb1567ec4a72f81ac30717002d601708f7547b2f8122ffcce076c986f22894aede33c54c73012210a4e973ba9b6e2d87a242a2bee12
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.32"
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-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_binutils}/configure \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/opt/work/builds/tools/5 --bindir=/opt/work/builds/tools/5/bin \
--exec-prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include --libdir=/opt/work/builds/tools/5/lib \
--mandir=/opt/work/builds/tools/5/share/man --infodir=/opt/work/builds/tools/5/share/info
make -j 4 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/opt/work/builds/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
touch $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/opt/work/builds/tools/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/bin/arm-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/opt/work/builds/tools/5/share/man/man1/arm-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 20:24:53 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
Summary:
GCC vfb371a33fa6 and Newlib v6661a67 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://gcc.gnu.org/
Version:
fb371a33fa6
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
No checksum
4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
Patches: 1
1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
No checksum
2: https://devel.rtems.org/raw-attachment/ticket/3171/darwin-libstdcpp-noparallel-fix.patch
sha512: 01fa1bd55f19b01f10c41fdfe31356a7a4ddf265ebac8f4b974ccd1718181fd56bcb18a96e0492aa37511f08b37f94052a5557e21075604fceee06d80ffbb7d8
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-fb371a33fa6
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.16.1"
%setup source isl -q -D -n isl-0.16.1
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpfr="mpfr-3.1.4"
%setup source mpfr -q -D -n mpfr-3.1.4
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_gmp="gmp-6.1.0"
%setup source gmp -q -D -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/gmp
ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
echo "RTEMS 5, RSB 0340c8a6be53ffa56382c2d1ceec5429422972eb, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
languages="c"
languages="$languages,c++"
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gcc}/configure \
--prefix=/opt/work/builds/tools/5 \
--bindir=/opt/work/builds/tools/5/bin \
--exec_prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include \
--libdir=/opt/work/builds/tools/5/lib \
--libexecdir=/opt/work/builds/tools/5/libexec \
--mandir=/opt/work/builds/tools/5/share/man \
--infodir=/opt/work/builds/tools/5/share/info \
--datadir=/opt/work/builds/tools/5/share \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--disable-nls --without-included-gettext \
--disable-win32-registry \
--enable-version-specific-runtime-libs \
--disable-lto \
--enable-newlib-io-c99-formats \
\
--enable-newlib-iconv \
--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
--enable-threads \
--disable-plugin \
\
--enable-libgomp \
\
--enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -j 4 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}/opt/work/builds/tools/5/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/bin/arm-rtems5-c++filt
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/man/man3/*ffi*
/bin/rm -rf ${source_dir_gcc}/newlib
/bin/rm -rf ${source_dir_gcc}/mpfr
/bin/rm -rf ${source_dir_gcc}/mpc
/bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Sep 10 20:24:53 2019
==============================================================================
Report: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0340c8a6be53ffa56382c2d1ceec5429422972eb
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
------------------------------------------------------------------------------
Package: arm-rtems5-gcc-fb371a33fa6-newlib-6661a67-x86_64-apple-darwin18.7.0-1
Config: tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
Summary:
GCC vfb371a33fa6 and Newlib v6661a67 for target arm-rtems5 on host x86_64-apple-darwin18.7.0
URL:
http://gcc.gnu.org/
Version:
fb371a33fa6
Release:
1
Sources: 6
1: --rsb-file=gnu-mirror-gcc-fb371a33fa6.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/fb371a33fa6
No checksum
2: https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
3: --rsb-file=newlib-6661a67.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/6661a67
No checksum
4: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.16.1.tar.bz2
sha512: c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
5: https://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
6: https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
sha512: 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
Patches: 1
1: https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
No checksum
2: https://devel.rtems.org/raw-attachment/ticket/3171/darwin-libstdcpp-noparallel-fix.patch
sha512: 01fa1bd55f19b01f10c41fdfe31356a7a4ddf265ebac8f4b974ccd1718181fd56bcb18a96e0492aa37511f08b37f94052a5557e21075604fceee06d80ffbb7d8
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-fb371a33fa6
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-6661a67
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.16.1"
%setup source isl -q -D -n isl-0.16.1
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpfr="mpfr-3.1.4"
%setup source mpfr -q -D -n mpfr-3.1.4
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_gmp="gmp-6.1.0"
%setup source gmp -q -D -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/gmp
ln -s $PWD/${source_dir_gmp} ${source_dir_gcc}/gmp
echo "RTEMS 5, RSB 0340c8a6be53ffa56382c2d1ceec5429422972eb, Newlib 6661a67" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "arm-rtems5" -o "x86_64-apple-darwin18.7.0" == "arm-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
languages="c"
languages="$languages,c++"
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-apple-darwin18.7.0" != "x86_64-apple-darwin18.7.0" ; then
# Cross build
CC=$(echo "x86_64-apple-darwin18.7.0-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-apple-darwin18.7.0-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gcc}/configure \
--prefix=/opt/work/builds/tools/5 \
--bindir=/opt/work/builds/tools/5/bin \
--exec_prefix=/opt/work/builds/tools/5 \
--includedir=/opt/work/builds/tools/5/include \
--libdir=/opt/work/builds/tools/5/lib \
--libexecdir=/opt/work/builds/tools/5/libexec \
--mandir=/opt/work/builds/tools/5/share/man \
--infodir=/opt/work/builds/tools/5/share/info \
--datadir=/opt/work/builds/tools/5/share \
--build=x86_64-apple-darwin18.7.0 --host=x86_64-apple-darwin18.7.0 \
--target=arm-rtems5 \
--disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
--disable-nls --without-included-gettext \
--disable-win32-registry \
--enable-version-specific-runtime-libs \
--disable-lto \
--enable-newlib-io-c99-formats \
\
--enable-newlib-iconv \
--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 \
--enable-threads \
--disable-plugin \
\
--enable-libgomp \
\
--enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -j 4 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}/opt/work/builds/tools/5/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/bin/arm-rtems5-c++filt
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/5/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/opt/work/builds/tools/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
More information about the build
mailing list