rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Oct 18 13:23:55 UTC 2023


On 18.10.23 14:31, Heinz Junkes wrote:
> Leider gibt es da noch andere Probleme?
> 
> I have now tried to build with gcc-10 and rsb-master:
> 
> ../source-builder/sb-set-builder --prefix=${RTEMS_ROOT} --with-rtems-gcc=tools/rtems-gcc-10-newlib-head.cfg 6/rtems-arm
> 
> 
> ...
> /bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/./gcc/xgcc -shared-libgcc -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/./gcc -nostdinc++ -L/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/src -L/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/src/.libs -L/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/libsupc++/.libs -nostdinc -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/newlib/ -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/newlib/targ-include -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/gnu-mirror-gcc-d04fe55/newlib/libc/include -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/bin/ -B/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/lib/ -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/include -isystem /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6/arm-rtems6/sys-include    -I/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/gnu-mirror-gcc-d04fe55/libstdc++-v3/../libgcc -I/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include/arm-rtems6 -I/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include -I/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/gnu-mirror-gcc-d04fe55/libstdc++-v3/libsupc++   -std=gnu++11   -fno-implicit-templates  -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2  -fdiagnostics-show-location=once   -ffunction-sections -fdata-sections  -frandom-seed=system_error.lo -g -O2  -c -o system_error.lo ../../../../../gnu-mirror-gcc-d04fe55/libstdc++-v3/src/c++11/system_error.cc
> In file included from /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include/random:51,
>                   from ../../../../../gnu-mirror-gcc-d04fe55/libstdc++-v3/src/c++11/random.cc:28:
> /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include/bits/random.tcc: In function '_RealType std::generate_canonical(_UniformRandomNumberGenerator&)':
> /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include/bits/random.tcc:3296:54:   in 'constexpr' expansion of 'std::log(2.0e+0l)'
> /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems6-gcc-d04fe55-newlib-fbc5496-x86_64-apple-darwin22.6.0-1/build/arm-rtems6/libstdc++-v3/include/bits/random.tcc:3296:44: internal compiler error: Segmentation fault: 11
>   3296 |       const size_t __log2r = std::log(__r) / std::log(2.0L);
>        |                              ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
> libbacktrace could not find executable to open
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://gcc.gnu.org/bugs/> for instructions.

So, GCC 10, 12, and 13 don't work on this macOS version. I updated the 
RTEMS 7 tools (GCC 14) right now, maybe this works:

../source-builder/sb-set-builder --prefix=${RTEMS_ROOT} 7/rtems-arm

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the users mailing list