<div dir="auto">Is the cross gcc compiled with the native compiler provided by Apple? The alternative would likely be you installing something special.<div dir="auto"><br></div><div dir="auto">I wonder if using gcc to compile it would work. But there's not a real solution.<br><div dir="auto"><br></div><div dir="auto">Seems like an issue which needs reporting to gcc.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 6, 2022, 5:25 AM Karel Gardas <karel@functional.vision> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
  Folks,<br>
<br>
upgraded to Ventura from Monterey and this breaks RSB for unknown <br>
reason. The issue looks like segfault/internal compiler error in GCC <br>
while compiling newlib.<br>
<br>
6/rtems-sparc:<br>
<br>
   CC       libc/stdlib/libc_a-strtoll_r.o<br>
   CC       libm/complex/libm_a-cpowf.o<br>
../../../../gnu-mirror-gcc-a5a6598/newlib/libm/complex/cexpf.c: In <br>
function 'cexpf':<br>
../../../../gnu-mirror-gcc-a5a6598/newlib/libm/complex/cexpf.c:47:9: <br>
internal compiler error: Segmentation fault: 11<br>
    47 |         w = r * cosf(y) + r * sinf(y) * I;<br>
       |         ^<br>
libbacktrace could not find executable to open<br>
Please submit a full bug report, with preprocessed source (by using <br>
-freport-bug).<br>
See <<a href="https://gcc.gnu.org/bugs/" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/bugs/</a>> for instructions.<br>
make[6]: *** [libm/complex/libm_a-cexpf.o] Error 1<br>
make[6]: *** Waiting for unfinished jobs....<br>
   CC       libc/stdlib/libc_a-strtoull_r.o<br>
   CC       libc/stdlib/libc_a-wcstoll.o<br>
   CC       libc/stdlib/libc_a-wcstoll_r.o<br>
   CC       libc/stdlib/libc_a-wcstoull.o<br>
   CC       libc/stdlib/libc_a-wcstoull_r.o<br>
   CC       libc/stdlib/libc_a-atoll.o<br>
make[5]: *** [all] Error 2<br>
make[4]: *** [multi-do] Error 1<br>
make[3]: *** [all-multi] Error 2<br>
make[3]: *** Waiting for unfinished jobs....<br>
<br>
<br>
<br>
6/rtems-arm:<br>
<br>
   CC       libm/common/libm_a-s_isinf.o<br>
   CC       libm/common/libm_a-s_isinfd.o<br>
../../../../../../gnu-mirror-gcc-a5a6598/newlib/libm/common/s_expm1.c: <br>
In function 'expm1':<br>
   CC       libm/common/libm_a-s_isnan.o<br>
../../../../../../gnu-mirror-gcc-a5a6598/newlib/libm/common/s_expm1.c:225:9: <br>
internal compiler error: in real_from_string, at real.cc:2131<br>
   225 |         hfx = 0.5*x;<br>
       |         ^~~<br>
   CC       libm/common/libm_a-s_isnand.o<br>
Please submit a full bug report, with preprocessed source (by using <br>
-freport-bug).<br>
See <<a href="https://gcc.gnu.org/bugs/" rel="noreferrer noreferrer" target="_blank">https://gcc.gnu.org/bugs/</a>> for instructions.<br>
make[6]: *** [libm/common/libm_a-s_expm1.o] Error 1<br>
make[6]: *** Waiting for unfinished jobs....<br>
   CC       libm/common/libm_a-s_log1p.o<br>
make[5]: *** [all] Error 2<br>
make[4]: *** [multi-do] Error 1<br>
make[3]: *** [all-multi] Error 2<br>
make[2]: *** [all] Error 2<br>
make[1]: *** [all-target-newlib] Error 2<br>
make: *** [all] Error 2<br>
shell cmd failed: /bin/sh -ex <br>
/Users/karel/src/macosx-fix-sis/rtems/build/arm-rtems6-gcc-a5a6598<br>
<br>
<br>
So just HEADS UP to those using Mac OS X on Apple silicon!<br>
<br>
Karel<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>