RTEMS Source Builder | sb/config: Fix sb-set-builder -with-lto option (!207)
Teresa Triolo (@ttriolopiq)
gitlab at rtems.org
Thu Jan 8 15:08:53 UTC 2026
Teresa Triolo commented: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/207#note_138140
You're right. I didn't see that before. I believe the correct change for source-builder/config/checks.cfg is to match source-builder/config/gcc-common-1.cfg. With no default, I get the following error:
reporting: tools/rtems-binutils-2.43.cfg -> arm-rtems6-binutils-2.43-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-13.3-newlib-head.cfg
error: gcc-common-1.cfg:171: macro '%{enable_lto}' not found
Build FAILED
Build Set: Time 0:05:06.203382
error: gcc-common-1.cfg:171: macro '%{enable_lto}' not found
Build Set: Time 0:05:06.206025
Build FAILED
when I run:
sb-set-builder --prefix=/usr/local/toolchain/rtems-6_git 6/rtems-arm --with-lto
which should still be a valid configuration, even if I'm request the default. Do you agree that my change to address the above failure is correct, but the default should be 1?
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/207#note_138140
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/20260108/7207b4bd/attachment.htm>
More information about the bugs
mailing list