Joel Sherrill commented: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5289#note_126422


This is still not building with all tests for me. I am using gcc 15 but that 
doesn't look to be the cause of all of the issues. I am posting the errors but 
there are also lots of warnings. Configuration is:

```
[arm/stm32u5-grisp-nano]
BUILD_SAMPLES=True
BUILD_TESTS=True
RTEMS_DEBUG=True
RTEMS_POSIX=False
```

These are the errors:

```
../../../bsps/arm/include/core_cm33.h:166:8: error: #error "Compiler generates 
DSP (SIMD) instructions for a devices without DSP extensions (check 
__DSP_PRESENT)"
../../../bsps/arm/include/core_cm33.h:2416:39: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2435:46: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2454:40: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2473:47: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2492:43: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2507:45: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2524:43: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2613:41: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2635:45: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2666:64: error: '__NVIC_PRIO_BITS' 
undeclared (first use in this function)
../../../bsps/arm/include/core_cm33.h:2693:64: error: '__NVIC_PRIO_BITS' 
undeclared (first use in this function)
../../../bsps/arm/include/core_cm33.h:2710:39: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/include/core_cm33.h:2726:43: error: unknown type name 
'IRQn_Type'; did you mean 'ITM_Type'?
../../../bsps/arm/shared/cache/cache-v7m.c:42:3: error: implicit declaration of 
function 'SCB_CleanInvalidateDCache_by_Addr' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:53:3: error: implicit declaration of 
function 'SCB_InvalidateDCache_by_Addr' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:77:3: error: implicit declaration of 
function 'SCB_InvalidateICache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:96:3: error: implicit declaration of 
function 'SCB_CleanDCache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:105:3: error: implicit declaration 
of function 'SCB_InvalidateDCache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:114:3: error: implicit declaration 
of function 'SCB_EnableDCache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:123:3: error: implicit declaration 
of function 'SCB_DisableDCache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:141:3: error: implicit declaration 
of function 'SCB_EnableICache' [-Wimplicit-function-declaration]
../../../bsps/arm/shared/cache/cache-v7m.c:150:3: error: implicit declaration 
of function 'SCB_DisableICache' [-Wimplicit-function-declaration]
/home/joel/rtems-work/rtems/testsuites/libtests/dl13/dl13-arm_mode.h:31:1: 
error: target CPU does not support ARM mode
/home/joel/rtems-work/rtems/testsuites/libtests/dl13/dl13-arm_mode.h:31:1: 
error: target CPU does not support ARM mode
/home/joel/rtems-work/rtems/testsuites/libtests/dl13/dl13-arm_mode.h:31:1: 
error: target CPU does not support ARM mode
```

And these are the warnings:

```
../../../bsps/arm/stm32u5/start/stm32u5-config-rtc.c:48:6: warning: no previous 
prototype for 'stm32u5_rtc_get_time' [-Wmissing-prototypes]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_sram.c:689:41: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_sram.c:689:87: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_sram.c:791:41: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_sram.c:791:87: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dcmi.c:427:47: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dcmi.c:427:99: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dcmi.c:481:47: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dcmi.c:481:99: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/shared/cache/cache-v7m.c:42:3: warning: nested extern 
declaration of 'SCB_CleanInvalidateDCache_by_Addr' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:53:3: warning: nested extern 
declaration of 'SCB_InvalidateDCache_by_Addr' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:77:3: warning: nested extern 
declaration of 'SCB_InvalidateICache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:96:3: warning: nested extern 
declaration of 'SCB_CleanDCache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:105:3: warning: nested extern 
declaration of 'SCB_InvalidateDCache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:114:3: warning: nested extern 
declaration of 'SCB_EnableDCache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:123:3: warning: nested extern 
declaration of 'SCB_DisableDCache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:141:3: warning: nested extern 
declaration of 'SCB_EnableICache' [-Wnested-externs]
../../../bsps/arm/shared/cache/cache-v7m.c:150:3: warning: nested extern 
declaration of 'SCB_DisableICache' [-Wnested-externs]
../../../bsps/arm/stm32u5/start/bspstarthooks.c:150:29: warning: comparison of 
distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
../../../bsps/arm/stm32u5/start/bspstarthooks.c:151:29: warning: comparison of 
distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
../../../bsps/arm/stm32u5/start/bspstarthooks.c:169:29: warning: comparison of 
distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
../../../bsps/arm/stm32u5/start/bspstarthooks.c:170:29: warning: comparison of 
distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dma_ex.c:2964:33: warning: 
comparison between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_dma_ex.c:4594:33: warning: 
comparison between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_lptim.c:3712:32: warning: 
comparison between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_lptim.c:3712:71: warning: 
comparison between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:4693:85: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:4694:41: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:5148:85: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:5149:41: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:6085:32: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
../../../bsps/arm/stm32u5/hal/stm32u5xx_hal_tim.c:6085:71: warning: comparison 
between pointer and zero character constant [-Wpointer-compare]
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5289#note_126422
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to