Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1184

linux kernel compilation error

$
0
0

I got error:

make ${BUILD_FLAGS} -j1 modules  HOSTCC  scripts/basic/fixdep  CALL    scripts/checksyscalls.sh  CALL    scripts/atomic/check-atomics.sh  DESCEND objtool  CHK     include/generated/compile.h  LD [M]  arch/x86/crypto/crc32c-intel.koarch/x86/crypto/crc32c-intel.lto.o: warning: objtool: file already has __mcount_loc section, skippingarch/x86/crypto/crc32c-intel.lto.o: warning: objtool: file already has .orc_unwind section, skippingmake[2]: *** [scripts/Makefile.modfinal:78: arch/x86/crypto/crc32c-intel.ko] Error 255make[1]: *** [scripts/Makefile.modpost:156: __modpost] Error 2make: *** [Makefile:1762: modules] Error 2

Im using uname -a

Linux 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10)x86_64 GNU/Linux

echo $BUILD_FLAGS

LLVM=1 LLVM_IAS=1 CC=clang-12 CXX=clang++-12 LD=ld.lld-12AR=llvm-ar-12 NM=llvm-nm-12 STRIP=llvm-strip-12READELF=llvm-readelf-12 HOSTCC=clang-12 HOSTCXX=clang++-12HOSTAR=llvm-ar-12 HOSTLD=ld.lld-12 OBJCOPY=llvm-objcopy-12OBJDUMP=objdump

Linux kernel to build 5.13.1

Anybody got same situation? Trying to build kernel with LTO optimizations by Clang-12


Viewing all articles
Browse latest Browse all 1184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>