RTEMS | powerpc: Invalid register expression (#5297)

Joel Sherrill (@joel) gitlab at rtems.org
Sat Jul 12 17:57:34 UTC 2025



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



## Summary

This appears to be happening on all 32-bit PowerPC BSPs. I spotted it in icecube but is is in qoriq_e6500_32, beatnik, and motorola_powerpc.

```
../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h: Assembler messages:
../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h:242: Warning: invalid register expression
../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h:730:  Info: macro invoked from here
../../../bsps/powerpc/shared/exceptions/ppc_exc.S:132:   Info: macro invoked from here
../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h:242: Warning: invalid register expression
../../../bsps/powerpc/shared/exceptions/ppc_exc_asm_macros.h:730:  Info: macro invoked from here
../../../bsps/powerpc/shared/exceptions/ppc_exc.S:135:   Info: macro invoked from here
```

We probably have missed this a long time because as uses "Warning:" while gcc uses "warning:".

## Steps to reproduce
Build a 32-bit PowerPC BSP and look for "Warning:" which is from the assembler. 


### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5297
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/20250712/40b081f6/attachment.htm>


More information about the bugs mailing list