
25 May
2021
25 May
'21
2:55 a.m.
On Thu, May 20, 2021 at 01:24:04PM +0200, Marek Behún wrote:
Some toolchains are compiled so that they pass a --build-id=something parameter to the linker implicitly.
This causes U-Boot LTO linking to fail with something like: ld: section .note.gnu.build-id LMA ... overlaps section .text LMA ... because U-Boot's link scripts do not currently handle .note.gnu.build-id section.
Fix this by explicitly disabling build-id.
Signed-off-by: Marek Behún marek.behun@nic.cz Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom