RTEMS | m68k/COBRA5475.log Build Failures with rtems-bsp-tester (#5210)

Joel Sherrill (@joel) gitlab at rtems.org
Mon Feb 10 16:00:44 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5210

Assignee: Sebastian Huber

## Summary

The COBRA5475 has build failures [failures](https://lists.rtems.org/pipermail/build/2025-February/062971.html) reported by the rtems-bsp-tester. Doing a build locally, there are about 20 warnings which need investigating and resolving. 

This is resulting in many of the BSP configurations failing in rtems-bsp-tester reports across all hosts. This is part of the first one reported:

```
../../../bsps/m68k/shared/memProbe.c: In function 'bspExtMemProbe':
../../../bsps/m68k/shared/memProbe.c:89:18: warning: array subscript 2 is outside array bounds of 'void[4]' [-Warray-bounds=]
   89 |     saveVector = *exceptionPointer;
      |                  ^~~~~~~~~~~~~~~~~
In file included from ../../../cpukit/include/rtems/rtems/modes.h:60,
                 from ../../../cpukit/include/rtems/rtems/tasks.h:64,
                 from ../../../cpukit/include/rtems/rtems/config.h:62,
                 from ../../../cpukit/include/rtems/config.h:62,
                 from ../../../cpukit/include/rtems.h:59,
                 from ../../../bsps/include/bsp/default-initial-extension.h:40,
                 from ../../../bsps/m68k/genmcf548x/include/bsp.h:59,
                 from ../../../bsps/m68k/shared/memProbe.c:5:
../../../cpukit/score/cpu/m68k/include/rtems/score/cpu.h:297:34: note: at offset 8 into object '_VBR' of size 4
  297 | extern void*                     _VBR;
      |                                  ^~~~
../../../bsps/m68k/shared/memProbe.c:90:5: warning: array subscript 2 is outside array bounds of 'void[4]' [-Warray-bounds=]
   90 |     *exceptionPointer = memProbeCatcher;
      |     ^~~~~~~~~~~~~~~~~
../../../cpukit/score/cpu/m68k/include/rtems/score/cpu.h:297:34: note: at offset 8 into object '_VBR' of size 4
  297 | extern void*                     _VBR;
      |                                  ^~~~
```



## Steps to reproduce

Nothing special. Just build and save the build output to a file. Review.


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5210
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/20250210/35e471f8/attachment.htm>


More information about the bugs mailing list