ld.lld: error: <inline asm>:25:2: macro 'extable_type_reg' is already defined #1513
Labels
[BUG] linux-next
This is an issue only seen in linux-next
[FEATURE] LTO
Related to building the kernel with LLVM Link Time Optimization
[FIXED][LINUX] development cycle
This bug was only present and fixed in a -next or -rc cycle
[Reported-by] kbuild test robot
Reported-by: kbuild test robot <[email protected]>
[TOOL] integrated-as
The issue is relevant to LLVM integrated assembler
The kernel test robot reported an issue with a proposed series:
It looks like something similar to commit be604c616ca7 ("arm64: sysreg: Make mrs_s and msr_s macros work with Clang and LTO") will be needed here.
I tried something like
which results in
after which I tried replacing the
%
with%%
inDEFINE_EXTABLE_TYPE_REG
, which appears to break the macro entirely:My knowledge of assembly macros is non-existent so any input around this would be appreciate :)
The text was updated successfully, but these errors were encountered: