Build FreeBSD: FAILED 5/rtems-i386 on x86_64-freebsd13.1 (i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1)

OAR Tester for FreeBSD 13 rtems-tester at oarcorp.com
Sun Feb 5 07:25:59 UTC 2023


RTEMS Source Builder - Set Builder, 5.not_released
warning: exe: absolute exe found in path: (__objdump) /usr/bin/objdump

Host: FreeBSD-13.1-RELEASE-p3-amd64-64bit-ELF
       FreeBSD VM-FreeBSD13.rtems.com 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3
       GENERIC amd64 amd64

Build Time: 0:09:28.568523

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                      ^~~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:46781:3: warning: array index 5 is past the end of the array (which contains 1 element) [-Warray-bounds]
  INSN_CODE (vselect_insn) = -1;
  ^~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1473:25: note: expanded from macro 'INSN_CODE'
#define INSN_CODE(INSN) XINT (INSN, 5)
                        ^           ~
../../gcc-7.5.0/gcc/rtl.h:1287:23: note: expanded from macro 'XINT'
#define XINT(RTX, N)    (RTL_CHECK2 (RTX, N, 'i', 'n').rt_int)
                         ^                ~
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.cIn file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:561:
../../gcc-7.5.0/gcc/mem-stats.h:126:1: warning: :46801:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  x = XEXP (SET_SRC (PATTERN (vselect_insn)), 0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:2436:22: note: expanded from macro 'SET_SRC'
#define SET_SRC(RTX) XCEXP (RTX, 1, SET)
                     ^           ~
../../gcc-7.5.0/gcc/rtl.h:1323:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
../../gcc-7.5.0/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
../../gcc-7.5.0/gcc/rtl.h:1290:35: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                                     ^~~
../../gcc-7.5.0/gcc/rtl.h:1179:39: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                      ^~~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:46804:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  XEXP (x, 1) = op1;
  ^        ~
../../gcc-7.5.0/gcc/rtl.h:1290:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
4 warnings generated.
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:46807:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  XEXP (x, 1) = const0_rtx;
  ^        ~
../../gcc-7.5.0/gcc/rtl.h:1290:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1003/5/rtems-i386/home/tester/rtems-cron-5/tools/5/include -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-7.5.0/gcc -I../../gcc-7.5.0/gcc/. -I../../gcc-7.5.0/gcc/../include -I../../gcc-7.5.0/gcc/../libcpp/include -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/./gmp -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/gmp -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-794758
 1-x86_64-freebsd13.1-1/build/./mpfr/src -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/mpfr/src -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/mpc/src  -I../../gcc-7.5.0/gcc/../libdecnumber -I../../gcc-7.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-7.5.0/gcc/../libbacktrace -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/./isl/include -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/isl/include  -o pretty-print.o -MT pretty-print.o -MMD -MP -MF ./.deps/pretty-print.TPo ../../gcc-7.5.0/gcc/pretty-print.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from ../../gcc-7.5.0/gcc/edit-context.c:22:
../../gcc-7.5.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
../../gcc-7.5.0/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
In file included from ../../gcc-7.5.0/gcc/diagnostic-show-locus.c:23:
../../gcc-7.5.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
../../gcc-7.5.0/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
52 warnings generated.
../../gcc-7.5.0/gcc/config/i386/i386.c:50334:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      if (SUBREG_BYTE (dst) > 0)
          ^~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1888:26: note: expanded from macro 'SUBREG_BYTE'
#define SUBREG_BYTE(RTX) XCUINT (RTX, 1, SUBREG)
                         ^            ~
../../gcc-7.5.0/gcc/rtl.h:1321:32: note: expanded from macro 'XCUINT'
#define XCUINT(RTX, N, C)     (RTL_CHECKC1 (RTX, N, C).rt_uint)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:50341:14: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      pos += SUBREG_BYTE (src) * BITS_PER_UNIT;
             ^~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1888:26: note: In file included from expanded from macro 'SUBREG_BYTE'
#define SUBREG_BYTE(RTX) XCUINT (RTX, 1, SUBREG)
                         ^            ~
../../gcc-7.5.0/gcc/rtl.h:1321:32: note: expanded from macro 'XCUINT'
#define XCUINT(RTX, N, C)     (RTL_CHECKC1 (RTX, N, C).rt_uint)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/edit-context.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
static inline struct rtx_def *
              ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from ../../gcc-7.5.0/gcc/edit-context.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
../../gcc-7.5.0/gcc/config/i386/i386.c:50436:14: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      pos += SUBREG_BYTE (dst) * BITS_PER_UNIT;
             ^~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1888:26: note: expanded from macro 'SUBREG_BYTE'
#define SUBREG_BYTE(RTX) XCUINT (RTX, 1, SUBREG)
                         ^            ~
../../gcc-7.5.0/gcc/rtl.h:1321:32: note: expanded from macro 'XCUINT'
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1003/5/rtems-i386/home/tester/rtems-cron-5/tools/5/include -fno-PIE -c  -DLOCALEDIR=\"/home/tester/rtems-cron-5/tools/5/share/locale\" -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-7.5.0/gcc -I../../gcc-7.5.0/gcc/. -I../../gcc-7.5.0/gcc/../include -I../../gcc-7.5.0/gcc/../libcpp/include -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/./gmp -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/gmp -I/usr/home/tester/rtems-cron-5/rtems-
 source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/./mpfr/src -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/mpfr/src -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/mpc/src  -I../../gcc-7.5.0/gcc/../libdecnumber -I../../gcc-7.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-7.5.0/gcc/../libbacktrace -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/./isl/include -I/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/gcc-7.5.0/isl/include  -o intl.o -MT intl.o -MMD -MP -MF ./.deps/intl.TPo ../../gcc-7.5.0/gcc/intl.c
#define XCUINT(RTX, N, C)     (RTL_CHECKC1 (RTX, N, C).rt_uint)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
In file included from #define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:50496:28: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
            unsigned int srcpos = SUBREG_BYTE (src);
                                  ^~~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1888:26: note: expanded from macro 'SUBREG_BYTE'
#define SUBREG_BYTE(RTX) XCUINT (RTX, 1, SUBREG)
                         ^            ~
../../gcc-7.5.0/gcc/rtl.h:1321:32: note: expanded from macro 'XCUINT'
#define XCUINT(RTX, N, C)     (RTL_CHECKC1 (RTX, N, C).rt_uint)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/pretty-print.c:23:
../../gcc-7.5.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
../../gcc-7.5.0/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
../../gcc-7.5.0/gcc/config/i386/i386.c:50751:7: warning: array index 5 is past the end of the array (which contains 1 element) [-Warray-bounds]
  if (INSN_CODE (insn) < 0)
      ^~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1473:25: note: expanded from macro 'INSN_CODE'
#define INSN_CODE(INSN) XINT (INSN, 5)
                        ^           ~
../../gcc-7.5.0/gcc/rtl.h:1287:23: note: expanded from macro 'XINT'
#define XINT(RTX, N)    (RTL_CHECK2 (RTX, N, 'i', 'n').rt_int)
                         ^                ~
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
../../gcc-7.5.0/gcc/config/i386/i386.c:51212:7: warning: array index 5 is past the end of the array (which contains 1 element) [-Warray-bounds]
  if (INSN_CODE (insn) < 0)
      ^~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1473:25: note: expanded from macro 'INSN_CODE'
#define INSN_CODE(INSN) XINT (INSN, 5)
                        ^           ~
../../gcc-7.5.0/gcc/rtl.h:1287:23: note: expanded from macro 'XINT'
#define XINT(RTX, N)    (RTL_CHECK2 (RTX, N, 'i', 'n').rt_int)
                         ^                ~
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gcc-7.5.0/gcc/config/i386/i386.c:51342:7: warning: array index 5 is past the end of the array (which contains 1 element) [-Warray-bounds]
  if (INSN_CODE (insn) < 0)
      ^~~~~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:1473:25: note: expanded from macro 'INSN_CODE'
#define INSN_CODE(INSN) XINT (INSN, 5)
                        ^           ~
../../gcc-7.5.0/gcc/rtl.h:1287:23: note: expanded from macro 'XINT'
#define XINT(RTX, N)    (RTL_CHECK2 (RTX, N, 'i', 'n').rt_int)
In file included from ../../gcc-7.5.0/gcc/edit-context.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:561:
                         ^                ~../../gcc-7.5.0/gcc/mem-stats.h:126:1: warning: 
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
../../gcc-7.5.0/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
../../gcc-7.5.0/gcc/config/i386/i386.c:51587:14: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          rtx src = SET_SRC (set);
                    ^~~~~~~~~~~~~
../../gcc-7.5.0/gcc/rtl.h:2436:22: note: expanded from macro 'SET_SRC'
#define SET_SRC(RTX) XCEXP (RTX, 1, SET)
                     ^           ~
../../gcc-7.5.0/gcc/rtl.h:1323:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
../../gcc-7.5.0/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
In file included from ../../gcc-7.5.0/gcc/diagnostic-show-locus.c:23:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
static inline struct rtx_def *
              ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from ../../gcc-7.5.0/gcc/diagnostic-show-locus.c:23:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
../../gcc-7.5.0/gcc/config/i386/i386.c:52202:17: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      *offset = XEXP (addr, 1);
                ^           ~
../../gcc-7.5.0/gcc/rtl.h:1290:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gcc-7.5.0/gcc/rtl.h:1179:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gcc-7.5.0/gcc/rtl.h:424:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
In file included from ../../gcc-7.5.0/gcc/config/i386/i386.c:53174:
./gt-i386.h:95:3: warning: struct 'hash_table' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  struct hash_table<dllimport_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<dllimport_hasher> *)x_p;
  ^
