objdump: formato de arquivo não reconhecido

1

Estou encontrando esses erros ao tentar compilar um novo kernel no Gentoo ...

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
...

Eu reconstruí binutils (que é o pacote do qual o objdump vem), mas isso não teve efeito.

Eu posso compilar e instalar outros pacotes / software sem nenhum problema, mas isso está impedindo que a compilação do kernel seja concluída.

    
por slackline 22.11.2018 / 13:10

1 resposta

2

De acordo com o bug 671650 , elfutils-0.175 tem problemas com alinhamentos.

Mudar para o vinculador ld.gold revelou uma enorme quantidade de avisos sobre alinhamentos de seção.

Tente reverter para elfutils-0.173 :

# emerge dev-libs/elfutils-0.173

E então reconstrua seu kernel.

sys-kernel/gentoo-sources-4.19.3 no meu sistema é compilado e carrega bem com elfutils-0.173 .

    
por 22.11.2018 / 14:46

Tags