Build Darwin: FAILED 5/rtems-or1k.bset on x86_64-apple-darwin18.0.0 (or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1)

chrisj at rtems.org chrisj at rtems.org
Fri Sep 28 04:56:08 UTC 2018


RTEMS Source Builder - Set Builder, 5 (d2d46786f113)

Host: Darwin-18.0.0-x86_64-i386-64bit
       Darwin mohua 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT
       2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64 i386

Build Time: 0:14:14.542995

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:1770:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (vectorize)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:2913:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (addr_space)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4254:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (calls)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4769:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (c)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4922:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (cxx)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5011:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (emutls)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5117:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (target_option)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-convert.c:36:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5349:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (C90_EMPTY_HACK)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
../../gcc-4.9.3/gcc/c/c-decl.c:8905:24: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_parm *ret = XOBNEW (&parser_obstack, struct c_parm);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-decl.c:8919:30: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_declarator *ret = XOBNEW (&parser_obstack, struct c_declarator);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-decl.c:8933:30: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_declarator *ret = XOBNEW (&parser_obstack, struct c_declarator);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-decl.c:8946:30: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_declarator *ret = XOBNEW (&parser_obstack, struct c_declarator);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-decl.c:8967:30: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_declarator *ret = XOBNEW (&parser_obstack, struct c_declarator);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-decl.c:8987:29: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct c_declspecs *ret = XOBNEW (&parser_obstack, struct c_declspecs);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
11 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/5/rtems-or1k.bset/opt/work/chris/rtems/builds/rtems/tools/include -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc-4.9.3/gcc -I../../gcc-4.9.3/gcc/c -I../../gcc-4.9.3/gcc/../include -I../../gcc-4.9.3/gcc/../libcpp/include -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./gmp -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/gmp -I/op!
 t/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpc/src  -I../../gcc-4.9.3/gcc/../libdecnumber -I../../gcc-4.9.3/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.3/gcc/../libbacktrace    -o c/c-aux-info.o -MT c/c-aux-info.o -MMD -MP -MF c/.deps/c-aux-info.TPo ../../gcc-4.9.3/gcc/c/c-aux-info.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from ../../gcc-4.9.3/gcc/c/c-decl.c:10543:
./gt-c-c-decl.h:93:7: warning: switch condition has boolean value [-Wswitch-bool]
      switch (TREE_CODE ((*x).decl) == LABEL_DECL)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-typeck.c:2685:31: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  struct maybe_used_decl *t = XOBNEW (&parser_obstack, struct maybe_used_decl);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
./gt-c-c-decl.h:148:7: warning: switch condition has boolean value [-Wswitch-bool]
      switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gt-c-c-decl.h:729:7: warning: switch condition has boolean value [-Wswitch-bool]
      switch (TREE_CODE ((*x).decl) == LABEL_DECL)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gt-c-c-decl.h:784:7: warning: switch condition has boolean value [-Wswitch-bool]
      switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gt-c-c-decl.h:1360:3: warning: switch condition has boolean value [-Wswitch-bool]
  switch (TREE_CODE ((*x).decl) == LABEL_DECL)
  ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gt-c-c-decl.h:1426:3: warning: switch condition has boolean value [-Wswitch-bool]
  switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE)
  ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-typeck.c:7628:5: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
    obstack_alloc (braced_init_obstack,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-typeck.c:7843:28: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  r = (struct init_node *) obstack_alloc (braced_init_obstack,
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
14 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/5/rtems-or1k.bset/opt/work/chris/rtems/builds/rtems/tools/include -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc-4.9.3/gcc -I../../gcc-4.9.3/gcc/c -I../../gcc-4.9.3/gcc/../include -I../../gcc-4.9.3/gcc/../libcpp/include -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./gmp -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/gmp -I/op!
 t/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpc/src  -I../../gcc-4.9.3/gcc/../libdecnumber -I../../gcc-4.9.3/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.3/gcc/../libbacktrace    -o c/c-objc-common.o -MT c/c-objc-common.o -MMD -MP -MF c/.deps/c-objc-common.TPo ../../gcc-4.9.3/gcc/c/c-objc-common.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/tmp/sb-chris/5/rtems-or1k.bset/opt/work/chris/rtems/builds/rtems/tools/include -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc-4.9.3/gcc -I../../gcc-4.9.3/gcc/c -I../../gcc-4.9.3/gcc/../include -I../../gcc-4.9.3/gcc/../libcpp/include -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./gmp -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/gmp -I/op!
 t/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/build/./mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpfr -I/opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/gcc-4.9.3/mpc/src  -I../../gcc-4.9.3/gcc/../libdecnumber -I../../gcc-4.9.3/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.9.3/gcc/../libbacktrace    -o c/c-parser.o -MT c/c-parser.o -MMD -MP -MF c/.deps/c-parser.TPo ../../gcc-4.9.3/gcc/c/c-parser.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from ../../gcc-4.9.3/gcc/c/c-objc-common.c:33:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/new:91:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
    _VSTD::abort();
    ^~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^
../../gcc-4.9.3/gcc/system.h:685:13: note: 'fancy_abort' declared here
extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
            ^
1 error generated.
make[2]: *** [c/c-objc-common.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:902:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (asm_out)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:1522:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (sched)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:1552:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (simd_clone)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:1770:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (vectorize)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:2913:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (addr_space)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4254:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (calls)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4769:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (c)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:4922:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (cxx)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5011:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (emutls)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5117:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (target_option)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
In file included from ../../gcc-4.9.3/gcc/c/c-parser.c:60:
In file included from ../../gcc-4.9.3/gcc/target.h:175:
../../gcc-4.9.3/gcc/target.def:5349:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions]
HOOK_VECTOR_END (C90_EMPTY_HACK)
^
../../gcc-4.9.3/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END'
#define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;)
                                                 ^
../../gcc-4.9.3/gcc/c/c-parser.c:485:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:585:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:635:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:1281:32: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
      void *obstack_position = obstack_alloc (&parser_obstack, 0);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-parser.c:1323:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:4038:9: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
  ret = XOBNEW (&parser_obstack, struct c_type_name);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/libiberty.h:366:30: note: expanded from macro 'XOBNEW'
#define XOBNEW(O, T)            ((T *) obstack_alloc ((O), sizeof (T)))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:405:4: note: expanded from macro 'obstack_alloc'
   obstack_finish (__h); })
   ^~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:429:8: note: expanded from macro 'obstack_finish'
     = __INT_TO_PTR ((__PTR_TO_INT (__o1->next_free)+__o1->alignment_mask)\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-4.9.3/gcc/../include/obstack.h:126:31: note: expanded from macro '__INT_TO_PTR'
# define __INT_TO_PTR(P) ((P) + (char *) 0)
                              ^ ~~~~~~~~~~
../../gcc-4.9.3/gcc/c/c-parser.c:4854:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:6439:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
../../gcc-4.9.3/gcc/c/c-parser.c:7101:10: warning: case value not in enumerated type 'enum cpp_ttype' [-Wswitch]
    case CPP_KEYWORD:
         ^
../../gcc-4.9.3/gcc/c/c-parser.c:131:21: note: expanded from macro 'CPP_KEYWORD'
#define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
                    ^
25 warnings generated.
14 warnings generated.
20 warnings generated.
rm gcc.pod
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /opt/work/chris/rtems/builds/tools/rtems-source-builder.git/rtems/build/or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1/do-build
error: building or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
  See error report: rsb-report-or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Sizes
=====

Maximum build usage: 359.196MB
Total size: 591.912MB
Installed : 48.419MB
Sources: 538.086MB
Sources: 5.407MB

Output
======

config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-apple-darwin18.0.0-1
building: autoconf-2.69-x86_64-apple-darwin18.0.0-1
sizes: autoconf-2.69-x86_64-apple-darwin18.0.0-1: 10.544MB (installed: 3.034MB)
cleaning: autoconf-2.69-x86_64-apple-darwin18.0.0-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-apple-darwin18.0.0-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-apple-darwin18.0.0-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-apple-darwin18.0.0-1
building: automake-1.12.6-x86_64-apple-darwin18.0.0-1
sizes: automake-1.12.6-x86_64-apple-darwin18.0.0-1: 10.348MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-apple-darwin18.0.0-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-apple-darwin18.0.0-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-apple-darwin18.0.0-1.xml
installing: autoconf-2.69-x86_64-apple-darwin18.0.0-1 -> /opt/work/chris/rtems/builds/rtems/tools
installing: automake-1.12.6-x86_64-apple-darwin18.0.0-1 -> /opt/work/chris/rtems/builds/rtems/tools
cleaning: autoconf-2.69-x86_64-apple-darwin18.0.0-1
cleaning: automake-1.12.6-x86_64-apple-darwin18.0.0-1
Build Sizes: usage: 15.843MB total: 462.541MB (sources: 452.249MB, patches: 4.993MB, installed 5.299MB)
Build Set: Time 0:00:14.215186
Build Set: Time 0:00:24.201769
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-apple-darwin18.0.0-1
building: expat-2.1.0-x86_64-apple-darwin18.0.0-1
sizes: expat-2.1.0-x86_64-apple-darwin18.0.0-1: 5.664MB (installed: 757.318KB)
cleaning: expat-2.1.0-x86_64-apple-darwin18.0.0-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-apple-darwin18.0.0-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-apple-darwin18.0.0-1.xml
config: tools/rtems-binutils-2.31.1.cfg
package: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
building: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
sizes: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1: 310.777MB (installed: 29.755MB)
cleaning: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
reporting: tools/rtems-binutils-2.31.1.cfg -> or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1.txt
reporting: tools/rtems-binutils-2.31.1.cfg -> or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1.xml
config: tools/rtems-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9.cfg
package: or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
download: ftp://ftp.gnu.org/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2 -> sources/gcc-4.9.3.tar.bz2
download: https://github.com/openrisc/or1k-gcc/releases/download/or1k-4.9.3-release/gcc-4.9.3-or1k.patch -> patches/gcc-4.9.3-or1k.patch
 redirect: https://github-production-release-asset-2e65be.s3.amazonaws.com/5498984/4b407f16-edff-...<see log>
warning: gcc-4.9.3-or1k.patch: no hash found
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/Make-lang.in;h=b09fb02bb4...<see log> -> patches/Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/cfns.gperf;h=b09fb02bb4c0...<see log> -> patches/cfns.gperf.b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/cfns.h;h=b09fb02bb4c0d16f...<see log> -> patches/cfns.h-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch
download: https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/cp/except.c;h=b09fb02bb4c0d1...<see log> -> patches/except.c-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch
building: or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
error: building or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
Build FAILED
  See error report: rsb-report-or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1.txt
error: building or1k-rtems5-gcc-4.9.3-newlib-d13c84eb07e35984bf7a974cd786a6cdac29e6b9-x86_64-apple-darwin18.0.0-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
building: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
sizes: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1: 106.475MB (installed: 8.684MB)
cleaning: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1.xml
config: tools/rtems-gdb-7.11-2.cfg
package: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
download: https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.11-or1k-release/gdb-7.11-or1k.patch -> patches/gdb-7.11-or1k.patch
 redirect: https://github-production-release-asset-2e65be.s3.amazonaws.com/53734345/3ab6d824-ed33...<see log>
warning: gdb-7.11-or1k.patch: no hash found
building: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
sizes: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1: 264.072MB (installed: 9.240MB)
cleaning: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
reporting: tools/rtems-gdb-7.11-2.cfg -> or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1.txt
reporting: tools/rtems-gdb-7.11-2.cfg -> or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1.xml
cleaning: expat-2.1.0-x86_64-apple-darwin18.0.0-1
cleaning: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
cleaning: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
cleaning: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
Build Sizes: usage: 359.196MB total: 591.912MB (sources: 538.086MB, patches: 5.407MB, installed 48.419MB)
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:42:28 2018
==============================================================================
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: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.0.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target or1k-rtems5 on host x86_64-apple-darwin18.0.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.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0 --host=x86_64-apple-darwin18.0.0 \
  --verbose \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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> Fri Sep 28 14:42:28 2018
==============================================================================
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: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.0.0-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target or1k-rtems5 on host x86_64-apple-darwin18.0.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.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0 --host=x86_64-apple-darwin18.0.0 \
  --verbose \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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> Fri Sep 28 14:44:00 2018
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target or1k-rtems5 on host x86_64-apple-darwin18.0.0
 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-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "or1k-rtems5" -o "x86_64-apple-darwin18.0.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0 --host=x86_64-apple-darwin18.0.0 \
  --target=or1k-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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/chris/rtems/builds/rtems/tools/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:44:00 2018
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-binutils-2.31.1-x86_64-apple-darwin18.0.0-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target or1k-rtems5 on host x86_64-apple-darwin18.0.0
 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-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "or1k-rtems5" -o "x86_64-apple-darwin18.0.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0 --host=x86_64-apple-darwin18.0.0 \
  --target=or1k-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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/chris/rtems/builds/rtems/tools/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/bin/or1k-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/work/chris/rtems/builds/rtems/tools/share/man/man1/or1k-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:53:08 2018
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools d343f830f4dae8e84b4b44902347c60cf18b2ffd for host x86_64-apple-darwin18.0.0
 URL:
  http://www.rtems.org/
 Version:
  d343f830f4dae8e84b4b44902347c60cf18b2ffd
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd.tar.bz2
       sha512: 0bad7f68642cd7856a4534241529979b9efffaf88d36d83fc358cb880a3e2be6ed5501c852bf1a514939784c7130da5c15c24b2105691024d1bf9983ac0404a4
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
  RT_HOST="--host=x86_64-apple-darwin18.0.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/opt/work/chris/rtems/builds/rtems/tools
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT_WAF install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:53:08 2018
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools d343f830f4dae8e84b4b44902347c60cf18b2ffd for host x86_64-apple-darwin18.0.0
 URL:
  http://www.rtems.org/
 Version:
  d343f830f4dae8e84b4b44902347c60cf18b2ffd
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd.tar.bz2
       sha512: 0bad7f68642cd7856a4534241529979b9efffaf88d36d83fc358cb880a3e2be6ed5501c852bf1a514939784c7130da5c15c24b2105691024d1bf9983ac0404a4
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-d343f830f4dae8e84b4b44902347c60cf18b2ffd
  source_dir_rtems_tools=${rtems_tools_source}
  %setup source rtems-tools -q -n ${rtems_tools_source}
  %setup patch rtems-tools -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
  RT_HOST="--host=x86_64-apple-darwin18.0.0"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/opt/work/chris/rtems/builds/rtems/tools
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT_WAF install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:56:01 2018
==============================================================================
Report: tools/rtems-gdb-7.11-2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.11-2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.11-2.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
 Config: tools/rtems-gdb-7.11-2.cfg
 Summary:
  GDB v7.11 for target or1k-rtems5 on host x86_64-apple-darwin18.0.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.11
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz
       sha256: 7a434116cb630d77bb40776e8f5d3937bed11dea56bafebb4d2bc5dd389fe5c1
  Patches: 1
    1: https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.11-or1k-release/gdb-7.11-or1k.patch
       No checksum
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-7.11"
  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.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "or1k-rtems5" -o "x86_64-apple-darwin18.0.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.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.0.0 --host=x86_64-apple-darwin18.0.0 \
  --target=or1k-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --disable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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/chris/rtems/builds/rtems/tools/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Sep 28 14:56:02 2018
==============================================================================
Report: tools/rtems-gdb-7.11-2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: git://git.rtems.org/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: d2d46786f113ed39d29deafa3feeb4d42ae94001
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-7.11-2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-7.11-2.cfg
------------------------------------------------------------------------------
Package: or1k-rtems5-gdb-7.11-x86_64-apple-darwin18.0.0-1
 Config: tools/rtems-gdb-7.11-2.cfg
 Summary:
  GDB v7.11 for target or1k-rtems5 on host x86_64-apple-darwin18.0.0
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  7.11
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz
       sha256: 7a434116cb630d77bb40776e8f5d3937bed11dea56bafebb4d2bc5dd389fe5c1
  Patches: 1
    1: https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.11-or1k-release/gdb-7.11-or1k.patch
       No checksum
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-7.11"
  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.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "or1k-rtems5" -o "x86_64-apple-darwin18.0.0" == "or1k-rtems5" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.0" ; then
    # Cross build
    CC=$(echo "x86_64-apple-darwin18.0.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-apple-darwin18.0.0-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 "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${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-apple-darwin18.0.0" != "x86_64-apple-darwin18.0.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.0.0 --host=x86_64-apple-darwin18.0.0 \
  --target=or1k-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --disable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python \
  --prefix=/opt/work/chris/rtems/builds/rtems/tools --bindir=/opt/work/chris/rtems/builds/rtems/tools/bin \
  --exec-prefix=/opt/work/chris/rtems/builds/rtems/tools \
  --includedir=/opt/work/chris/rtems/builds/rtems/tools/include --libdir=/opt/work/chris/rtems/builds/rtems/tools/lib \
  --mandir=/opt/work/chris/rtems/builds/rtems/tools/share/man --infodir=/opt/work/chris/rtems/builds/rtems/tools/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/chris/rtems/builds/rtems/tools/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  touch $SB_BUILD_ROOT/opt/work/chris/rtems/builds/rtems/tools/share/info/dir
  cd ${build_top}


More information about the build mailing list