../../gcc-7.5.0/gcc/hash-table.h:358:7: note: previous use is here
class hash_table
      ^
./gt-i386.h:95:3: note: did you mean class here?
  struct hash_table<dllimport_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<dllimport_hasher> *)x_p;
  ^~~~~~
  class
./gt-i386.h:95:63: warning: struct 'hash_table' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  struct hash_table<dllimport_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<dllimport_hasher> *)x_p;
                                                              ^
../../gcc-7.5.0/gcc/hash-table.h:358:7: note: previous use is here
class hash_table
      ^
./gt-i386.h:95:63: note: did you mean class here?
  struct hash_table<dllimport_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<dllimport_hasher> *)x_p;
                                                              ^~~~~~
                                                              class
In file included from ../../gcc-7.5.0/gcc/diagnostic-show-locus.c:23:
../../gcc-7.5.0/gcc/edit-context.c:195In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:561:
../../gcc-7.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
:7: warning: ../../gcc-7.5.0/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
private field 'm_finish' is not used [-Wunused-private-field]
  int m_finish;
      ^
In file included from ../../gcc-7.5.0/gcc/pretty-print.c:23:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
static inline struct rtx_def *
              ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from ../../gcc-7.5.0/gcc/pretty-print.c:23:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
394 warnings and 1 error generated.
In file included from ../../gcc-7.5.0/gcc/pretty-print.c:23:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:561:
../../gcc-7.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
../../gcc-7.5.0/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
gmake[2]: *** [Makefile:2217: i386.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
../../gcc-7.5.0/gcc/diagnostic-show-locus.c:99:15: warning: private field 'm_caret' is not used [-Wunused-private-field]
  const char *m_caret;
              ^
../../gcc-7.5.0/gcc/diagnostic-show-locus.c:239:16: warning: private field 'm_diagnostic_kind' is not used [-Wunused-private-field]
  diagnostic_t m_diagnostic_kind;
               ^
In file included from ../../gcc-7.5.0/gcc/intl.c:22:
../../gcc-7.5.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
../../gcc-7.5.0/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
4 warnings generated.
In file included from ../../gcc-7.5.0/gcc/intl.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
static inline struct rtx_def *
              ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from ../../gcc-7.5.0/gcc/intl.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:235:
../../gcc-7.5.0/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
../../gcc-7.5.0/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
5 warnings generated.
In file included from ../../gcc-7.5.0/gcc/intl.c:22:
In file included from ../../gcc-7.5.0/gcc/coretypes.h:369:
In file included from ../../gcc-7.5.0/gcc/hash-table.h:561:
../../gcc-7.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
../../gcc-7.5.0/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
4 warnings generated.
244 warnings generated.
132 warnings generated.
4 warnings generated.
6 warnings generated.
rm gcc.pod
gmake[2]: Leaving directory '/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build/gcc'
gmake[1]: *** [Makefile:4237: all-gcc] Error 2
gmake[1]: Leaving directory '/usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/build'
gmake: *** [Makefile:900: all] Error 2
shell cmd failed: /bin/sh -ex  /usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1/do-build
error: building i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
  See error report: rsb-report-i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Sizes
=====

Maximum build usage: 881.539MB
Total size: 597.894MB
Installed : 265.566MB
Sources: 331.974MB
Patches: 362.538KB

Output
======

Build Set: 5/rtems-i386
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-freebsd13.1-1
building: autoconf-2.69-x86_64-freebsd13.1-1
sizes: autoconf-2.69-x86_64-freebsd13.1-1: 7.501MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd13.1-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd13.1-1
building: automake-1.12.6-x86_64-freebsd13.1-1
sizes: automake-1.12.6-x86_64-freebsd13.1-1: 8.327MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd13.1-1
cleaning: autoconf-2.69-x86_64-freebsd13.1-1
cleaning: automake-1.12.6-x86_64-freebsd13.1-1
Build Sizes: usage: 8.327MB total: 332.328MB (sources: 331.974MB, patches: 362.538KB, installed 0.000B)
Build Set: Time 0:00:08.716494
Build Set: 5/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd13.1-1
building: autoconf-2.69-x86_64-freebsd13.1-1
sizes: autoconf-2.69-x86_64-freebsd13.1-1: 10.519MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd13.1-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd13.1-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd13.1-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd13.1-1
building: automake-1.12.6-x86_64-freebsd13.1-1
sizes: automake-1.12.6-x86_64-freebsd13.1-1: 10.590MB (installed: 2.265MB)
cleaning: automake-1.12.6-x86_64-freebsd13.1-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd13.1-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd13.1-1.xml
staging: autoconf-2.69-x86_64-freebsd13.1-1 -> /usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1003-staging
staging: automake-1.12.6-x86_64-freebsd13.1-1 -> /usr/home/tester/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1003-staging
cleaning: autoconf-2.69-x86_64-freebsd13.1-1
cleaning: automake-1.12.6-x86_64-freebsd13.1-1
Build Sizes: usage: 15.876MB total: 337.614MB (sources: 331.974MB, patches: 362.538KB, installed 5.286MB)
Build Set: Time 0:00:14.253593
Build Set: Time 0:00:22.983805
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd13.1-1
building: expat-2.1.0-x86_64-freebsd13.1-1
sizes: expat-2.1.0-x86_64-freebsd13.1-1: 7.619MB (installed: 1.427MB)
cleaning: expat-2.1.0-x86_64-freebsd13.1-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd13.1-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd13.1-1.xml
config: tools/rtems-gdb-9.1-1.cfg
package: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
building: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
sizes: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1: 615.973MB (installed: 76.067MB)
cleaning: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
reporting: tools/rtems-gdb-9.1-1.cfg -> i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1.txt
reporting: tools/rtems-gdb-9.1-1.cfg -> i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1.xml
config: tools/rtems-binutils-2.34.cfg
package: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
building: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
sizes: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1: 535.444MB (installed: 132.685MB)
cleaning: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
reporting: tools/rtems-binutils-2.34.cfg -> i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1.txt
reporting: tools/rtems-binutils-2.34.cfg -> i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1.xml
config: tools/rtems-gcc-7.5.0-newlib-7947581.cfg
package: i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
building: i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
error: building i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
Build FAILED
  See error report: rsb-report-i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1.txt
error: building i386-rtems5-gcc-7.5.0-newlib-7947581-x86_64-freebsd13.1-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
building: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
sizes: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1: 217.941MB (installed: 55.386MB)
cleaning: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1.xml
cleaning: expat-2.1.0-x86_64-freebsd13.1-1
cleaning: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
cleaning: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
cleaning: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
Build Sizes: usage: 881.539MB total: 597.894MB (sources: 331.974MB, patches: 362.538KB, installed 265.566MB)
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:16:53 2023
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd13.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target i386-rtems5 on host x86_64-freebsd13.1
 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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1 --host=x86_64-freebsd13.1  --verbose  --prefix=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:16:54 2023
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd13.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target i386-rtems5 on host x86_64-freebsd13.1
 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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1 --host=x86_64-freebsd13.1  --verbose  --prefix=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:18:35 2023
==============================================================================
Report: tools/rtems-gdb-9.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-9.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-9.1-1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
 Config: tools/rtems-gdb-9.1-1.cfg
 Summary:
  GDB v9.1 for target i386-rtems5 on host x86_64-freebsd13.1
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  9.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz
       sha512: hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
       sha512: QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-9.1"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "i386-rtems5" -o "x86_64-freebsd13.1" == "i386-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-freebsd13.1 --host=x86_64-freebsd13.1  --target=i386-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-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python2  --prefix=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:18:35 2023
==============================================================================
Report: tools/rtems-gdb-9.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-9.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-9.1-1.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-gdb-9.1-x86_64-freebsd13.1-1
 Config: tools/rtems-gdb-9.1-1.cfg
 Summary:
  GDB v9.1 for target i386-rtems5 on host x86_64-freebsd13.1
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  9.1
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/gdb/gdb-9.1.tar.xz
       sha512: hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==
  Patches: 1
    1: https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
       sha512: QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-9.1"
  source_dir_gdb=${gdb_source}
  %setup source gdb -q -n ${gdb_source}
  %setup patch gdb -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "i386-rtems5" -o "x86_64-freebsd13.1" == "i386-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
  GDB_LIBS_STATIC="-lexpat"
  else
  GDB_LIBS_STATIC="-lexpat"
  GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
  fi
  LIBS_STATIC=${GDB_LIBS_STATIC}  LIBS=${GDB_LIBS}  ../${source_dir_gdb}/configure  --build=x86_64-freebsd13.1 --host=x86_64-freebsd13.1  --target=i386-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-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python2  --prefix=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:19:13 2023
==============================================================================
Report: tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.34.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
 Config: tools/rtems-binutils-2.34.cfg
 Summary:
  Binutils v2.34 for target i386-rtems5 on host x86_64-freebsd13.1
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.34
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2
       sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.34"
  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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "i386-rtems5" -o "x86_64-freebsd13.1" == "i386-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1 --host=x86_64-freebsd13.1  --target=i386-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=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:19:13 2023
==============================================================================
Report: tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.34.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.34.cfg
------------------------------------------------------------------------------
Package: i386-rtems5-binutils-2.34-x86_64-freebsd13.1-1
 Config: tools/rtems-binutils-2.34.cfg
 Summary:
  Binutils v2.34 for target i386-rtems5 on host x86_64-freebsd13.1
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.34
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2
       sha512: f47e7304e102c7bbc97958a08093e27796b9051d1567ce4fbb723d39ef3e29efa325ee14a1bdcc462a925a7f9bbbc9aee28294c6dc23850f371030f3835a8067
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.34"
  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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "i386-rtems5" -o "x86_64-freebsd13.1" == "i386-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-freebsd13.1" != "x86_64-freebsd13.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.1-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-freebsd13.1 --host=x86_64-freebsd13.1  --target=i386-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=/home/tester/rtems-cron-5/tools/5 --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec-prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include --libdir=/home/tester/rtems-cron-5/tools/5/lib  --mandir=/home/tester/rtems-cron-5/tools/5/share/man --infodir=/home/tester/rtems-cron-5/tools/5/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/tester/rtems-cron-5/tools/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/bin/i386-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/tester/rtems-cron-5/tools/5/share/man/man1/i386-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:25:21 2023
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 04d6aa3ada572c1fd7352e3a95775824679c0aa0 for host x86_64-freebsd13.1
 URL:
  http://www.rtems.org/
 Version:
  04d6aa3ada572c1fd7352e3a95775824679c0aa0
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0.tar.bz2
       sha512: 7GFaovivW18aqni5qjyfJqk4CxnsF3tpA10AMCy1VMIMcc69LZX/tjuU+SX/apIdeTED992T5zX8zAI8YIGdqQ==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0
  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-freebsd13.1" != "x86_64-freebsd13.1" ; then
  RT_HOST="--host=x86_64-freebsd13.1"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/home/tester/rtems-cron-5/tools/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Feb  5 01:25:21 2023
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 9144a4ab7f4afb1bf1b66e1686b9eab46c359d67
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0-1
 Config: tools/rtems-tools-5-1.cfg
 Summary:
  RTEMS Tools 04d6aa3ada572c1fd7352e3a95775824679c0aa0 for host x86_64-freebsd13.1
 URL:
  http://www.rtems.org/
 Version:
  04d6aa3ada572c1fd7352e3a95775824679c0aa0
 Release:
  1
  Sources: 1
    1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0.tar.bz2
       sha512: 7GFaovivW18aqni5qjyfJqk4CxnsF3tpA10AMCy1VMIMcc69LZX/tjuU+SX/apIdeTED992T5zX8zAI8YIGdqQ==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  rtems_tools_source=rtems-tools-04d6aa3ada572c1fd7352e3a95775824679c0aa0
  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-freebsd13.1" != "x86_64-freebsd13.1" ; then
  RT_HOST="--host=x86_64-freebsd13.1"
  else
  RT_HOST=
  fi
  cd ${source_dir_rtems_tools}
  ./waf distclean configure ${RT_HOST} --prefix=/home/tester/rtems-cron-5/tools/5
  ./waf
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${source_dir_rtems_tools}
  ./waf --destdir=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list