Good morning Sebastian, when I use 7/rtems-arm it does not get better unfortunately :
[junkes@h XILINX_ZYNQ_A9_QEMU]$ tail -1000 ./rsb/rtems/rsb-report-arm-rtems7-gdb-29736fc-x86_64-apple-darwin22.6.0-1.txt RTEMS Tools Project - Source Builder Error Report Build: error: building arm-rtems7-gdb-29736fc-x86_64-apple-darwin22.6.0-1 Command Line: ../source-builder/sb-set-builder --prefix=/Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rtems/6 7/rtems-arm Python: 3.9.12 (main, Apr 5 2022, 01:53:17) [Clang 12.0.0 ] git://git.rtems.org/rtems-source-builder.git/origin/633023de6517998ee3b84e7ed172b1c5f2bf502b Darwin h.rz-berlin.mpg.de 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:39:52 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_X86_64 x86_64 Tail of the build log: __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ../../sourceware-mirror-binutils-gdb-29736fc/gdb/dwarf2/read.c:5685:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf (buf, "CU at offset %s", ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ../../sourceware-mirror-binutils-gdb-29736fc/gdb/elfread.c:831:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] sprintf (name_got_plt, "%s" SYMBOL_GOT_PLT_SUFFIX, name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") ^ … CXX unittests/search-memory-selftests.o CXX unittests/string_view-selftests.o In file included from ../../sourceware-mirror-binutils-gdb-29736fc/gdb/unittests/string_view-selftests.c:35: In file included from ../../sourceware-mirror-binutils-gdb-29736fc/gdb/defs.h:26: In file included from ../../sourceware-mirror-binutils-gdb-29736fc/gdb/../gdbsupport/common-defs.h:92: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:87: In file included from ../gnulib/import/stdlib.h:100: In file included from ../gnulib/import/unistd.h:40: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:639: ../gnulib/import/sys/select.h:797:19: error: declaration of 'select' has a different language linkage _GL_CXXALIASWARN (select); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_select.h:43:10: note: previous declaration is here int select(int, fd_set * __restrict, fd_set * __restrict, ^ CXX unittests/style-selftests.o CXX unittests/tracepoint-selftests.o CXX unittests/tui-selftests.o 1 error generated. make[2]: *** [unittests/string_view-selftests.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [all-gdb] Error 2 make: *** [all] Error 2 shell cmd failed: /bin/sh -ex /Volumes/RTEMS_DEV/XILINX_ZYNQ_A9_QEMU/rsb/rtems/build/arm-rtems7-gdb-29736fc-x86_64-apple-darwin22.6.0-1/do-build Heinz > On 18. Oct 2023, at 15:23, Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: > > 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.hu...@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/ _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users