Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls
From: Christophe Leroy <hidden>
Date: 2022-09-27 06:08:07
From: Christophe Leroy <hidden>
Date: 2022-09-27 06:08:07
Le 27/09/2022 à 07:18, Benjamin Gray a écrit :
On Mon, 2022-09-26 at 13:16 +0000, Christophe Leroy wrote:quoted
Build failure with GCC 5.5 (ppc64le_defconfig): CC arch/powerpc/kernel/ptrace/ptrace.o {standard input}: Assembler messages: {standard input}:10: Error: .localentry expression for `__SCT__tp_func_sys_enter' is not a valid power of 2 {standard input}:29: Error: .localentry expression for `__SCT__tp_func_sys_exit' is not a valid power of 2Looks support for a literal st_other value in `.localentry` is added in binutils 2.32 . I'll change the config entry as follows for v3: select HAVE_STATIC_CALL if PPC32 || (PPC64_ELF_ABI_V2 && LD_VERSION >= 23200)
What about Clang ?