RTEMS8 Builds Fail on FreeBSD and MacOS
Changed title from rtems7 to rtems8 as part of promoting the versions.
Summary
Seeing this error on FreeBSD13, FreeBSD14, and MacOS.
/usr/bin/c++ -O2 -pipe -I/usr/home/tester/rtems-cron-7/rtems-source-builder/rtems/build/tmp/sb-1003/tools/rtems-default-tools/home/tester/rtems-cron-7/tools/7/include -I/usr/home/tester/rtems-cron-7/rtems-source-builder/rtems/build/tmp/sb-1003-internal/include -x c++ -I. -I../../sourceware-mirror-binutils-gdb-9adad97/gdb -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/config -include ../../sourceware-mirror-binutils-gdb-9adad97/gdb/defs.h -DLOCALEDIR=""/home/tester/rtems-cron-7/tools/7/share/locale"" -DHAVE_CONFIG_H -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../include/opcode -I../bfd -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../bfd -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../include -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../readline/readline/.. -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../zlib -I/usr/local/include -I../libdecnumber -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../libdecnumber -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../gnulib/import -I../gnulib/import -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/.. -I.. -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/../libbacktrace/ -I../libbacktrace/ -DTUI=1 -I/usr/local/include -I/usr/home/tester/rtems-cron-7/rtems-source-builder/rtems/build/tmp/sb-1003-internal/include -I/usr/local/include/python3.11 -I/usr/local/include/python3.11 -I../../sourceware-mirror-binutils-gdb-9adad97/gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-mismatched-tags -Wno-error=deprecated-register -Wsuggest-override -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wvla -Wmissing-prototypes -Wformat -Wformat-nonliteral -g -O2 -c -o selftest-arch.o -MT selftest-arch.o -MMD -MP -MF ./.deps/selftest-arch.Tpo ../../sourceware-mirror-binutils-gdb-9adad97/gdb/selftest-arch.c ../../sourceware-mirror-binutils-gdb-9adad97/gdb/remote-sim.c:334:28: error: assigning to 'void (*)(host_callback *, const char , ...) attribute((noreturn))' (aka 'void ()(host_callback_struct *, const char *, ...) attribute((noreturn))') from incompatible type 'void (host_callback *, const char *, ...)' (aka 'void (host_callback_struct *, const char *, ...)') 334 | gdb_callback.error = gdb_os_error; | ^~~~~~~~~~~~ 1 error generated. gmake[2]: *** [Makefile:1957: remote-sim.o] Error 1
Steps to reproduce
../source-builder/sb-set-builder --prefix=/home/tester/rtems-cron-7/tools/7 7/rtems-arm
Edited by Joel Sherrill