Re: problem to compile fedora kernel: BTF/pahole

2021-07-22 Thread Florian Weimer
* Marius Schwarz:

> while trying to recompiling  fedora 5.12.17 kernel, I got a final error:
>
> scripts/link-vmlinux.sh: Line 214: 273523 Killed
> LLVM_OBJCOPY="${OBJCOPY}" ${PAHOLE} -J ${1}

Check the journal/dmesg.  Maybe it's just an out-of-memory error?

Thanks,
Florian
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


problem to compile fedora kernel: BTF/pahole

2021-07-22 Thread Marius Schwarz


Hi,

while trying to recompiling  fedora 5.12.17 kernel, I got a final error:

scripts/link-vmlinux.sh: Line 214: 273523 Killed 
LLVM_OBJCOPY="${OBJCOPY}" ${PAHOLE} -J ${1}


"dwarves" is installed, so this should not happen.

The config file is taken from /boot/ and adjusted via "make menuconfig" 
to use GZIP compression instead of libstd. Besides this, no other changes

are done.

# make bzImage
.. message that pahole is missing ..
# dnf -y install dwarves

# make bzImage
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  DESCEND  bpf/resolve_btfids
  CHK include/generated/compile.h
  GEN .version
  CHK include/generated/compile.h
  UPD include/generated/compile.h
  CC  init/version.o
  AR  init/built-in.a
  LD  vmlinux.o
  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN modules.builtin
  LD  .tmp_vmlinux.btf
  BTF .btf.vmlinux.bin.o
scripts/link-vmlinux.sh: Zeile 214: 273523 Getötet 
LLVM_OBJCOPY="${OBJCOPY}" ${PAHOLE} -J ${1}

  LD  .tmp_vmlinux.kallsyms1
  KSYMS   .tmp_vmlinux.kallsyms1.S
  AS  .tmp_vmlinux.kallsyms1.S
  LD  .tmp_vmlinux.kallsyms2
  KSYMS   .tmp_vmlinux.kallsyms2.S
  AS  .tmp_vmlinux.kallsyms2.S
  LD  vmlinux
  BTFIDS  vmlinux
FAILED: load BTF from vmlinux: No such file or directory
make: *** [Makefile:1207: vmlinux] Fehler 255

Used: dwarves-1.21-1.fc33

Any ideas why this is happening?

best regards,
Marius Schwarz
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure