[PATCH u-boot v4 28/36] ARM: fix LTO for seaboard

Tom Rini trini at konsulko.com
Tue May 25 02:56:51 CEST 2021

On Thu, May 20, 2021 at 01:24:17PM +0200, Marek Behún wrote:

> When seaboard_defconfig is compiled with LTO, the compiler complains
> about some instructions not being supported in ARM mode.
> This is caused by arch/arm/mach-tegra/tegra20/warmboot_avp.c having
> different CFLAGS declared in Makefile. This file needs to be compiled
> without LTO.
> Fix this by removing -flto for this file.
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210524/91e2c70d/attachment.sig>

More information about the U-Boot mailing list