젠투에서 새 커널을 컴파일하려고 할 때 이러한 오류가 발생합니다...
scripts/kconfig/conf --syncconfig Kconfig
DESCEND objtool
CC kernel/bounds.s
CC arch/x86/kernel/asm-offsets.s
GEN scripts/gdb/linux/constants.py
CALL scripts/checksyscalls.sh
CC [M] arch/x86/kvm/../../../virt/kvm/kvm_main.o
CC init/main.o
CC kernel/bpf/core.o
CC arch/x86/ia32/sys_ia32.o
CC arch/x86/kernel/acpi/boot.o
CC arch/x86/events/amd/core.o
CC certs/system_keyring.o
CC arch/x86/entry/vdso/vma.o
CC arch/x86/crypto/sha1-mb/sha1_mb.o
objdump: certs/.tmp_system_keyring.o: unable to initialize decompress status for section .debug_info
objdump: certs/.tmp_system_keyring.o: unable to initialize decompress status for section .debug_info
objdump: certs/.tmp_system_keyring.o: file format not recognized
EXTRACT_CERTS
AS certs/system_certificates.o
AR certs/built-in.a
objdump: arch/x86/ia32/.tmp_sys_ia32.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/ia32/.tmp_sys_ia32.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/ia32/.tmp_sys_ia32.o: file format not recognized
objdump: arch/x86/events/amd/.tmp_core.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/events/amd/.tmp_core.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/events/amd/.tmp_core.o: file format not recognized
CC arch/x86/ia32/ia32_signal.o
CC arch/x86/mm/init.o
CC arch/x86/events/amd/uncore.o
objdump: arch/x86/entry/vdso/.tmp_vma.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/entry/vdso/.tmp_vma.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/entry/vdso/.tmp_vma.o: file format not recognized
CC arch/x86/entry/vdso/vdso32-setup.o
objdump: arch/x86/kernel/acpi/.tmp_boot.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/kernel/acpi/.tmp_boot.o: unable to initialize decompress status for section .debug_info
objdump: arch/x86/kernel/acpi/.tmp_boot.o: file format not recognized
CC arch/x86/kernel/acpi/sleep.o
AR arch/x86/crypto/sha1-mb/built-in.a
objdump: init/.tmp_main.o: unable to initialize decompress status for section .debug_info
objdump: init/.tmp_main.o: unable to initialize decompress status for section .debug_info
objdump: init/.tmp_main.o: file format not recognized
...
다시 빌드했지만 binutils
(이것은 objdump의 소스 패키지입니다) 아무런 효과가 없습니다.
문제 없이 다른 패키지/소프트웨어를 컴파일하고 설치할 수 있지만 이로 인해 커널 컴파일이 완료되지 않습니다.
답변1
~에 따르면버그 671650, elfutils-0.175
정렬 문제가 있습니다.
링커로 전환하면 ld.gold
관절 정렬에 대한 많은 경고가 표시됩니다.
다음으로 되돌려 보세요 elfutils-0.173
.
# emerge dev-libs/elfutils-0.173
그런 다음 커널을 다시 빌드하십시오.
sys-kernel/gentoo-sources-4.19.3
내 시스템에서 빌드 및 로드가 잘 됩니다 elfutils-0.173
.