Build FreeBSD: FAILED 6/rtems-moxie on x86_64-freebsd12.1 (moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Tue Jun 2 11:59:01 UTC 2020
RTEMS Source Builder - Set Builder, 5 (0e5ef6355b99)
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:05:35.041605
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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]
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/pt.c:29458:
./gt-cp-pt.h:265: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<spec_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<spec_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-pt.h:265:3: note: did you mean class here?
struct hash_table<spec_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<spec_hasher> *)x_p;
^~~~~~
class
./gt-cp-pt.h:265:58: 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<spec_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<spec_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-pt.h:265:58: note: did you mean class here?
struct hash_table<spec_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<spec_hasher> *)x_p;
^~~~~~
class
./gt-cp-pt.h:283:3: warning: struct 'hash_map' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct hash_map<tree,tree_pair_p> * x ATTRIBUTE_UNUSED = (struct hash_map<tree,tree_pair_p> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-map.h:39:19: note: previous use is here
class GTY((user)) hash_map
^
./gt-cp-pt.h:283:3: note: did you mean class here?
struct hash_map<tree,tree_pair_p> * x ATTRIBUTE_UNUSED = (struct hash_map<tree,tree_pair_p> *)x_p;
^~~~~~
class
./gt-cp-pt.h:283:61: warning: struct 'hash_map' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct hash_map<tree,tree_pair_p> * x ATTRIBUTE_UNUSED = (struct hash_map<tree,tree_pair_p> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-map.h:39:19: note: previous use is here
class GTY((user)) hash_map
^
./gt-cp-pt.h:283:61: note: did you mean class here?
struct hash_map<tree,tree_pair_p> * x ATTRIBUTE_UNUSED = (struct hash_map<tree,tree_pair_p> *)x_p;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/semantics.c:33:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:903:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/gcc/coretypes.h:144:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/semantics.c:33:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2256:10: note: did you mean class here?
friend struct cgraph_edge;
^~~~~~
class
1 warning generated.
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2664:32: note: did you mean class here?
void initialize_inline_failed (struct cgraph_edge *);
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2665:28: note: did you mean class here?
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
^~~~~~
class
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/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. -Icp -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/cp -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/m
oxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o cp/tree.o -MT cp/tree.o -MMD -MP -MF cp/.deps/tree.TPo ../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c
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]
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/semantics.c:38:
../../gnu-mirror-gcc-6fb9324/gcc/tree-inline.h:25:1: 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]
struct cgraph_edge;
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/tree-inline.h:25:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
1 warning generated.
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-moxie/usr/local/rtems/5/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. -Icp -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/cp -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/m
oxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o cp/typeck.o -MT cp/typeck.o -MMD -MP -MF cp/.deps/typeck.TPo ../../gnu-mirror-gcc-6fb9324/gcc/cp/typeck.c
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/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. -Icp -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/cp -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/m
oxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o cp/typeck2.o -MT cp/typeck2.o -MMD -MP -MF cp/.deps/typeck2.TPo ../../gnu-mirror-gcc-6fb9324/gcc/cp/typeck2.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
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]
warning: unknown warning option '-Werror=format-diag' [-Wunknown-warning-option]
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:27:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:903:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/gcc/coretypes.h:144:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:27:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2256:10: note: did you mean class here?
friend struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2664:32: note: did you mean class here?
void initialize_inline_failed (struct cgraph_edge *);
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2665:28: note: did you mean class here?
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:31:
../../gnu-mirror-gcc-6fb9324/gcc/tree-inline.h:25:1: 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]
struct cgraph_edge;
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/tree-inline.h:25:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:3307:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
va_start (p, code);
^
../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:3298:50: note: parameter of type 'enum tree_code' is declared here
build_min_nt_loc (location_t loc, enum tree_code code, ...)
^
5 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/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. -Icp -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/cp -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/m
oxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o cp/vtable-class-hierarchy.o -MT cp/vtable-class-hierarchy.o -MMD -MP -MF cp/.deps/vtable-class-hierarchy.TPo ../../gnu-mirror-gcc-6fb9324/gcc/cp/vtable-class-hierarchy.c
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]
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/typeck2.c:2584:
./gt-cp-typeck2.h:149: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<abstract_type_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<abstract_type_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-typeck2.h:149:3: note: did you mean class here?
struct hash_table<abstract_type_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<abstract_type_hasher> *)x_p;
^~~~~~
class
./gt-cp-typeck2.h:149:67: 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<abstract_type_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<abstract_type_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-typeck2.h:149:67: note: did you mean class here?
struct hash_table<abstract_type_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<abstract_type_hasher> *)x_p;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/tree.c:5878:
./gt-cp-tree.h:2919: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<named_label_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_label_hash> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2919:3: note: did you mean class here?
struct hash_table<named_label_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_label_hash> *)x_p;
^~~~~~
class
./gt-cp-tree.h:2919:63: warning: struct 'hash_table' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct hash_table<named_label_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_label_hash> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2919:63: note: did you mean class here?
struct hash_table<named_label_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_label_hash> *)x_p;
^~~~~~
class
./gt-cp-tree.h:2937: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<cxx_int_tree_map_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cxx_int_tree_map_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2937:3: note: did you mean class here?
struct hash_table<cxx_int_tree_map_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cxx_int_tree_map_hasher> *)x_p;
^~~~~~
class
./gt-cp-tree.h:2937:70: 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<cxx_int_tree_map_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cxx_int_tree_map_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2937:70: note: did you mean class here?
struct hash_table<cxx_int_tree_map_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cxx_int_tree_map_hasher> *)x_p;
^~~~~~
class
./gt-cp-tree.h:2988: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<named_decl_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_decl_hash> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2988:3: note: did you mean class here?
struct hash_table<named_decl_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_decl_hash> *)x_p;
^~~~~~
class
./gt-cp-tree.h:2988:62: 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<named_decl_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_decl_hash> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:2988:62: note: did you mean class here?
struct hash_table<named_decl_hash> * x ATTRIBUTE_UNUSED = (struct hash_table<named_decl_hash> *)x_p;
^~~~~~
class
./gt-cp-tree.h:3006: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<cplus_array_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cplus_array_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:3006:3: note: did you mean class here?
struct hash_table<cplus_array_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cplus_array_hasher> *)x_p;
^~~~~~
class
./gt-cp-tree.h:3006:65: 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<cplus_array_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cplus_array_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:3006:65: note: did you mean class here?
struct hash_table<cplus_array_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<cplus_array_hasher> *)x_p;
^~~~~~
class
./gt-cp-tree.h:3024: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<list_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<list_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:3024:3: note: did you mean class here?
struct hash_table<list_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<list_hasher> *)x_p;
^~~~~~
class
./gt-cp-tree.h:3024:58: 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<list_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<list_hasher> *)x_p;
^
../../gnu-mirror-gcc-6fb9324/gcc/hash-table.h:374:7: note: previous use is here
class hash_table
^
./gt-cp-tree.h:3024:58: note: did you mean class here?
struct hash_table<list_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<list_hasher> *)x_p;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/vtable-class-hierarchy.c:119:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:903:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/gcc/coretypes.h:144:1: note: did you mean class here?
struct cgraph_edge;
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/vtable-class-hierarchy.c:119:
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2256:10: note: did you mean class here?
friend struct cgraph_edge;
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2664:32: note: did you mean class here?
void initialize_inline_failed (struct cgraph_edge *);
^~~~~~
class
../../gnu-mirror-gcc-6fb9324/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-6fb9324/gcc/cgraph.h:1742:16: note: previous use is here
for_user)) cgraph_edge
^
../../gnu-mirror-gcc-6fb9324/gcc/cgraph.h:2665:28: note: did you mean class here?
bool speculation_useful_p (struct cgraph_edge *e, bool anticipate_inlining);
^~~~~~
class
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/cp/vtable-class-hierarchy.c:120:
../../gnu-mirror-gcc-6fb9324/gcc/output.h:129:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes]
ATTRIBUTE_ASM_FPRINTF(2, 3);
^
../../gnu-mirror-gcc-6fb9324/gcc/output.h:119:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
^
3 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/include -fno-PIE -c -I../../gnu-mirror-gcc-6fb9324/gcc/../zlib -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-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-sourc
e-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o gcov.o -MT gcov.o -MMD -MP -MF ./.deps/gcov.TPo ../../gnu-mirror-gcc-6fb9324/gcc/gcov.c
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]
6 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/include -fno-PIE -c -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-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb
9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o gcov-dump.o -MT gcov-dump.o -MMD -MP -MF ./.deps/gcov-dump.TPo ../../gnu-mirror-gcc-6fb9324/gcc/gcov-dump.c
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]
7 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-moxie/usr/local/rtems/5/include -fno-PIE -c -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-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb
9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o gcov-tool.o -MT gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo ../../gnu-mirror-gcc-6fb9324/gcc/gcov-tool.c
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-moxie/usr/local/rtems/5/include -fno-PIE -c -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 -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtem
s6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -I. -I. -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home
/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-sour
ce-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -o libgcov-util.o ../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov-util.c
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-moxie/usr/local/rtems/5/include -fno-PIE -c -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 -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtem
s6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include -I. -I. -I../../gnu-mirror-gcc-6fb9324/gcc -I../../gnu-mirror-gcc-6fb9324/gcc/. -I../../gnu-mirror-gcc-6fb9324/gcc/../include -I../../gnu-mirror-gcc-6fb9324/gcc/../libcpp/include -I/usr/home
/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/gmp -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/mpc/src -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-6fb9324/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-sour
ce-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/gnu-mirror-gcc-6fb9324/isl/include \
-DIN_GCOV_TOOL=1 -o libgcov-driver-tool.o ../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov-driver.c
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]
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov-util.c:30:
../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov.h:396:51: error: cannot initialize a parameter of type 'gcov_type' (aka 'long') with an rvalue of type 'nullptr_t'
return !__sync_val_compare_and_swap (counter, NULL, (intptr_t)node);
^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL nullptr
^~~~~~~
1 warning and 1 error generated.
gmake[2]: *** [Makefile:3034: libgcov-util.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from ../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov-driver.c:26:
../../gnu-mirror-gcc-6fb9324/gcc/../libgcc/libgcov.h:396:51: error: cannot initialize a parameter of type 'gcov_type' (aka 'long') with an rvalue of type 'nullptr_t'
return !__sync_val_compare_and_swap (counter, NULL, (intptr_t)node);
^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL nullptr
^~~~~~~
1 warning and 1 error generated.
gmake[2]: *** [Makefile:3036: libgcov-driver-tool.o] Error 1
17 warnings generated.
1 warning generated.
6 warnings generated.
1 warning generated.
5 warnings generated.
5 warnings generated.
rm fsf-funding.pod gfdl.pod gpl.pod cpp.pod gcc.pod gcov.pod gcov-dump.pod gcov-tool.pod
gmake[2]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/moxie-rtems6-gcc-6fb9324-newlib-8873f07-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/moxie-rtems6-gcc-6fb9324-newlib-8873f07-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/moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1/do-build
error: building moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
See error report: rsb-report-moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 6/rtems-moxie
config: devel/dtc-1.4.1-1.cfg
package: dtc-1.4.1-x86_64-freebsd12.1-1
building: dtc-1.4.1-x86_64-freebsd12.1-1
sizes: dtc-1.4.1-x86_64-freebsd12.1-1: 3.099MB (installed: 884.972KB)
cleaning: dtc-1.4.1-x86_64-freebsd12.1-1
reporting: devel/dtc-1.4.1-1.cfg -> dtc-1.4.1-x86_64-freebsd12.1-1.txt
reporting: devel/dtc-1.4.1-1.cfg -> dtc-1.4.1-x86_64-freebsd12.1-1.xml
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: 4.474GB (sources: 4.473GB, patches: 548.931KB, installed 0.000B)
Build Set: Time 0:00:04.939762
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: 4.479GB (sources: 4.473GB, patches: 548.931KB, installed 5.285MB)
Build Set: Time 0:00:06.526346
Build Set: Time 0:00:11.470001
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.056KB)
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-gdb-head.cfg
package: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1
building: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1
sizes: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1: 401.387MB (installed: 13.748MB)
cleaning: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1
reporting: tools/rtems-gdb-head.cfg -> moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-gdb-head.cfg -> moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1.xml
config: tools/rtems-binutils-head.cfg
package: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1
building: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1
sizes: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1: 401.032MB (installed: 27.912MB)
cleaning: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1
reporting: tools/rtems-binutils-head.cfg -> moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-binutils-head.cfg -> moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
building: moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
error: building moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
Build FAILED
See error report: rsb-report-moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1.txt
error: building moxie-rtems6-gcc-6fb9324-newlib-8873f07-x86_64-freebsd12.1-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:00:51 2020
==============================================================================
Report: devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.4.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.4.1-x86_64-freebsd12.1-1
Config: devel/dtc-1.4.1-1.cfg
Summary:
Device Tree Compiler v1.4.1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
https://www.devicetree.org/
Version:
1.4.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.1.tar.gz
sha256: 03e74e4ee9378be15f19eb24197dfa32070efc3c85e93269e56d7ade133e359f
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.4.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.4.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
gmake PREFIX=/usr/local/rtems/5
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.4.1
gmake DESTDIR=$SB_BUILD_ROOT PREFIX=/usr/local/rtems/5 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:00:51 2020
==============================================================================
Report: devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.4.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.4.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.4.1-x86_64-freebsd12.1-1
Config: devel/dtc-1.4.1-1.cfg
Summary:
Device Tree Compiler v1.4.1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
https://www.devicetree.org/
Version:
1.4.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.1.tar.gz
sha256: 03e74e4ee9378be15f19eb24197dfa32070efc3c85e93269e56d7ade133e359f
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.4.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.4.1
# Build and build flags means force build == host
# gcc is not ready to be compiled with -std=gnu99
LDFLAGS="${SB_HOST_LDFLAGS}"
LIBS="${SB_HOST_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS
gmake PREFIX=/usr/local/rtems/5
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.4.1
gmake DESTDIR=$SB_BUILD_ROOT PREFIX=/usr/local/rtems/5 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:01:06 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: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 moxie-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> Tue Jun 2 14:01:06 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: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 moxie-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> Tue Jun 2 14:02:49 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v0bee4d1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
http://www.gnu.org/software/gdb/
Version:
0bee4d1
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-0bee4d1.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/0bee4d1
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-0bee4d1
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 "moxie-rtems6" -o "x86_64-freebsd12.1" == "moxie-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=moxie-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/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)
/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
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:02:49 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-gdb-0bee4d1-x86_64-freebsd12.1-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v0bee4d1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
http://www.gnu.org/software/gdb/
Version:
0bee4d1
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-0bee4d1.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/0bee4d1
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-0bee4d1
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 "moxie-rtems6" -o "x86_64-freebsd12.1" == "moxie-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=moxie-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/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)
/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
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:03:28 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v0bee4d1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
0bee4d1
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-0bee4d1.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/0bee4d1
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-0bee4d1
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 "moxie-rtems6" -o "x86_64-freebsd12.1" == "moxie-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=moxie-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/moxie-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jun 2 14:03:28 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Clean
Head:
Commit: 0e5ef6355b99619c7b803c96e92825dbb52a02e7
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: moxie-rtems6-binutils-0bee4d1-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v0bee4d1 for target moxie-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
0bee4d1
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-0bee4d1.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/0bee4d1
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-0bee4d1
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 "moxie-rtems6" -o "x86_64-freebsd12.1" == "moxie-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=moxie-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/moxie-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/moxie-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/moxie-rtems6-windmc*
fi
cd ${build_top}
More information about the build
mailing list