Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: vdso_install: drop build ID architecture allow-list

Many architectures which do generate build IDs are missing from this
list. For example arm64, riscv, loongarch, mips.

Now that errors from readelf and binaries without any build ID are
handled gracefully, the allow-list is not necessary anymore, drop it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260331-kbuild-vdso-install-v2-4-606d0dc6beca@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>

authored by

Thomas Weißschuh and committed by
Nicolas Schier
54718784 e4fb2342

-3
-3
scripts/Makefile.vdsoinst
··· 19 19 $$(dest): $(1) FORCE 20 20 $$(call cmd,install) 21 21 22 - # Some architectures create .build-id symlinks 23 - ifneq ($(filter arm s390 sparc x86, $(SRCARCH)),) 24 22 build-id-file := $$(shell $(READELF) -n $(1) 2>/dev/null | sed -n 's@^.*Build ID: \(..\)\(.*\)@\1/\2@p') 25 23 26 24 ifneq ($$(build-id-file),) ··· 27 29 __default: $$(link) 28 30 $$(link): $$(dest) FORCE 29 31 $$(call cmd,symlink) 30 - endif 31 32 endif 32 33 33 34 endef