RTEMS Tools | rtems-syms: Warnings in generated output (#21)
Chris Johns (@chris)
gitlab at rtems.org
Fri Jul 11 04:12:11 UTC 2025
Chris Johns commented: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/21#note_126330
RTEMS's `waf` build system has decided to use `rtems-syms` to generate a C file and build it directly. This is counter to the design of `rtems-syms` as it is a tool to create an object file with symbols. I have no idea why that path was chosen and it makes this repo's support of loadable symbol tables fragile. The fact a C file is used internally and it could be optionally saved is an implementation detail and it that change if a different method is used to create the symbol table. The `rtems-syms` tool strips warnings from any supplied C flags when creating a symbol table as an object file. This was done to avoid this sort of noise.
Having said this the change on branch and now in the MR (https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/64) silences the warnings.
I believe the original #pragma solution was valid in this case.
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/21#note_126330
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/20250711/0f0d6ae8/attachment-0001.htm>
More information about the bugs
mailing list