[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <35249898-a48f-4a9d-b586-2c6231136b6e@app.fastmail.com>
Date: Fri, 30 May 2025 17:03:29 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Ard Biesheuvel" <ardb+git@...gle.com>,
linux-arm-kernel@...ts.infradead.org
Cc: llvm@...ts.linux.dev, linux-kernel@...r.kernel.org,
"Will Deacon" <will@...nel.org>, "Catalin Marinas" <catalin.marinas@....com>,
"Nathan Chancellor" <nathan@...nel.org>, "Ard Biesheuvel" <ardb@...nel.org>
Subject: Re: [PATCH] arm64: Disable LLD linker ASSERT()s for the time being
On Thu, May 29, 2025, at 09:35, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb@...nel.org>
>
> It turns out that the way LLD handles ASSERT()s in the linker script can
> result in spurious failures, so disable them for the newly introduced
> BSS symbol export checks.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/2094
> Signed-off-by: Ard Biesheuvel <ardb@...nel.org>
I have lld-21 from apt.llvm.org, though with a slightly
older version at the moment:
1:21~++20250418112422+c609cd2df981-1~exp1~20250418112440.1395
this version still hits the assertions on the bss symbols, but
I guess we don't really have to worry about pre-release builds.
I checked your patch with the latest ld.ldd-21 and an earlier ld.lld-20,
both work fine.
Tested-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists