klibc-bot for Ben Hutchings
2019-Oct-07 18:21 UTC
[klibc] [klibc:master] Kbuild: Work around broken "ar s" in binutils 2.32
Commit-ID: 17e0df3e79cdb5c68d29af5c742cd691f45a4781 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=17e0df3e79cdb5c68d29af5c742cd691f45a4781 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 7 Oct 2019 16:43:04 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 7 Oct 2019 17:24:39 +0100 [klibc] Kbuild: Work around broken "ar s" in binutils 2.32 "ar s" without a sub-command like "r" fails in binutils 2.32, at least in the Debian package. Revert to running ranlib where we are only updating the index and not members. References: https://bugs.debian.org/941921 Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index c32bc632..b7e99b56 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -100,7 +100,7 @@ KLIBCAR := $(AR) # The second will be used for reproducible builds, the first otherwise. klibc-ar = $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),$(2),$(1)) -KLIBCRANLIB := $(call klibc-ar,s,Ds) +KLIBCRANLIB := $(RANLIB) $(if $(KBUILD_REPRODUCIBLE),-D) KLIBCSTRIP := $(if $(CONFIG_DEBUG_INFO),true,$(STRIP)) KLIBCNM := $(NM) KLIBCOBJCOPY := $(OBJCOPY)
Possibly Parallel Threads
- [PATCH] klibc: reproducible builds
- [klibc:master] Kbuild: Add option to install unstripped binaries
- [klibc 19/43] klibc basic build infrastructure
- [patch] Kbuild.klibc don't hardcode gcc version
- [PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory