Description of problem:
Building kernel modules on 4.20-rc0 throws:
Assembler messages:
Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory
Assembler messages:
Error: can't open arch/x86/kernel/macros.s for reading: No such file or director
How reproducible:
with DKMS too.
Adding that file with the one from the upstream tree ends up with a bunch of errors similar to "./arch/x86/include/asm/atomic64_64.h:88: Error: no such instruction: `lock_prefix incq 56(%rax)'".
https://paste.fedoraproject.org/paste/~LQMn7yXbcINWFNr8HVpPg/raw is the log of a failed kernel module building attempt.
This bug doesn't exist on 4.19, and continuing to build modules for 4.19 after installing 4.20-rc0 still works fine.