Build FreeBSD: FAILED 6/rtems-aarch64 on x86_64-freebsd12.1 (aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Fri Dec 11 17:15:59 UTC 2020


RTEMS Source Builder - Set Builder, 6 (bfa9cca76b56)

Host: FreeBSD-12.1-RELEASE-amd64-64bit-ELF
       FreeBSD Build_FreeBSD12 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC
       amd64 amd64

Build Time: 0:07:38.113029

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:219:8: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  x4 = XEXP (x2, 1);
       ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:107:8: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  x2 = XEXP (x1, 1);
       ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:116:8: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  x6 = XEXP (x4, 1);
       ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:184:16: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          x9 = XEXP (x7, 1);
               ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:199:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x9 = XEXP (x7, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:184:16: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          x9 = XEXP (x7, 1);
               ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:199:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x9 = XEXP (x7, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:184:16: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          x9 = XEXP (x7, 1);
               ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:219:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x9 = XEXP (x7, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:140:8: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  x2 = XEXP (x1, 1);
       ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:148:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x5 = XEXP (x2, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64.md:3248:16: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
          x8 = XEXP (x4, 1);
               ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:265:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x5 = XEXP (x2, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:270:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x10 = XEXP (x6, 1);
            ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64-ldpstp.md:282:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x13 = XEXP (x10, 1);
            ^          ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/aarch64.md:3199:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
      x5 = XEXP (x2, 1);
           ^         ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1341:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:1229:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
../../gnu-mirror-gcc-c25f7ea/gcc/rtl.h:444:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
gimple-match.c:73098:21: warning: self-comparison always evaluates to false [-Wtautological-compare]
                  if (COMPLEX_CST != COMPLEX_CST
                                  ^
5 warnings generated.
gimple-match.c:122927:35: warning: unused parameter 'res_op' [-Wunused-parameter]
gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
                                  ^
gimple-match.c:122927:55: warning: unused parameter 'seq' [-Wunused-parameter]
gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
                                                      ^
gimple-match.c:122929:47: warning: unused parameter 'type' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
                                              ^
gimple-match.c:122929:58: warning: unused parameter '_p0' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
                                                         ^
gimple-match.c:122929:68: warning: unused parameter '_p1' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
                                                                   ^
gimple-match.c:122929:78: warning: unused parameter '_p2' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
                                                                             ^
gimple-match.c:122929:88: warning: unused parameter '_p3' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
                                                                                       ^
gimple-match.c:122939:35: warning: unused parameter 'res_op' [-Wunused-parameter]
gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
                                  ^
gimple-match.c:122939:55: warning: unused parameter 'seq' [-Wunused-parameter]
gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
                                                      ^
gimple-match.c:122941:47: warning: unused parameter 'type' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                              ^
gimple-match.c:122941:58: warning: unused parameter '_p0' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                                         ^
gimple-match.c:122941:68: warning: unused parameter '_p1' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                                                   ^
gimple-match.c:122941:78: warning: unused parameter '_p2' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                                                             ^
gimple-match.c:122941:88: warning: unused parameter '_p3' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                                                                       ^
gimple-match.c:122941:98: warning: unused parameter '_p4' [-Wunused-parameter]
                 code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
                                                                                                 ^
143 warnings generated.
2056 warnings generated.
147 warnings generated.
rm -rf libbackend.a
ar rc libbackend.a gimple-match.o generic-match.o insn-attrtab.o insn-automata.o insn-dfatab.o insn-emit.o insn-extract.o insn-latencytab.o insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o insn-enums.o ggc-page.o alias.o alloc-pool.o auto-inc-dec.o auto-profile.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o ccmp.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfgexpand.o cfghooks.o cfgloop.o cfgloopanal.o cfgloopmanip.o cfgrtl.o symtab.o cgraph.o cgraphbuild.o cgraphunit.o cgraphclones.o combine.o combine-stack-adj.o compare-elim.o context.o convert.o coroutine-passes.o coverage.o cppbuiltin.o cppdefault.o cprop.o cse.o cselib.o data-streamer.o data-streamer-in.o data-streamer-out.o dbxout.o dbgcnt.o dce.o ddg.o debug.o df-core.o df-problems.o df-scan.o dfp.o digraph.o dojump.o dominance.o domwalk.o double-int.o dse.o dumpfile.o dwarf2asm.o dwarf2cfi.o dwarf2out.o early-remat.o emit-rtl.o et-forest.o except.o explow.o expmed.o expr.o fibonacci_heap.o
  file-prefix-map.o final.o fixed-value.o fold-const.o fold-const-call.o function.o function-abi.o function-tests.o fwprop.o gcc-rich-location.o gcse.o gcse-common.o ggc-common.o ggc-tests.o gimple.o gimple-builder.o gimple-expr.o gimple-iterator.o gimple-fold.o gimple-laddress.o gimple-loop-interchange.o gimple-loop-jam.o gimple-loop-versioning.o gimple-low.o gimple-pretty-print.o gimple-ssa-backprop.o gimple-ssa-evrp.o gimple-ssa-evrp-analyze.o gimple-ssa-isolate-paths.o gimple-ssa-nonnull-compare.o gimple-ssa-split-paths.o gimple-ssa-store-merging.o gimple-ssa-strength-reduction.o gimple-ssa-sprintf.o gimple-ssa-warn-alloca.o gimple-ssa-warn-restrict.o gimple-streamer-in.o gimple-streamer-out.o gimple-walk.o gimplify.o gimplify-me.o godump.o graph.o graphds.o graphviz.o graphite.o graphite-isl-ast-to-gimple.o graphite-dependences.o graphite-optimize-isl.o graphite-poly.o graphite-scop-detection.o graphite-sese-to-poly.o gtype-desc.o haifa-sched.o hash-map-tests.o hash-set-tests.o 
 hsa-common.o hsa-gen.o hsa-regalloc.o hsa-brig.o hsa-dump.o hw-doloop.o hwint.o ifcvt.o ree.o inchash.o incpath.o init-regs.o internal-fn.o ipa-cp.o ipa-sra.o ipa-devirt.o ipa-fnsummary.o ipa-polymorphic-call.o ipa-split.o ipa-inline.o ipa-comdats.o ipa-visibility.o ipa-inline-analysis.o ipa-inline-transform.o ipa-predicate.o ipa-profile.o ipa-prop.o ipa-param-manipulation.o ipa-pure-const.o ipa-icf.o ipa-icf-gimple.o ipa-reference.o ipa-hsa.o ipa-ref.o ipa-utils.o ipa.o ira.o ira-build.o ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o langhooks.o lcm.o lists.o loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o lower-subreg.o lra.o lra-assigns.o lra-coalesce.o lra-constraints.o lra-eliminations.o lra-lives.o lra-remat.o lra-spills.o lto-cgraph.o lto-streamer.o lto-streamer-in.o lto-streamer-out.o lto-section-in.o lto-section-out.o lto-opts.o lto-compress.o mcf.o mode-switching.o modulo-sched.o multiple_target.o omp-offload.o omp-expand.o omp-gen
 eral.o omp-grid.o omp-low.o omp-simd-clone.o opt-problem.o optabs.o optabs-libfuncs.o optabs-query.o optabs-tree.o optinfo.o optinfo-emit-json.o options-save.o opts-global.o ordered-hash-map-tests.o passes.o plugin.o postreload-gcse.o postreload.o predict.o print-rtl.o print-rtl-function.o print-tree.o profile.o profile-count.o range.o range-op.o read-md.o read-rtl.o read-rtl-function.o real.o realmpfr.o recog.o reg-stack.o regcprop.o reginfo.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o rtl-error.o rtl-tests.o rtl.o rtlhash.o rtlanal.o rtlhooks.o rtx-vector-builder.o run-rtl-passes.o sched-deps.o sched-ebb.o sched-rgn.o sel-sched-ir.o sel-sched-dump.o sel-sched.o selftest-rtl.o selftest-run-tests.o sese.o shrink-wrap.o simplify-rtx.o sparseset.o spellcheck.o spellcheck-tree.o sreal.o stack-ptr-mod.o statistics.o stmt.o stor-layout.o store-motion.o streamer-hooks.o stringpool.o substring-locations.o target-globals.o targhooks.o timevar.o toplev.o tracer.o trans-mem.o
  tree-affine.o asan.o tsan.o ubsan.o sanopt.o sancov.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o tree-chrec.o tree-complex.o tree-data-ref.o tree-dfa.o tree-diagnostic.o tree-diagnostic-path.o tree-dump.o tree-eh.o tree-emutls.o tree-if-conv.o tree-inline.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o tree-nested.o tree-nrv.o tree-object-size.o tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-dce.o tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o tree-ssa-loop-prefetch.o tree-ssa-loop-split.o tree-ssa-loop-unswitch.o tree-ssa-loop.o tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-p
 hiprop.o tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o tree-ssa-scopedtables.o tree-ssa-sink.o tree-ssa-strlen.o tree-ssa-structalias.o tree-ssa-tail-merge.o tree-ssa-ter.o tree-ssa-threadbackward.o tree-ssa-threadedge.o tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa-uninit.o tree-ssa.o tree-ssanames.o tree-stdarg.o tree-streamer.o tree-streamer-in.o tree-streamer-out.o tree-tailcall.o tree-vect-generic.o tree-vect-patterns.o tree-vect-data-refs.o tree-vect-stmts.o tree-vect-loop.o tree-vect-loop-manip.o tree-vect-slp.o tree-vectorizer.o tree-vector-builder.o tree-vrp.o tree.o tristate.o typed-splay-tree.o unique-ptr-tests.o valtrack.o value-range.o value-prof.o var-tracking.o varasm.o varpool.o vec-perm-indices.o vmsdbgout.o vr-values.o vtable-verify.o web.o wide-int.o wide-int-print.o xcoffout.o aarch64.o analyzer/analysis-plan.o analyzer/analyzer.o analyzer/analyzer-logging.o analyzer/analyzer-pass.o analyzer/analyzer-selftests.o analyzer/bar-chart.
 o analyzer/call-string.o analyzer/checker-path.o analyzer/constraint-manager.o analyzer/diagnostic-manager.o analyzer/engine.o analyzer/function-set.o analyzer/pending-diagnostic.o analyzer/program-point.o analyzer/program-state.o analyzer/region-model.o analyzer/sm.o analyzer/sm-file.o analyzer/sm-malloc.o analyzer/sm-pattern-test.o analyzer/sm-sensitive.o analyzer/sm-signal.o analyzer/sm-taint.o analyzer/state-purge.o analyzer/supergraph.o aarch64-builtins.o aarch-common.o aarch64-sve-builtins.o aarch64-sve-builtins-shapes.o aarch64-sve-builtins-base.o aarch64-sve-builtins-sve2.o cortex-a57-fma-steering.o aarch64-speculation.o falkor-tag-collision-avoidance.o aarch64-bti-insert.o host-default.o
ranlib  libbackend.a
if [ -f ../stage_final ] \
   && cmp -s ../stage_current ../stage_final; then \
  cp ../prev-gcc/cc1-checksum.c cc1-checksum.c; \
else \
  build/genchecksum c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o aarch64-c.o default-c.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a   ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
                     checksum-options > cc1-checksum.c.tmp && 		 \
  ../../gnu-mirror-gcc-c25f7ea/gcc/../move-if-change cc1-checksum.c.tmp cc1-checksum.c; \
fi
if [ -f ../stage_final ] \
   && cmp -s ../stage_current ../stage_final; then \
   cp ../prev-gcc/cc1plus-checksum.c cc1plus-checksum.c; \
else \
  build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/coroutines.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/method.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o aarch64-c.o default-c.o libbackend.a main.o libcomm
 on-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a   ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \
                     checksum-options > cc1plus-checksum.c.tmp &&	   \
  ../../gnu-mirror-gcc-c25f7ea/gcc/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c; \
fi
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/include -fno-PIE -c  -DIN_GCC_FRONTEND  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gnu-mirror-gcc-c25f7ea/gcc -I../../gnu-mirror-gcc-c25f7ea/gcc/. -I../../gnu-mirror-gcc-c25f7ea/gcc/../include -I../../gnu-mirror-gcc-c25f7ea/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/gmp -I/usr/home/user/rtems-source-builder/rtems/buil
 d/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/mpc/src  -I../../gnu-mirror-gcc-c25f7ea/gcc/../libdecnumber -I../../gnu-mirror-gcc-c25f7ea/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-c25f7ea/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/isl/include  -o cc1-checksum.o -MT cc1-checksum.o -MMD -MP -MF ./.deps/cc1-checksum.TPo cc1-checksum.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/include -fno-PIE -c  -DIN_GCC_FRONTEND  -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gnu-mirror-gcc-c25f7ea/gcc -I../../gnu-mirror-gcc-c25f7ea/gcc/. -I../../gnu-mirror-gcc-c25f7ea/gcc/../include -I../../gnu-mirror-gcc-c25f7ea/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/gmp -I/usr/home/user/rtems-source-builder/rtems/buil
 d/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/mpc/src  -I../../gnu-mirror-gcc-c25f7ea/gcc/../libdecnumber -I../../gnu-mirror-gcc-c25f7ea/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-c25f7ea/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/gnu-mirror-gcc-c25f7ea/isl/include  -o cc1plus-checksum.o -MT cc1plus-checksum.o -MMD -MP -MF ./.deps/cc1plus-checksum.TPo cc1plus-checksum.c
warning: unknown warning option '-Werror=format-diag' [-Wunknown-warning-option]
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
warning: unknown warning option '-Werror=format-diag' [-Wunknown-warning-option]
1 warning generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/include -no-pie    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -L/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/lib -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.
 o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o aarch64-c.o default-c.o \
  cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./isl/.libs  -lisl -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gmp/.libs -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpfr/src/.libs -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpc/src/.libs -lmpc -lmpfr -lgmp   -L./../zlib -lz 
1 warning generated.
c++: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/include -no-pie    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -L/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-aarch64/usr/local/rtems/6/lib -o cc1plus \
      cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/coroutines.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/method.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o aarch64-c.o default-c.o cc1plus-checksum.o libbackend.a main.o li
 bcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./isl/.libs  -lisl -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gmp/.libs -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpfr/src/.libs -L/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./mpc/src/.libs -lmpc -lmpfr -lgmp   -L./../zlib -lz 
c++: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
echo | /usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/xgcc -B/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/ -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
	 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
ld-elf.so.1: Shared object "libgmp.so.10" not found, required by "cc1"
/bin/sh ../../gnu-mirror-gcc-c25f7ea/gcc/../move-if-change tmp-macro_list macro_list
echo timestamp > s-macro_list
rm -rf include-fixed; mkdir include-fixed
chmod a+rx include-fixed
if [ -d ../prev-gcc ]; then \
  cd ../prev-gcc && \
  gmake real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
    libsubdir=. ; \
else \
  set -e; for ml in `cat fixinc_list`; do \
    sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
    multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
    fix_dir=include-fixed${multi_dir}; \
    if ! true && test ! -d `echo /usr/local/rtems/6/lib/gcc/aarch64-rtems6/10.2.1/../../../../aarch64-rtems6/sys-include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`; then \
      echo The directory that should contain system headers does not exist: >&2 ; \
      echo "  `echo /usr/local/rtems/6/lib/gcc/aarch64-rtems6/10.2.1/../../../../aarch64-rtems6/sys-include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \
      tooldir_sysinc=`echo "/usr/local/rtems/6/lib/gcc/aarch64-rtems6/10.2.1/../../../../aarch64-rtems6/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
      if test "x`echo /usr/local/rtems/6/lib/gcc/aarch64-rtems6/10.2.1/../../../../aarch64-rtems6/sys-include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \
      then sleep 1; else exit 1; fi; \
    fi; \
    /bin/sh ../../gnu-mirror-gcc-c25f7ea/gcc/../mkinstalldirs ${fix_dir}; \
    chmod a+rx ${fix_dir} || true; \
    (TARGET_MACHINE='aarch64-unknown-rtems6'; srcdir=`cd ../../gnu-mirror-gcc-c25f7ea/gcc; ${PWDCMD-pwd}`; \
      SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
      gcc_dir=`${PWDCMD-pwd}` ; \
      export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
      cd ../build-x86_64-freebsd12.1/fixincludes && \
      /bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
        `echo /usr/local/rtems/6/lib/gcc/aarch64-rtems6/10.2.1/../../../../aarch64-rtems6/sys-include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`  ); \
    rm -f ${fix_dir}/syslimits.h; \
    if [ -f ${fix_dir}/limits.h ]; then \
      mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
    else \
      cp ../../gnu-mirror-gcc-c25f7ea/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
    fi; \
    chmod a+r ${fix_dir}/syslimits.h; \
  done; \
fi
Fixing headers into /usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/gcc/include-fixed for aarch64-unknown-rtems6 target
No forbidden identifiers defined by this target
echo timestamp > stmp-fixinc
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
for file in .. ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/float.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/iso646.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdarg.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdbool.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stddef.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/varargs.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdfix.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdnoreturn.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdalign.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdatomic.h ../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/arm_fp16.h ../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/arm_neon.h ../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/arm_bf16.h ../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/arm_acle.h ../../gnu-mirror-gcc-c25f7ea/gcc/config/aarch64/arm_sve.h ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/tgmath.h; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    echo timestamp > include/$realfile; \
    rm -f include/$realfile; \
    cp $file include; \
    chmod a+r include/$realfile; \
  fi; \
done
for file in .. ; do \
  if [ X$file != X.. ]; then \
            mv include/$file include/x_$file; \
            echo "#include_next <$file>" >include/$file; \
            cat include/x_$file >>include/$file; \
            rm -f include/x_$file; \
    chmod a+r include/$file; \
  fi; \
done
for file in .. ; do \
  if [ X$file != X.. ]; then \
    echo "#include_next <$file>" >>include/$file; \
    chmod a+r include/$file; \
  fi; \
done
rm -f include/stdint.h
if [ wrap = wrap ]; then \
  rm -f include/stdint-gcc.h; \
  cp ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdint-gcc.h include/stdint-gcc.h; \
  chmod a+r include/stdint-gcc.h; \
  cp ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdint-wrap.h include/stdint.h; \
  chmod a+r include/stdint.h; \
elif [ wrap = provide ]; then \
  cp ../../gnu-mirror-gcc-c25f7ea/gcc/ginclude/stdint-gcc.h include/stdint.h; \
  chmod a+r include/stdint.h; \
fi
set -e; for ml in `cat fixinc_list`; do \
  sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
  multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
  fix_dir=include-fixed${multi_dir}; \
  if true ; then \
    cat ../../gnu-mirror-gcc-c25f7ea/gcc/limitx.h ../../gnu-mirror-gcc-c25f7ea/gcc/glimits.h ../../gnu-mirror-gcc-c25f7ea/gcc/limity.h > tmp-xlimits.h; \
  else \
    cat ../../gnu-mirror-gcc-c25f7ea/gcc/glimits.h > tmp-xlimits.h; \
  fi; \
  /bin/sh ../../gnu-mirror-gcc-c25f7ea/gcc/../mkinstalldirs ${fix_dir}; \
  chmod a+rx ${fix_dir} || true; \
  /bin/sh ../../gnu-mirror-gcc-c25f7ea/gcc/../move-if-change \
    tmp-xlimits.h  tmp-limits.h; \
  rm -f ${fix_dir}/limits.h; \
  cp -p tmp-limits.h ${fix_dir}/limits.h; \
  chmod a+r ${fix_dir}/limits.h; \
done
rm -f include-fixed/README
cp ../../gnu-mirror-gcc-c25f7ea/gcc/../fixincludes/README-fixinc include-fixed/README
chmod a+r include-fixed/README
echo timestamp > stmp-int-hdrs
/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/xgcc -B/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=../../gnu-mirror-gcc-c25f7ea/gcc/testsuite/selftests
/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/xgcc -B/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=../../gnu-mirror-gcc-c25f7ea/gcc/testsuite/selftests
ld-elf.so.1: Shared object "libgmp.so.10" not found, required by "cc1"
ld-elf.so.1: Shared object "libgmp.so.10" not found, required by "cc1plus"
gmake[2]: *** [../../gnu-mirror-gcc-c25f7ea/gcc/c/Make-lang.in:124: s-selftest-c] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [../../gnu-mirror-gcc-c25f7ea/gcc/cp/Make-lang.in:178: s-selftest-c++] Error 1
rm gcov.pod fsf-funding.pod gfdl.pod gpl.pod cpp.pod gcc.pod gcov-dump.pod gcov-tool.pod
gmake[2]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build/gcc'
gmake[1]: *** [Makefile:4404: all-gcc] Error 2
gmake[1]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/build'
gmake: *** [Makefile:965: all] Error 2
shell cmd failed: /bin/sh -ex  /usr/home/user/rtems-source-builder/rtems/build/aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1/do-build
error: building aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
  See error report: rsb-report-aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 6/rtems-aarch64
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.1-1
building: autoconf-2.69-x86_64-freebsd12.1-1
sizes: autoconf-2.69-x86_64-freebsd12.1-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd12.1-1
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.1-1
building: automake-1.12.6-x86_64-freebsd12.1-1
sizes: automake-1.12.6-x86_64-freebsd12.1-1: 8.325MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd12.1-1
cleaning: autoconf-2.69-x86_64-freebsd12.1-1
cleaning: automake-1.12.6-x86_64-freebsd12.1-1
Build Sizes: usage: 8.325MB total: 8.414GB (sources: 8.414GB, patches: 548.931KB, installed 0.000B)
Build Set: Time 0:00:04.715924
Build Set: 6/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd12.1-1
building: autoconf-2.69-x86_64-freebsd12.1-1
sizes: autoconf-2.69-x86_64-freebsd12.1-1: 10.515MB (installed: 3.021MB)
cleaning: autoconf-2.69-x86_64-freebsd12.1-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-freebsd12.1-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd12.1-1
building: automake-1.12.6-x86_64-freebsd12.1-1
sizes: automake-1.12.6-x86_64-freebsd12.1-1: 10.588MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-freebsd12.1-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-freebsd12.1-1.xml
cleaning: autoconf-2.69-x86_64-freebsd12.1-1
cleaning: automake-1.12.6-x86_64-freebsd12.1-1
Build Sizes: usage: 15.873MB total: 8.420GB (sources: 8.414GB, patches: 548.931KB, installed 5.285MB)
Build Set: Time 0:00:06.547239
Build Set: Time 0:00:11.266801
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.1-1
building: expat-2.1.0-x86_64-freebsd12.1-1
sizes: expat-2.1.0-x86_64-freebsd12.1-1: 4.776MB (installed: 620.058KB)
cleaning: expat-2.1.0-x86_64-freebsd12.1-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.xml
config: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-freebsd12.1-1
building: gmp-6.1.0-x86_64-freebsd12.1-1
sizes: gmp-6.1.0-x86_64-freebsd12.1-1: 24.070MB (installed: 2.272MB)
cleaning: gmp-6.1.0-x86_64-freebsd12.1-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-freebsd12.1-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-freebsd12.1-1.xml
config: tools/rtems-gdb-head.cfg
package: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1
download: https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/14a7722 -> sources/sourceware-mirror-binutils-gdb-14a7722.tar.gz
building: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1
sizes: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1: 418.864MB (installed: 16.569MB)
cleaning: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1
reporting: tools/rtems-gdb-head.cfg -> aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-gdb-head.cfg -> aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1.xml
config: tools/rtems-binutils-head.cfg
package: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1
building: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1
sizes: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1: 433.282MB (installed: 40.886MB)
cleaning: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1
reporting: tools/rtems-binutils-head.cfg -> aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-binutils-head.cfg -> aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1.xml
config: tools/rtems-gcc-10-newlib-head.cfg
package: aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
download: https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/c25f7ea -> sources/gnu-mirror-gcc-c25f7ea.tar.gz
download: https://devel.rtems.org/raw-attachment/ticket/4196/0001-gcov-Add-fprofile-info-section-support.patch -> patches/0001-gcov-Add-fprofile-info-section-support.patch
download: https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/21ec498 -> sources/newlib-21ec498.tar.gz
building: aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
error: building aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
Build FAILED
  See error report: rsb-report-aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1.txt
error: building aarch64-rtems6-gcc-c25f7ea-newlib-21ec498-x86_64-freebsd12.1-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:09:23 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target aarch64-rtems6 on host x86_64-freebsd12.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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> Fri Dec 11 18:09:23 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target aarch64-rtems6 on host x86_64-freebsd12.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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> Fri Dec 11 18:09:44 2020
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-freebsd12.1-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:09:44 2020
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-freebsd12.1-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:11:48 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v14a7722 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  14a7722
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-14a7722.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/14a7722
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-14a7722
  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-freebsd12.1" != "x86_64-freebsd12.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 "aarch64-rtems6" -o "x86_64-freebsd12.1" == "aarch64-rtems6" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1" != "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --target=aarch64-rtems6  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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/usr/local/rtems/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:11:48 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-gdb-14a7722-x86_64-freebsd12.1-1
 Config: tools/rtems-gdb-head.cfg
 Summary:
  GDB v14a7722 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  14a7722
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-14a7722.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/14a7722
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  gdb_source=sourceware-mirror-binutils-gdb-14a7722
  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-freebsd12.1" != "x86_64-freebsd12.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 "aarch64-rtems6" -o "x86_64-freebsd12.1" == "aarch64-rtems6" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1" != "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --target=aarch64-rtems6  --verbose --disable-nls  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof    --without-included-gettext  --disable-win32-registry  --disable-werror  --enable-sim    --without-zlib  --with-expat  --with-guile=no  --with-libiconv-prefix=/usr/local  --with-python=/usr/local/bin/python2  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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/usr/local/rtems/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:12:30 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v14a7722 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  http://sources.redhat.com/binutils
 Version:
  14a7722
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-14a7722.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/14a7722
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-14a7722
  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-freebsd12.1" != "x86_64-freebsd12.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 "aarch64-rtems6" -o "x86_64-freebsd12.1" == "aarch64-rtems6" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --target=aarch64-rtems6  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --disable-lto  --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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/usr/local/rtems/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/6/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Fri Dec 11 18:12:30 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: bfa9cca76b56c58122a54101c022ce8a295e76aa
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: aarch64-rtems6-binutils-14a7722-x86_64-freebsd12.1-1
 Config: tools/rtems-binutils-head.cfg
 Summary:
  Binutils v14a7722 for target aarch64-rtems6 on host x86_64-freebsd12.1
 URL:
  http://sources.redhat.com/binutils
 Version:
  14a7722
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-14a7722.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/14a7722
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-14a7722
  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-freebsd12.1" != "x86_64-freebsd12.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 "aarch64-rtems6" -o "x86_64-freebsd12.1" == "aarch64-rtems6" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.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-freebsd12.1 --host=x86_64-freebsd12.1  --target=aarch64-rtems6  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --disable-lto  --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/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/usr/local/rtems/6/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  touch $SB_BUILD_ROOT/usr/local/rtems/6/share/info/dir
  mkdir -p $SB_BUILD_ROOT/usr/local/rtems/6/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/6/bin/aarch64-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/6/share/man/man1/aarch64-rtems6-windmc*
  fi
  cd ${build_top}


More information about the build mailing list