Warnings when building sparc/leon3
Ryan Long
ral051 at oarcorp.com
Mon Mar 7 16:05:38 UTC 2022
Joel and I noticed these warnings when building the leon3 BSP with
multiprocessing enabled. Joel thinks this means that something has
changed around the multiprocessing configuration to generate these. Does
anybody have an idea on how to fix these?
In file included from ../../../cpukit/include/rtems.h:59,
from ../../../cpukit/libmisc/stackchk/check.c:28:
../../../cpukit/libmisc/stackchk/check.c: In function
'Stack_check_report_blown_task':
../../../cpukit/include/rtems/config.h:492:5: warning: the address of
'_MPCI_Configuration' will always evaluate as 'true' [-Waddress]
492 | ( &_MPCI_Configuration )
| ^
../../../cpukit/libmisc/stackchk/check.c:281:9: note: in expansion of
macro 'rtems_configuration_get_user_multiprocessing_table'
281 | if (rtems_configuration_get_user_multiprocessing_table()) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../cpukit/libmisc/monitor/mon-editor.c: In function
'rtems_monitor_command_read':
../../../cpukit/libmisc/monitor/mon-editor.c:503:7: warning: the address
of '_MPCI_Configuration' will always evaluate as 'true' [-Waddress]
503 | if (!rtems_configuration_get_user_multiprocessing_table ())
More information about the devel
mailing list