Build FreeBSD: FAILED 6/rtems-epiphany on x86_64-freebsd12.1 (epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Thu Jun 18 05:58:19 UTC 2020
RTEMS Source Builder - Set Builder, 5 (429cab509bba)
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:02:36.743453
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:5750:5: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
JUMP_LABEL (returnjump) = pat;
^~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1860:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN) XCEXP (INSN, 7, JUMP_INSN)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1375:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtx)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:5752:5: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
JUMP_LABEL (returnjump) = ret_rtx;
^~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1860:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN) XCEXP (INSN, 7, JUMP_INSN)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1375:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtx)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6092:12: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
&& (NOTE_KIND (insn) == NOTE_INSN_FUNCTION_BEG))
^~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1675:25: note: expanded from macro 'NOTE_KIND'
#define NOTE_KIND(INSN) XCINT (INSN, 4, NOTE)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1371:32: note: expanded from macro 'XCINT'
#define XCINT(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_int)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6130:12: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
if (NOTE_KIND (insn) == NOTE_INSN_PROLOGUE_END)
^~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1675:25: note: expanded from macro 'NOTE_KIND'
#define NOTE_KIND(INSN) XCINT (INSN, 4, NOTE)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1371:32: note: expanded from macro 'XCINT'
#define XCINT(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_int)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6151:12: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
&& NOTE_KIND (note) == NOTE_INSN_PROLOGUE_END)
^~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1675:25: note: expanded from macro 'NOTE_KIND'
#define NOTE_KIND(INSN) XCINT (INSN, 4, NOTE)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1371:32: note: expanded from macro 'XCINT'
#define XCINT(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_int)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6178:9: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
if (NOTE_KIND (insn) == NOTE_INSN_EPILOGUE_BEG)
^~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1675:25: note: expanded from macro 'NOTE_KIND'
#define NOTE_KIND(INSN) XCINT (INSN, 4, NOTE)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1371:32: note: expanded from macro 'XCINT'
#define XCINT(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_int)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
In file included from ../../gnu-mirror-gcc-aff95ee/gcc/function-tests.c:75:
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:1741:1: warning: 'cgraph_edge' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class GTY((chain_next ("%h.next_caller"), chain_prev ("%h.prev_caller"),
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:903:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-aff95ee/gcc/coretypes.h:144:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6546:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
rtx op = SET_SRC (p_sets[0]);
^~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2684:22: note: expanded from macro 'SET_SRC'
#define SET_SRC(RTX) XCEXP (RTX, 1, SET)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1375:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtx)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6547:17: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
int ninputs = ASM_OPERANDS_INPUT_LENGTH (op);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2573:40: note: expanded from macro 'ASM_OPERANDS_INPUT_LENGTH'
#define ASM_OPERANDS_INPUT_LENGTH(RTX) XCVECLEN (RTX, 3, ASM_OPERANDS)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1384:43: note: expanded from macro 'XCVECLEN'
#define XCVECLEN(RTX, N, C) GET_NUM_ELEM (XCVEC (RTX, N, C))
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1376:32: note: expanded from macro 'XCVEC'
#define XCVEC(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtvec)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:742:32: note: expanded from macro 'GET_NUM_ELEM'
#define GET_NUM_ELEM(RTVEC) ((RTVEC)->num_elem)
^~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6548:18: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
rtvec inputs = ASM_OPERANDS_INPUT_VEC (op);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2570:37: note: expanded from macro 'ASM_OPERANDS_INPUT_VEC'
#define ASM_OPERANDS_INPUT_VEC(RTX) XCVEC (RTX, 3, ASM_OPERANDS)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1376:32: note: expanded from macro 'XCVEC'
#define XCVEC(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtvec)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6556:32: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
const char *constraint = ASM_OPERANDS_INPUT_CONSTRAINT (op, i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2577:9: note: expanded from macro 'ASM_OPERANDS_INPUT_CONSTRAINT'
XSTR (XCVECEXP (RTX, 4, N, ASM_OPERANDS), 0)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1383:43: note: expanded from macro 'XCVECEXP'
#define XCVECEXP(RTX, N, M, C) RTVEC_ELT (XCVEC (RTX, N, C), M)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1376:32: note: expanded from macro 'XCVEC'
#define XCVEC(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtvec)
^ ~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1233:35: note: expanded from macro 'RTVEC_ELT'
#define RTVEC_ELT(RTVEC, I) ((RTVEC)->elem[I])
^~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1340:35: note: expanded from macro 'XSTR'
#define XSTR(RTX, N) (RTL_CHECK2 (RTX, N, 's', 'S').rt_str)
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1229:39: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2) ((RTX)->u.fld[N])
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6602:20: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
constraint = ASM_OPERANDS_OUTPUT_CONSTRAINT(SET_SRC(p_sets[match]));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2568:45: note: expanded from macro 'ASM_OPERANDS_OUTPUT_CONSTRAINT'
#define ASM_OPERANDS_OUTPUT_CONSTRAINT(RTX) XCSTR (RTX, 1, ASM_OPERANDS)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1374:32: note: expanded from macro 'XCSTR'
#define XCSTR(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_str)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6602:51: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
constraint = ASM_OPERANDS_OUTPUT_CONSTRAINT(SET_SRC(p_sets[match]));
^~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2684:22: note: expanded from macro 'SET_SRC'
#define SET_SRC(RTX) XCEXP (RTX, 1, SET)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1375:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtx)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2568:52: note: expanded from macro 'ASM_OPERANDS_OUTPUT_CONSTRAINT'
#define ASM_OPERANDS_OUTPUT_CONSTRAINT(RTX) XCSTR (RTX, 1, ASM_OPERANDS)
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1374:45: note: expanded from macro 'XCSTR'
#define XCSTR(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_str)
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1230:38: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N])
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:6644:11: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
(ASM_OPERANDS_INPUT_CONSTRAINT (op, j)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:2577:9: note: expanded from macro 'ASM_OPERANDS_INPUT_CONSTRAINT'
XSTR (XCVECEXP (RTX, 4, N, ASM_OPERANDS), 0)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1383:43: note: expanded from macro 'XCVECEXP'
#define XCVECEXP(RTX, N, M, C) RTVEC_ELT (XCVEC (RTX, N, C), M)
^ ~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1376:32: note: expanded from macro 'XCVEC'
#define XCVEC(RTX, N, C) (RTL_CHECKC1 (RTX, N, C).rt_rtvec)
^ ~
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1233:35: note: expanded from macro 'RTVEC_ELT'
#define RTVEC_ELT(RTVEC, I) ((RTVEC)->elem[I])
^~~~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1340:35: note: expanded from macro 'XSTR'
#define XSTR(RTX, N) (RTL_CHECK2 (RTX, N, 's', 'S').rt_str)
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:1229:39: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2) ((RTX)->u.fld[N])
^~~
../../gnu-mirror-gcc-aff95ee/gcc/rtl.h:444:5: note: array 'fld' declared here
rtunion fld[1];
^
In file included from ../../gnu-mirror-gcc-aff95ee/gcc/function-tests.c:75:
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2256:10: warning: struct 'cgraph_edge' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
friend struct cgraph_edge;
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2256:10: note: did you mean class here?
friend struct cgraph_edge;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-aff95ee/gcc/function.c:6737:
./gt-function.h:25:3: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * const x = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:25:3: note: did you mean class here?
struct temp_slot * const x = (struct temp_slot *)x_p;
^~~~~~
class
./gt-function.h:25:33: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * const x = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:25:33: note: did you mean class here?
struct temp_slot * const x = (struct temp_slot *)x_p;
^~~~~~
class
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2664:32: warning: struct 'cgraph_edge' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
void initialize_inline_failed (struct cgraph_edge *);
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2664:32: note: did you mean class here?
void initialize_inline_failed (struct cgraph_edge *);
^~~~~~
class
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2665:28: warning: struct 'cgraph_edge' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-aff95ee/gcc/cgraph.h:2665:28: note: did you mean class here?
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
^~~~~~
class
./gt-function.h:116:3: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * const x = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:116:3: note: did you mean class here?
struct temp_slot * const x = (struct temp_slot *)x_p;
^~~~~~
class
./gt-function.h:116:33: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * const x = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:116:33: note: did you mean class here?
struct temp_slot * const x = (struct temp_slot *)x_p;
^~~~~~
class
./gt-function.h:210:3: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * x ATTRIBUTE_UNUSED = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:210:3: note: did you mean class here?
struct temp_slot * x ATTRIBUTE_UNUSED = (struct temp_slot *)x_p;
^~~~~~
class
./gt-function.h:210:44: warning: struct 'temp_slot' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct temp_slot * x ATTRIBUTE_UNUSED = (struct temp_slot *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/function.c:560:15: note: previous use is here
class GTY(()) temp_slot {
^
./gt-function.h:210:44: note: did you mean class here?
struct temp_slot * x ATTRIBUTE_UNUSED = (struct temp_slot *)x_p;
^~~~~~
class
./gt-function.h:250: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<insn_cache_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<insn_cache_hasher> *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-function.h:250:3: note: did you mean class here?
struct hash_table<insn_cache_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<insn_cache_hasher> *)x_p;
^~~~~~
class
./gt-function.h:250:64: 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<insn_cache_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<insn_cache_hasher> *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-function.h:250:64: note: did you mean class here?
struct hash_table<insn_cache_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<insn_cache_hasher> *)x_p;
^~~~~~
class
./gt-function.h:290: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<temp_address_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<temp_address_hasher> *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-function.h:290:3: note: did you mean class here?
struct hash_table<temp_address_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<temp_address_hasher> *)x_p;
^~~~~~
class
./gt-function.h:290:66: 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<temp_address_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<temp_address_hasher> *)x_p;
^
../../gnu-mirror-gcc-aff95ee/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-function.h:290:66: note: did you mean class here?
struct hash_table<temp_address_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<temp_address_hasher> *)x_p;
^~~~~~
class
112 warnings generated.
132 warnings generated.
In file included from ../../gnu-mirror-gcc-aff95ee/gcc/function.c:51:
../../gnu-mirror-gcc-aff95ee/gcc/recog.h:301:30: error: too many arguments to function call, expected 1, have 2
return ((funcptr) func) (args...);
~~~~~~~~~~~~~~~~ ^~~~
../../gnu-mirror-gcc-aff95ee/gcc/function.c:3315:29: note: in instantiation of function template specialization 'insn_gen_fn::operator()<rtx_def *, rtx_def *>' requested here
emit_insn (GEN_FCN (icode) (parmreg, validated_mem));
^
184 warnings and 1 error generated.
gmake[2]: *** [Makefile:1123: function.o] Error 1
123 warnings generated.
132 warnings generated.
242 warnings generated.
rm gcov.pod gpl.pod gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod cpp.pod
gmake[2]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1/build/gcc'
gmake[1]: *** [Makefile:4402: all-gcc] Error 2
gmake[1]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1/build'
gmake: *** [Makefile:964: all] Error 2
shell cmd failed: /bin/sh -ex /usr/home/user/rtems-source-builder/rtems/build/epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1/do-build
error: building epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
See error report: rsb-report-epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 6/rtems-epiphany
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: 5.016GB (sources: 5.015GB, patches: 548.931KB, installed 0.000B)
Build Set: Time 0:00:05.075411
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: 5.021GB (sources: 5.015GB, patches: 548.931KB, installed 5.285MB)
Build Set: Time 0:00:06.562552
Build Set: Time 0:00:11.641702
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.059KB)
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: tools/rtems-binutils-head.cfg
package: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1
building: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1
sizes: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1: 403.160MB (installed: 28.760MB)
cleaning: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1
reporting: tools/rtems-binutils-head.cfg -> epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-binutils-head.cfg -> epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
building: epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
error: building epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
Build FAILED
See error report: rsb-report-epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1.txt
error: building epiphany-rtems6-gcc-aff95ee-newlib-a97bdf1-x86_64-freebsd12.1-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jun 18 08:04:01 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: 429cab509bbaf3e04ff4436ef793a16a60c988c9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 epiphany-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/5 --bindir=/usr/local/rtems/5/bin --exec-prefix=/usr/local/rtems/5 --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/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> Thu Jun 18 08:04:01 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: 429cab509bbaf3e04ff4436ef793a16a60c988c9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 epiphany-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/5 --bindir=/usr/local/rtems/5/bin --exec-prefix=/usr/local/rtems/5 --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/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> Thu Jun 18 08:04:39 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 429cab509bbaf3e04ff4436ef793a16a60c988c9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v581bea2 for target epiphany-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
581bea2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-581bea2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/581bea2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-581bea2
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 "epiphany-rtems6" -o "x86_64-freebsd12.1" == "epiphany-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=epiphany-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/5 --bindir=/usr/local/rtems/5/bin --exec-prefix=/usr/local/rtems/5 --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/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/usr/local/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jun 18 08:04:39 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 429cab509bbaf3e04ff4436ef793a16a60c988c9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: epiphany-rtems6-binutils-581bea2-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v581bea2 for target epiphany-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
581bea2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-581bea2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/581bea2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-581bea2
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 "epiphany-rtems6" -o "x86_64-freebsd12.1" == "epiphany-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=epiphany-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/5 --bindir=/usr/local/rtems/5/bin --exec-prefix=/usr/local/rtems/5 --includedir=/usr/local/rtems/5/include --libdir=/usr/local/rtems/5/lib --mandir=/usr/local/rtems/5/share/man --infodir=/usr/local/rtems/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/usr/local/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/usr/local/rtems/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/usr/local/rtems/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/epiphany-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/epiphany-rtems6-windmc*
fi
cd ${build_top}
More information about the build
mailing list