Build Linux: FAILED 7/rtems-riscv on x86_64-linux-gnu (riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1)
joel at rtems.org
joel at rtems.org
Mon Jan 31 05:42:47 UTC 2022
RTEMS Source Builder - Set Builder, 6 (09b84c4c2ab1 modified)
Host: Linux-3.10.0-1160.49.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
Linux devel.oarcorp.com 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30
15:51:32 UTC 2021 x86_64 x86_64
Build Time: 0:11:21.649316
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CC lib_a-sf_log2_data.o
CC lib_a-sf_log2.o
CC lib_a-sf_pow_log2_data.o
CC lib_a-sf_pow.o
CC lib_a-sinf.o
CC lib_a-cosf.o
CC lib_a-sincosf.o
CC lib_a-sincosf_data.o
CC lib_a-atanl.o
CC lib_a-math_errf.o
CC lib_a-cosl.o
CC lib_a-sinl.o
CC lib_a-tanl.o
CC lib_a-tanhl.o
CC lib_a-frexpl.o
CC lib_a-modfl.o
CC lib_a-ceill.o
CC lib_a-fabsl.o
CC lib_a-floorl.o
CC lib_a-log1pl.o
CC lib_a-expm1l.o
CC lib_a-acosl.o
CC lib_a-atan2l.o
CC lib_a-asinl.o
CC lib_a-coshl.o
CC lib_a-sinhl.o
CC lib_a-expl.o
CC lib_a-ldexpl.o
CC lib_a-logl.o
CC lib_a-log10l.o
CC lib_a-powl.o
CC lib_a-sqrtl.o
CC lib_a-fmodl.o
CC lib_a-hypotl.o
CC lib_a-copysignl.o
CC lib_a-nanl.o
CC lib_a-ilogbl.o
CC lib_a-asinhl.o
CC lib_a-cbrtl.o
CC lib_a-nextafterl.o
CC lib_a-rintl.o
CC lib_a-scalbnl.o
CC lib_a-exp2l.o
CC lib_a-scalblnl.o
CC lib_a-tgammal.o
CC lib_a-nearbyintl.o
CC lib_a-lrintl.o
CC lib_a-llrintl.o
CC lib_a-roundl.o
CC lib_a-lroundl.o
CC lib_a-llroundl.o
CC lib_a-truncl.o
CC lib_a-remquol.o
CC lib_a-fdiml.o
CC lib_a-fmaxl.o
CC lib_a-fminl.o
CC lib_a-fmal.o
CC lib_a-acoshl.o
CC lib_a-atanhl.o
CC lib_a-remainderl.o
CC lib_a-lgammal.o
CC lib_a-erfl.o
CC lib_a-erfcl.o
CC lib_a-logbl.o
CC lib_a-nexttowardf.o
CC lib_a-nexttoward.o
CC lib_a-nexttowardl.o
CC lib_a-log2l.o
CC lib_a-sl_finite.o
AR lib.a
/home/joel/rtems-work/tools/7/riscv-rtems7/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/common'
Making all in complex
make[5]: Entering directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/complex'
CC lib_a-cabs.o
CC lib_a-cacos.o
CC lib_a-cacosh.o
CC lib_a-carg.o
CC lib_a-casin.o
CC lib_a-casinh.o
CC lib_a-catan.o
CC lib_a-catanh.o
CC lib_a-ccos.o
CC lib_a-ccosh.o
CC lib_a-cephes_subr.o
CC lib_a-cexp.o
CC lib_a-cimag.o
CC lib_a-clog.o
CC lib_a-conj.o
CC lib_a-clog10.o
CC lib_a-cpow.o
CC lib_a-cproj.o
CC lib_a-creal.o
CC lib_a-csin.o
CC lib_a-csinh.o
CC lib_a-csqrt.o
CC lib_a-ctan.o
CC lib_a-ctanh.o
CC lib_a-cabsf.o
CC lib_a-casinf.o
CC lib_a-ccosf.o
CC lib_a-cimagf.o
CC lib_a-cprojf.o
CC lib_a-csqrtf.o
CC lib_a-cacosf.o
CC lib_a-casinhf.o
CC lib_a-ccoshf.o
CC lib_a-clogf.o
CC lib_a-clog10f.o
CC lib_a-crealf.o
CC lib_a-ctanf.o
CC lib_a-cacoshf.o
CC lib_a-catanf.o
CC lib_a-cephes_subrf.o
CC lib_a-conjf.o
CC lib_a-csinf.o
CC lib_a-ctanhf.o
CC lib_a-cargf.o
CC lib_a-catanhf.o
CC lib_a-cexpf.o
CC lib_a-cpowf.o
CC lib_a-csinhf.o
CC lib_a-cabsl.o
CC lib_a-creall.o
CC lib_a-cimagl.o
CC lib_a-ccoshl.o
CC lib_a-cacoshl.o
CC lib_a-clogl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccoshl.c: In function 'ccoshl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccoshl.c:43:13: warning: implicit declaration of function 'coshl'; did you mean 'ccoshl'? [-Wimplicit-function-declaration]
43 | w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;
| ^~~~~
| ccoshl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccoshl.c:43:24: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
43 | w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccoshl.c:43:35: warning: implicit declaration of function 'sinhl'; did you mean 'sinhf'? [-Wimplicit-function-declaration]
43 | w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;
| ^~~~~
| sinhf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccoshl.c:43:46: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
43 | w = coshl(x) * cosl(y) + (sinhl(x) * sinl(y)) * I;
| ^~~~
| sinf
CC lib_a-csqrtl.o
CC lib_a-cargl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/clogl.c: In function 'clogl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/clogl.c:42:13: warning: implicit declaration of function 'logl'; did you mean 'logf'? [-Wimplicit-function-declaration]
42 | p = logl(rr);
| ^~~~
| logf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/clogl.c:43:14: warning: implicit declaration of function 'atan2l'; did you mean 'atan2f'? [-Wimplicit-function-declaration]
43 | rr = atan2l(cimagl(z), creall(z));
| ^~~~~~
| atan2f
CC lib_a-cprojl.o
CC lib_a-cexpl.o
CC lib_a-cephes_subrl.o
CC lib_a-cacosl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csqrtl.c: In function 'csqrtl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csqrtl.c:80:40: warning: implicit declaration of function 'fabsl'; did you mean 'fabsf'? [-Wimplicit-function-declaration]
80 | return (cpackl(fabsl(b - b), copysignl(a, b)));
| ^~~~~
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csqrtl.c:50:24: note: in definition of macro 'cpackl'
50 | #define cpackl(r, i) ((r) + (i) * I)
| ^
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csqrtl.c:80:54: warning: implicit declaration of function 'copysignl'; did you mean 'copysignf'? [-Wimplicit-function-declaration]
80 | return (cpackl(fabsl(b - b), copysignl(a, b)));
| ^~~~~~~~~
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csqrtl.c:50:30: note: in definition of macro 'cpackl'
50 | #define cpackl(r, i) ((r) + (i) * I)
| ^
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cargl.c: In function 'cargl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cargl.c:16:17: warning: implicit declaration of function 'atan2l'; did you mean 'atan2f'? [-Wimplicit-function-declaration]
16 | return atan2l (cimagl (z), creall (z));
| ^~~~~~
| atan2f
CC lib_a-ccosl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cephes_subrl.c: In function '_cchshl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cephes_subrl.c:43:13: warning: implicit declaration of function 'fabsl'; did you mean 'fabsf'? [-Wimplicit-function-declaration]
43 | if (fabsl(x) <= 0.5L) {
| ^~~~~
| fabsf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cexpl.c: In function 'cexpl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cephes_subrl.c:44:22: warning: implicit declaration of function 'coshl'; did you mean 'coshf'? [-Wimplicit-function-declaration]
44 | *c = coshl(x);
| ^~~~~
| coshf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cexpl.c:43:13: warning: implicit declaration of function 'expl'; did you mean 'cexpl'? [-Wimplicit-function-declaration]
43 | r = expl(x);
| ^~~~
| cexpl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cephes_subrl.c:45:22: warning: implicit declaration of function 'sinhl'; did you mean 'sinhf'? [-Wimplicit-function-declaration]
45 | *s = sinhl(x);
| ^~~~~
| sinhf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cephes_subrl.c:47:21: warning: implicit declaration of function 'expl'; did you mean 'expf'? [-Wimplicit-function-declaration]
47 | e = expl(x);
| ^~~~
| expf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cexpl.c:44:17: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
44 | w = r * cosl(y) + r * sinl(y) * I;
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cexpl.c:44:31: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
44 | w = r * cosl(y) + r * sinl(y) * I;
| ^~~~
| sinf
CC lib_a-casinl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cprojl.c: In function 'cprojl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cprojl.c:60:32: warning: implicit declaration of function 'copysignl'; did you mean 'copysignf'? [-Wimplicit-function-declaration]
60 | IMAG_PART(w) = copysignl(0.0L, cimagl(z));
| ^~~~~~~~~
| copysignf
CC lib_a-catanhl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccosl.c: In function 'ccosl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccosl.c:43:13: warning: implicit declaration of function 'cosl'; did you mean 'ccosl'? [-Wimplicit-function-declaration]
43 | w = cosl(creall(z)) * ch - (sinl(creall(z)) * sh) * I;
| ^~~~
| ccosl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ccosl.c:43:37: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
43 | w = cosl(creall(z)) * ch - (sinl(creall(z)) * sh) * I;
| ^~~~
| sinf
CC lib_a-conjl.o
CC lib_a-cpowl.o
CC lib_a-ctanhl.o
CC lib_a-ctanl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c: In function 'cpowl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c:48:13: warning: implicit declaration of function 'powl'; did you mean 'cpowl'? [-Wimplicit-function-declaration]
48 | r = powl(absa, x);
| ^~~~
| cpowl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c:51:25: warning: implicit declaration of function 'expl'; did you mean 'expf'? [-Wimplicit-function-declaration]
51 | r = r * expl(-y * arga);
| ^~~~
| expf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c:52:37: warning: implicit declaration of function 'logl'; did you mean 'logf'? [-Wimplicit-function-declaration]
52 | theta = theta + y * logl(absa);
| ^~~~
| logf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c:54:17: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
54 | w = r * cosl(theta) + (r * sinl(theta)) * I;
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/cpowl.c:54:36: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
54 | w = r * cosl(theta) + (r * sinl(theta)) * I;
| ^~~~
| sinf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanhl.c: In function 'ctanhl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanhl.c:43:13: warning: implicit declaration of function 'coshl'; did you mean 'coshf'? [-Wimplicit-function-declaration]
43 | d = coshl(2.0L * x) + cosl(2.0L * y);
| ^~~~~
| coshf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanhl.c:43:31: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
43 | d = coshl(2.0L * x) + cosl(2.0L * y);
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanhl.c:44:13: warning: implicit declaration of function 'sinhl'; did you mean 'sinhf'? [-Wimplicit-function-declaration]
44 | w = sinhl(2.0L * x) / d + (sinl(2.0L * y) / d) * I;
| ^~~~~
| sinhf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanhl.c:44:38: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
44 | w = sinhl(2.0L * x) / d + (sinl(2.0L * y) / d) * I;
| ^~~~
| sinf
CC lib_a-casinhl.o
CC lib_a-csinhl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c: In function 'ctanl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c:43:13: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
43 | d = cosl(2.0L * creall(z)) + coshl(2.0L * cimagl(z));
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c:43:38: warning: implicit declaration of function 'coshl'; did you mean 'coshf'? [-Wimplicit-function-declaration]
43 | d = cosl(2.0L * creall(z)) + coshl(2.0L * cimagl(z));
| ^~~~~
| coshf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c:45:13: warning: implicit declaration of function 'fabsl'; did you mean 'fabsf'? [-Wimplicit-function-declaration]
45 | if (fabsl(d) < 0.25L)
| ^~~~~
| fabsf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c:54:13: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
54 | w = sinl(2.0L * creall(z)) / d + (sinhl(2.0L * cimagl(z)) / d) * I;
| ^~~~
| sinf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/ctanl.c:54:43: warning: implicit declaration of function 'sinhl'; did you mean 'sinhf'? [-Wimplicit-function-declaration]
54 | w = sinl(2.0L * creall(z)) / d + (sinhl(2.0L * cimagl(z)) / d) * I;
| ^~~~~
| sinhf
CC lib_a-csinl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinhl.c: In function 'csinhl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinhl.c:43:13: warning: implicit declaration of function 'sinhl'; did you mean 'csinhl'? [-Wimplicit-function-declaration]
43 | w = sinhl(x) * cosl(y) + (coshl(x) * sinl(y)) * I;
| ^~~~~
| csinhl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinhl.c:43:24: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
43 | w = sinhl(x) * cosl(y) + (coshl(x) * sinl(y)) * I;
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinhl.c:43:35: warning: implicit declaration of function 'coshl'; did you mean 'coshf'? [-Wimplicit-function-declaration]
43 | w = sinhl(x) * cosl(y) + (coshl(x) * sinl(y)) * I;
| ^~~~~
| coshf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinhl.c:43:46: warning: implicit declaration of function 'sinl'; did you mean 'sinf'? [-Wimplicit-function-declaration]
43 | w = sinhl(x) * cosl(y) + (coshl(x) * sinl(y)) * I;
| ^~~~
| sinf
CC lib_a-catanl.o
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinl.c: In function 'csinl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinl.c:43:13: warning: implicit declaration of function 'sinl'; did you mean 'csinl'? [-Wimplicit-function-declaration]
43 | w = sinl(creall(z)) * ch + (cosl(creall(z)) * sh) * I;
| ^~~~
| csinl
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/csinl.c:43:37: warning: implicit declaration of function 'cosl'; did you mean 'cosf'? [-Wimplicit-function-declaration]
43 | w = sinl(creall(z)) * ch + (cosl(creall(z)) * sh) * I;
| ^~~~
| cosf
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/catanl.c: In function 'catanl':
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/catanl.c:57:20: warning: implicit declaration of function 'atan2l'; did you mean 'atan2f'? [-Wimplicit-function-declaration]
57 | t = 0.5L * atan2l(2.0L * x, a);
| ^~~~~~
| atan2f
../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/complex/catanl.c:67:26: warning: implicit declaration of function 'logl'; did you mean 'logf'? [-Wimplicit-function-declaration]
67 | w = w + (0.25L * logl(a)) * I;
| ^~~~
| logf
AR lib.a
/home/joel/rtems-work/tools/7/riscv-rtems7/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/complex'
Making all in fenv
make[5]: Entering directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/fenv'
CC lib_a-feclearexcept.o
CC lib_a-fe_dfl_env.o
CC lib_a-fegetenv.o
CC lib_a-fegetexceptflag.o
CC lib_a-fegetround.o
CC lib_a-feholdexcept.o
CC lib_a-feraiseexcept.o
CC lib_a-fesetenv.o
CC lib_a-fesetexceptflag.o
CC lib_a-fetestexcept.o
CC lib_a-fesetround.o
CC lib_a-feupdateenv.o
AR lib.a
/home/joel/rtems-work/tools/7/riscv-rtems7/bin/ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/fenv'
Making all in machine/riscv
make[5]: Entering directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/machine/riscv'
CC lib_a-feclearexcept.o
CC lib_a-fe_dfl_env.o
CC lib_a-fegetenv.o
CC lib_a-fegetexceptflag.o
CC lib_a-fegetround.o
CC lib_a-feholdexcept.o
CC lib_a-feraiseexcept.o
CC lib_a-fesetenv.o
CC lib_a-fesetexceptflag.o
CC lib_a-fesetround.o
CC lib_a-feupdateenv.o
CC lib_a-s_fma.o
CC lib_a-fetestexcept.o
CC lib_a-e_sqrt.o
CC lib_a-sf_fma.o
CC lib_a-ef_sqrt.o
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/riscv/s_fma.c:37:10: fatal error: math_config.h: No such file or directory
37 | #include "math_config.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [lib_a-s_fma.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC lib_a-s_fmax.o
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/riscv/e_sqrt.c:37:10: fatal error: math_config.h: No such file or directory
37 | #include "math_config.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/riscv/ef_sqrt.c:37:10: fatal error: math_config.h: No such file or directory
37 | #include "math_config.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
../../../../../../gnu-mirror-gcc-40ccb47/newlib/libm/machine/riscv/sf_fma.c:37:10: fatal error: math_config.h: No such file or directory
37 | #include "math_config.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [lib_a-e_sqrt.o] Error 1
make[5]: *** [lib_a-ef_sqrt.o] Error 1
make[5]: *** [lib_a-sf_fma.o] Error 1
make[5]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm/machine/riscv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib/libm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build/riscv-rtems7/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /home/joel/rtems-work/rtems-source-builder/rtems/build/riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1/do-build
error: building riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
See error report: rsb-report-riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: 7/rtems-riscv
config: devel/dtc-1.6.1-1.cfg
package: dtc-1.6.1-x86_64-linux-gnu-1
building: dtc-1.6.1-x86_64-linux-gnu-1
sizes: dtc-1.6.1-x86_64-linux-gnu-1: 4.279MB (installed: 1.098MB)
cleaning: dtc-1.6.1-x86_64-linux-gnu-1
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-linux-gnu-1.txt
reporting: devel/dtc-1.6.1-1.cfg -> dtc-1.6.1-x86_64-linux-gnu-1.xml
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 7.636MB (installed: 1.417MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-linux-gnu-1
building: gmp-6.1.0-x86_64-linux-gnu-1
sizes: gmp-6.1.0-x86_64-linux-gnu-1: 37.384MB (installed: 5.323MB)
cleaning: gmp-6.1.0-x86_64-linux-gnu-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-head.cfg
package: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1
building: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1
sizes: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1: 1.151GB (installed: 162.896MB)
cleaning: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-head.cfg
package: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1
building: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1
sizes: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1: 687.991MB (installed: 151.916MB)
cleaning: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
building: riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
error: building riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1.txt
error: building riscv-rtems7-gcc-40ccb47-newlib-502cf4b7b5b79b83e8f41b4074212f9e27753f0b-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:31:30 2022
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-linux-gnu-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.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 "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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
make PREFIX=/home/joel/rtems-work/tools/7
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/home/joel/rtems-work/tools/7 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:31:30 2022
==============================================================================
Report: devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/dtc-1.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/dtc-1.6.1-1.cfg
------------------------------------------------------------------------------
Package: dtc-1.6.1-x86_64-linux-gnu-1
Config: devel/dtc-1.6.1-1.cfg
Summary:
Device Tree Compiler v1.6.1 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
https://www.devicetree.org/
Version:
1.6.1
Release:
1
Sources: 1
1: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
sha256: 38a6257f2c23cb9dfa1781ac4ad122d8358e1a22d33b2da0eb492c190644a376
Patches: 0
Preparation:
build_top=$(pwd)
%setup source dtc -q -n dtc-1.6.1
%setup patch dtc -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd dtc-1.6.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 "gcc ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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
make PREFIX=/home/joel/rtems-work/tools/7
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd dtc-1.6.1
make DESTDIR=$SB_BUILD_ROOT PREFIX=/home/joel/rtems-work/tools/7 install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:31:34 2022
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --verbose --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info --disable-shared
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:31:34 2022
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --verbose --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info --disable-shared
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:32:04 2022
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
Config: devel/gmp-6.1.0.cfg
Summary:
The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
https://gmplib.org/
Version:
6.1.0
Release:
1
Sources: 1
1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
Patches: 0
Preparation:
build_top=$(pwd)
%setup source gmp -q -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd gmp-6.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --verbose --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info --disable-shared
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd gmp-6.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:32:04 2022
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
Config: devel/gmp-6.1.0.cfg
Summary:
The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
https://gmplib.org/
Version:
6.1.0
Release:
1
Sources: 1
1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
Patches: 0
Preparation:
build_top=$(pwd)
%setup source gmp -q -n gmp-6.1.0
%setup patch gmp -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd gmp-6.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --verbose --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info --disable-shared
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd gmp-6.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:34:33 2022
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v3b2bef8 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
3b2bef8
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-3b2bef8.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/3b2bef8
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-3b2bef8
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-linux-gnu" != "x86_64-linux-gnu" ; 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 "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu --host=x86_64-linux-gnu --target=riscv-rtems7 --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-python=/usr/bin/python2 --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:34:33 2022
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-gdb-3b2bef8-x86_64-linux-gnu-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB v3b2bef8 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
3b2bef8
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-3b2bef8.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/3b2bef8
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-3b2bef8
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-linux-gnu" != "x86_64-linux-gnu" ; 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 "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu --host=x86_64-linux-gnu --target=riscv-rtems7 --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-python=/usr/bin/python2 --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:35:27 2022
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v255a531 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
255a531
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-255a531.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/255a531
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-255a531
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-linux-gnu" != "x86_64-linux-gnu" ; 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 "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --target=riscv-rtems7 --verbose --disable-nls --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --enable-deterministic-archives --enable-64-bit-bfd --disable-lto --without-included-gettext --disable-win32-registry --disable-werror --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info
make -j 8 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sun Jan 30 23:35:27 2022
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
[ remotes removed, contact sender for details ]
Status:
Repository is dirty
Head:
Commit: 09b84c4c2ab1abddc3f06f98db3170eff6a8edd1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems7-binutils-255a531-x86_64-linux-gnu-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils v255a531 for target riscv-rtems7 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
255a531
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-255a531.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/255a531
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-255a531
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-linux-gnu" != "x86_64-linux-gnu" ; 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 "riscv-rtems7" -o "x86_64-linux-gnu" == "riscv-rtems7" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu --target=riscv-rtems7 --verbose --disable-nls --disable-gdb --disable-libdecnumber --disable-readline --disable-sim --enable-deterministic-archives --enable-64-bit-bfd --disable-lto --without-included-gettext --disable-win32-registry --disable-werror --prefix=/home/joel/rtems-work/tools/7 --bindir=/home/joel/rtems-work/tools/7/bin --exec-prefix=/home/joel/rtems-work/tools/7 --includedir=/home/joel/rtems-work/tools/7/include --libdir=/home/joel/rtems-work/tools/7/lib --mandir=/home/joel/rtems-work/tools/7/share/man --infodir=/home/joel/rtems-work/tools/7/share/info
make -j 8 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/7/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/bin/riscv-rtems7-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/7/share/man/man1/riscv-rtems7-windmc*
fi
cd ${build_top}
More information about the build
mailing list