-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erro module 'fs/jbd2/commit.o' on function '@jbd2_submit_inode_data' #2008
Comments
This too LD [M] arch/x86/crypto/ghash-clmulni-intel.o
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: ld.lld -m elf_x86_64 -mllvm -import-instr-limit=5 -z noexecstack -r -o arch/x86/crypto/ghash-clmulni-intel.o @arch/x86/crypto/ghash-clmulni-intel.mod
1. Running pass 'Function Pass Manager' on module 'ld-temp.o'.
2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@ghash_async_init'
#0 0x00007fca641d34ab llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/libLLVM-17.so+0xa784ab)
#1 0x00007fca641d1724 llvm::sys::RunSignalHandlers() (/usr/lib/libLLVM-17.so+0xa76724)
#2 0x00007fca641d1886 (/usr/lib/libLLVM-17.so+0xa76886)
#3 0x00007fca63225770 (/usr/lib/libc.so.6+0x40770)
#4 0x00007fca646df942 (/usr/lib/libLLVM-17.so+0xf84942)
#5 0x00007fca646e59df (/usr/lib/libLLVM-17.so+0xf8a9df)
#6 0x00007fca645bd098 (/usr/lib/libLLVM-17.so+0xe62098)
#7 0x00007fca6431268a llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/lib/libLLVM-17.so+0xbb768a)
#8 0x00007fca64312883 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/lib/libLLVM-17.so+0xbb7883)
#9 0x00007fca64313130 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib/libLLVM-17.so+0xbb8130)
#10 0x00007fca65a13a1e (/usr/lib/libLLVM-17.so+0x22b8a1e)
#11 0x00007fca65a141ff llvm::lto::backend(llvm::lto::Config const&, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex&) (/usr/lib/libLLVM-17.so+0x22b91ff)
#12 0x00007fca65a0a088 llvm::lto::LTO::runRegularLTO(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>) (/usr/lib/libLLVM-17.so+0x22af088)
#13 0x00007fca65a0a451 llvm::lto::LTO::run(std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, std::function<llvm::Expected<std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>> (unsigned int, llvm::StringRef, llvm::Twine const&)>) (/usr/lib/libLLVM-17.so+0x22af451)
#14 0x000055ed38b4078c lld::elf::BitcodeCompiler::compile() (/usr/bin/ld.lld+0x23b78c)
#15 0x000055ed38ac1adf void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true>>(bool) (/usr/bin/ld.lld+0x1bcadf)
#16 0x000055ed38ac8c71 lld::elf::LinkerDriver::link(llvm::opt::InputArgList&) (/usr/bin/ld.lld+0x1c3c71)
#17 0x000055ed38acba0d lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) (/usr/bin/ld.lld+0x1c6a0d)
#18 0x000055ed38acd42c lld::elf::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) (/usr/bin/ld.lld+0x1c842c)
#19 0x000055ed389da07d lld::unsafeLldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>, bool) (/usr/bin/ld.lld+0xd507d)
#20 0x000055ed389d99f6 lld_main(int, char**, llvm::ToolContext const&) (/usr/bin/ld.lld+0xd49f6)
#21 0x000055ed389d83ef main (/usr/bin/ld.lld+0xd33ef)
#22 0x00007fca6320ecd0 (/usr/lib/libc.so.6+0x29cd0)
#23 0x00007fca6320ed8a __libc_start_main (/usr/lib/libc.so.6+0x29d8a)
#24 0x000055ed389d9215 _start (/usr/bin/ld.lld+0xd4215)
make[4]: *** [scripts/Makefile.build:438: arch/x86/crypto/ghash-clmulni-intel.o] Error 139
make[3]: *** [scripts/Makefile.build:480: arch/x86/crypto] Error 2 |
This is almost certainly a duplicate of #1984. |
Thanks for the info, I'll test LLVM 17.0.6 with the patch later, if it fixes it. CLANG/LLVM 15.0.7 built Kernel 6.6.21 without errors, with only these two warnings, but the Kernel is functional: LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
drivers/gpu/drm/amd/amdgpu/amdgpu.o: warning: objtool: .text.navi10_umc_hybrid_cdr_workaround: unexpected end of section
vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x37: relocation to !ENDBR: relocate_range+0x6d3
vmlinux.o: warning: objtool: mark_rodata_ro+0x11c: relocation to !ENDBR: relocate_range+0x6d3 |
Yes! applying the commit f800c1f in llvm 17.0.6 fixed it, Kernel 6.6.21 built correctly.. Thanks Nathan |
Thanks for testing! |
Hi peep,
When building Kernel 6.6.21 with CLANG/LLVM 17.0.6, I get this error:
The text was updated successfully, but these errors were encountered: