[Debian-lego-team] Bug#1015360: Bug#1015360: binutils-h8300-hms: ftbfs with LTO (link time optimization) enabled
Petter Reinholdtsen
pere at hungry.com
Sat Nov 1 16:02:29 GMT 2025
[Nicolas Schodet]
> GCC optimize the comparison, even when the tested symbol does not exist.
>
> Is it a known problem?
I do not know if it is a know problem. My guess is that the compiler
realize that there is no need for the symbol to calculate the result,
and just optimize the function address away.
--
Happy hacking
Petter Reinholdtsen
More information about the Debian-lego-team
mailing list