Apple's Ventura OS issue with RSB.

Karel Gardas karel at functional.vision
Sun Nov 6 11:25:49 UTC 2022


  Folks,

upgraded to Ventura from Monterey and this breaks RSB for unknown 
reason. The issue looks like segfault/internal compiler error in GCC 
while compiling newlib.

6/rtems-sparc:

   CC       libc/stdlib/libc_a-strtoll_r.o
   CC       libm/complex/libm_a-cpowf.o
../../../../gnu-mirror-gcc-a5a6598/newlib/libm/complex/cexpf.c: In 
function 'cexpf':
../../../../gnu-mirror-gcc-a5a6598/newlib/libm/complex/cexpf.c:47:9: 
internal compiler error: Segmentation fault: 11
    47 |         w = r * cosf(y) + r * sinf(y) * I;
       |         ^
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source (by using 
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
make[6]: *** [libm/complex/libm_a-cexpf.o] Error 1
make[6]: *** Waiting for unfinished jobs....
   CC       libc/stdlib/libc_a-strtoull_r.o
   CC       libc/stdlib/libc_a-wcstoll.o
   CC       libc/stdlib/libc_a-wcstoll_r.o
   CC       libc/stdlib/libc_a-wcstoull.o
   CC       libc/stdlib/libc_a-wcstoull_r.o
   CC       libc/stdlib/libc_a-atoll.o
make[5]: *** [all] Error 2
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[3]: *** Waiting for unfinished jobs....



6/rtems-arm:

   CC       libm/common/libm_a-s_isinf.o
   CC       libm/common/libm_a-s_isinfd.o
../../../../../../gnu-mirror-gcc-a5a6598/newlib/libm/common/s_expm1.c: 
In function 'expm1':
   CC       libm/common/libm_a-s_isnan.o
../../../../../../gnu-mirror-gcc-a5a6598/newlib/libm/common/s_expm1.c:225:9: 
internal compiler error: in real_from_string, at real.cc:2131
   225 |         hfx = 0.5*x;
       |         ^~~
   CC       libm/common/libm_a-s_isnand.o
Please submit a full bug report, with preprocessed source (by using 
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
make[6]: *** [libm/common/libm_a-s_expm1.o] Error 1
make[6]: *** Waiting for unfinished jobs....
   CC       libm/common/libm_a-s_log1p.o
make[5]: *** [all] Error 2
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all-target-newlib] Error 2
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex 
/Users/karel/src/macosx-fix-sis/rtems/build/arm-rtems6-gcc-a5a6598


So just HEADS UP to those using Mac OS X on Apple silicon!

Karel



More information about the devel mailing list