[PATCH] arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS

Catalin Marinas catalin.marinas at arm.com
Tue Oct 1 06:02:52 PDT 2024


On Mon, 30 Sep 2024 13:04:48 +0100, Mark Rutland wrote:
> The Kconfig logic to select HAVE_DYNAMIC_FTRACE_WITH_ARGS is incorrect,
> and HAVE_DYNAMIC_FTRACE_WITH_ARGS may be selected when it is not
> supported by the combination of clang and GNU LD, resulting in link-time
> errors:
> 
>   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
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS
      https://git.kernel.org/arm64/c/b3d6121eaeb2

-- 
Catalin




More information about the linux-arm-kernel mailing list