Build FreeBSD: FAILED 6/rtems-microblaze on x86_64-freebsd12.1 (microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Tue Feb 4 12:49:15 UTC 2020
RTEMS Source Builder - Set Builder, 5 (f81b0a519f36)
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:13.949185
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/engine.cc:2965:13: error: reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
v.m_fun = reinterpret_cast<function *> (NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/engine.cc:2977:21: error: reinterpret_cast from 'nullptr_t' to 'function *' is not allowed
return v.m_fun == reinterpret_cast<function *> (NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 warnings generated.
/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/6/rtems-microblaze/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 -DHAVE_CONFIG_H -I. -Ianalyzer -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/../include -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/../libcpp/include -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/build/./gmp -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/gnu-mirror-gcc-5bc9d2f5ed4/gmp -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/build
/./mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/gnu-mirror-gcc-5bc9d2f5ed4/mpfr/src -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/gnu-mirror-gcc-5bc9d2f5ed4/mpc/src -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/../libdecnumber -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/../libbacktrace -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/build/./isl/include -I/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/gnu-mirror-gcc-5bc9d2f5ed4/isl/include -o analyzer/sm-pattern-test.o -MT analyzer/sm-pattern-test.o -MMD -MP -MF analyzer/.deps/sm-pattern-test.TPo ../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/sm-pattern-test.cc
warning: unknown warning option '-Werror=format-diag' [-Wunknown-warning-option]
In file included from ../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/engine.cc:56:
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/exploded-graph.h:674:25: warning: private field 'm_eg' is not used [-Wunused-private-field]
const exploded_graph &m_eg;
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/engine.cc:3413:32: warning: private field 'm_call_sedge' is not used [-Wunused-private-field]
const call_superedge * const m_call_sedge;
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/engine.cc:3434:21: warning: private field 'm_sg' is not used [-Wunused-private-field]
const supergraph &m_sg;
^
28 warnings and 2 errors generated.
gmake[2]: *** [Makefile:1116: analyzer/engine.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from ../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/sm-malloc.cc:27:
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2609:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2659:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2679:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2696:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2713:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2733:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &ass->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2743:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3105:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3138:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = fn;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3148:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR,
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3209:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3225:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &call_stmt->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3233:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
call_stmt->op[2] = chain;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3615:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3651:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3661:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3671:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3681:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
25 warnings generated.
In file included from ../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/sm-file.cc:27:
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2609:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2659:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2679:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2696:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2713:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2733:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &ass->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2743:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3105:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3138:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = fn;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3148:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR,
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3209:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3225:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &call_stmt->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3233:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
call_stmt->op[2] = chain;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3615:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3651:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3661:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3671:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3681:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
25 warnings generated.
In file included from ../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/analyzer/sm-pattern-test.cc:29:
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2609:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2659:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2679:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2696:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2713:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2733:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &ass->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:2743:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:347:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3105:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3138:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = fn;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3148:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR,
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3209:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3225:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return &call_stmt->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3233:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
call_stmt->op[2] = chain;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:372:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3615:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[1];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3641:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[1] = rhs;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3651:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[2];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3661:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[2] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3671:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
gs->op[3] = label;
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:3681:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
return gs->op[3];
^ ~
../../gnu-mirror-gcc-5bc9d2f5ed4/gcc/gimple.h:316:3: note: array 'op' declared here
tree GTY((length ("%h.num_ops"))) op[1];
^
21 warnings generated.
240 warnings generated.
21 warnings generated.
21 warnings generated.
25 warnings generated.
rm gcov.pod fsf-funding.pod gpl.pod cpp.pod gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod
gmake[2]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/build/gcc'
gmake[1]: *** [Makefile:4364: all-gcc] Error 2
gmake[1]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/build'
gmake: *** [Makefile:962: all] Error 2
shell cmd failed: /bin/sh -ex /usr/home/user/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1/do-build
error: building microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
See error report: rsb-report-microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 6/rtems-microblaze
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: 2.629GB (sources: 2.628GB, patches: 542.267KB, installed 0.000B)
Build Set: Time 0:00:04.863772
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: 2.634GB (sources: 2.628GB, patches: 542.267KB, installed 5.285MB)
Build Set: Time 0:00:06.617836
Build Set: Time 0:00:11.485233
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.061KB)
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: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1
building: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1
sizes: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1: 398.610MB (installed: 13.600MB)
cleaning: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1
reporting: tools/rtems-gdb-head.cfg -> microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-gdb-head.cfg -> microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1.xml
config: tools/rtems-binutils-head.cfg
package: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1
building: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1
sizes: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1: 398.674MB (installed: 27.824MB)
cleaning: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1
reporting: tools/rtems-binutils-head.cfg -> microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1.txt
reporting: tools/rtems-binutils-head.cfg -> microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
building: microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
error: building microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
Build FAILED
See error report: rsb-report-microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1.txt
error: building microblaze-rtems6-gcc-5bc9d2f5ed4-newlib-ac1ccc29e-x86_64-freebsd12.1-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb 4 13:47:28 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 microblaze-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 Feb 4 13:47:28 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 microblaze-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 Feb 4 13:49:08 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v24872cb3021 for target microblaze-rtems6 on host x86_64-freebsd12.1
URL:
http://www.gnu.org/software/gdb/
Version:
24872cb3021
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-24872cb3021.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/24872cb3021
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-24872cb3021
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 "microblaze-rtems6" -o "x86_64-freebsd12.1" == "microblaze-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=microblaze-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 Feb 4 13:49:08 2020
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-24872cb3021-x86_64-freebsd12.1-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v24872cb3021 for target microblaze-rtems6 on host x86_64-freebsd12.1
URL:
http://www.gnu.org/software/gdb/
Version:
24872cb3021
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-24872cb3021.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/24872cb3021
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-24872cb3021
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 "microblaze-rtems6" -o "x86_64-freebsd12.1" == "microblaze-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=microblaze-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 Feb 4 13:49:47 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v24872cb3021 for target microblaze-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
24872cb3021
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-24872cb3021.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/24872cb3021
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-24872cb3021
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 "microblaze-rtems6" -o "x86_64-freebsd12.1" == "microblaze-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=microblaze-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/microblaze-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Feb 4 13:49:47 2020
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
2: main: https://main.eb.localhost/gitlab/eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: f81b0a519f36f455362a617672da26863a0eec61
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-24872cb3021-x86_64-freebsd12.1-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v24872cb3021 for target microblaze-rtems6 on host x86_64-freebsd12.1
URL:
http://sources.redhat.com/binutils
Version:
24872cb3021
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-24872cb3021.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/24872cb3021
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-24872cb3021
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 "microblaze-rtems6" -o "x86_64-freebsd12.1" == "microblaze-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=microblaze-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/microblaze-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/usr/local/rtems/5/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/usr/local/rtems/5/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
More information about the build
mailing list