[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27467] New: ld: Internal error when linking .tmp_vmlinux.btf
From: |
frankebay99 at gmail dot com |
Subject: |
[Bug ld/27467] New: ld: Internal error when linking .tmp_vmlinux.btf |
Date: |
Thu, 25 Feb 2021 14:55:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27467
Bug ID: 27467
Summary: ld: Internal error when linking .tmp_vmlinux.btf
Product: binutils
Version: 2.36.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: frankebay99 at gmail dot com
Target Milestone: ---
Hi there,
While building kernel 5.11.1 (source:
https://github.com/Frogging-Family/linux-tkg) I got for the first time this
error:
-----
LD [M] drivers/gpu/drm/nouveau/nouveau.o
AR drivers/gpu/built-in.a
AR drivers/built-in.a
GEN .version
CHK include/generated/compile.h
LD vmlinux.o
MODPOST vmlinux.symvers
MODINFO modules.builtin.modinfo
GEN modules.builtin
LD .tmp_vmlinux.btf
ld: BFD (GNU Binutils) 2.36.1 internal error, aborting at
/build/binutils/src/binutils-gdb/bfd/merge.c:939 in _bfd_merged_section_offset
ld: Please report this bug.
BTF .btf.vmlinux.bin.o
pahole: .tmp_vmlinux.btf: No debugging information found
LD .tmp_vmlinux.kallsyms1
.btf.vmlinux.bin.o: file not recognized: file format not recognized
make: *** [Makefile:1165: vmlinux] Error 1
DESCEND objtool
DESCEND bpf/resolve_btfids
-----
I am suspecting the upgrade to 2.36.1.
However I admit I have more tests to perform to isolate my theory. I will try
this same build from a VM using 2.36.1 and also another VM using a previous
version, plus I will downgrade to previous version of BNUtils on my main
machine, if the system allows me to, and try to build the kernel again.
I do not know what other information to provide, I am not much knowledgeable
about using build tools, even worse when it comes down to troubleshoot build
errors. :(
Thanks
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27467] New: ld: Internal error when linking .tmp_vmlinux.btf,
frankebay99 at gmail dot com <=