[PATCH v2 16/30] Makefile: Disable LTO when not building with gcc

Tom Rini trini at konsulko.com
Sun Apr 30 16:29:01 CEST 2023


On Sat, Apr 29, 2023 at 07:29:49PM -0600, Simon Glass wrote:

> For MSYS2 this creates a lot of errors of the form:
> 
> `__stack_chk_fail' referenced in section `.text' of ...ltrans.o: defined
>    in discarded section `.text' of common/stackprot.o (symbol from plugin)
> 
> For clang it doesn't work, except with sandbox.
> 
> Update the dependency to (hopefully) deal with all of that.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- 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/20230430/730604aa/attachment.sig>


More information about the U-Boot mailing list