RTEMS Source Builder | RTEMS7 Builds Fail on FreeBSD and MacOS (#49)

Jeff Mayes (@jeffmayes) gitlab at rtems.org
Fri Nov 22 17:37:01 UTC 2024



Jeff Mayes created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/49



## 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


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/49
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241122/2d0a7993/attachment.htm>


More information about the bugs mailing list