[PATCH] tools/gnu: Enable LTO in RSB tools
Chris Johns
chrisj at rtems.org
Wed Jun 15 22:29:44 UTC 2022
On 15/6/2022 10:58 pm, Joel Sherrill wrote:
> What's the problem with enabling LTO support in the tools by default?
None that I know of and this patch enables the support by default. The RSB
incorrectly supported the configure `--enable-lto` option. That option controls
the host build and when enabled the built host executables are built with LTO.
For RTEMS building LTO support is via the languages option, ie it is treated as
a language. This patch provides that support and enables it.
> Using it is a different matter.
Yes. I comments were an attempt to highlight this. I would like to see LTO
support available but it is not something all users will use.
FYI Xilinx use to build the Microblaze firmware for the PMC/PMS cores in the Versal.
Chris
More information about the devel
mailing list