[PATCH] D140270: MIPS: emit .module and .nan directives only for first function
Nathan Chancellor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 09:17:56 PST 2022
nathanchance added a comment.
Thanks for the fix! It does not appear to be enough though, I still see some of those errors in my build, although there are far fewer of them:
/tmp/syscall-69c080.s: Assembler messages:
/tmp/syscall-69c080.s:224: Error: .module is not permitted after generating code
clang-16: error: assembler command failed with exit code 1 (use -v to see invocation)
make[5]: *** [/home/nathan/cbl/src/linux/scripts/Makefile.build:250: arch/mips/kernel/syscall.o] Error 1
/tmp/traps-4cb796.s: Assembler messages:
/tmp/traps-4cb796.s:161: Error: .module is not permitted after generating code
clang-16: error: assembler command failed with exit code 1 (use -v to see invocation)
make[5]: *** [/home/nathan/cbl/src/linux/scripts/Makefile.build:250: arch/mips/kernel/traps.o] Error 1
/tmp/sys_ni-0c2210.s: Assembler messages:
/tmp/sys_ni-0c2210.s:538: Error: .module is not permitted after generating code
clang-16: error: assembler command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/home/nathan/cbl/src/linux/scripts/Makefile.build:250: kernel/sys_ni.o] Error 1
/tmp/configs-c3d91c.s: Assembler messages:
/tmp/configs-c3d91c.s:134: Error: .module is not permitted after generating code
clang-16: error: assembler command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/home/nathan/cbl/src/linux/scripts/Makefile.build:251: kernel/configs.o] Error 1
I can try to reduce something out if it would be useful, unless you see an immediate issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140270/new/
https://reviews.llvm.org/D140270
More information about the llvm-commits
mailing list