[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164992995404.58572.4358662722112998061.b4-ty@kernel.org>
Date: Thu, 14 Apr 2022 11:30:52 +0100
From: Will Deacon <will@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>,
Catalin Marinas <catalin.marinas@....com>
Cc: kernel-team@...roid.com, Will Deacon <will@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
llvm@...ts.linux.dev, Tom Rix <trix@...hat.com>,
linux-kernel@...r.kernel.org,
Anders Roxell <anders.roxell@...aro.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS selection for clang
On Wed, 13 Apr 2022 11:14:21 -0700, Nathan Chancellor wrote:
> Will and Anders reported that using just 'CC=clang' with CONFIG_FTRACE=y
> and CONFIG_STACK_TRACER=y would result in an error while linking:
>
> aarch64-linux-gnu-ld: .init.data has both ordered [`__patchable_function_entries' in init/main.o] and unordered [`.meminit.data' in mm/sparse.o] sections
> aarch64-linux-gnu-ld: final link failed: bad value
>
> This error was exposed by commit f12b034afeb3 ("scripts/Makefile.clang:
> default to LLVM_IAS=1") in combination with binutils older than 2.36.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS selection for clang
https://git.kernel.org/arm64/c/45bd8951806e
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists