Bug 213705 - build error crc32c-intel with lto
Summary: build error crc32c-intel with lto
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Modules (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: other_modules
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 07:25 UTC by Konstantin Kuklin
Modified: 2021-07-12 07:25 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel config file (166.31 KB, text/plain)
2021-07-12 07:25 UTC, Konstantin Kuklin
Details

Description Konstantin Kuklin 2021-07-12 07:25:24 UTC
Created attachment 297791 [details]
kernel config file

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.ko
>arch/x86/crypto/crc32c-intel.lto.o: warning: objtool: file already has
>__mcount_loc section, skipping
>arch/x86/crypto/crc32c-intel.lto.o: warning: objtool: file already has
>.orc_unwind section, skipping
>make[2]: *** [scripts/Makefile.modfinal:78: arch/x86/crypto/crc32c-intel.ko]
>Error 255
>make[1]: *** [scripts/Makefile.modpost:156: __modpost] Error 2
>make: *** [Makefile:1762: modules] Error 2


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

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


Linux kernel to build 5.13.1

Note You need to log in before you can comment on or make changes to this bug.