search for: kbuild_reproduc

Displaying 6 results from an estimated 6 matches for "kbuild_reproduc".

2010 Oct 20
2
[PATCH] klibc: reproducible builds
From: Maciej ?enczykowski <maze at google.com> This adds a new setting: KBUILD_REPRODUCIBLE If it is non-empty, ar and ranlib will be called in such a way that timestamps do not affect the build output. This allows one to get perfectly reproducible builds. Signed-off-by: Maciej ?enczykowski <maze at google.com> --- scripts/Kbuild.klibc | 14 +++++++++----- usr/klibc/Kbuild...
2020 Mar 28
0
[klibc:master] README.klibc: Document the KBUILD_REPRODUCIBLE variable
...klibc.git;a=commit;h=5def595a55493832f23c7d18a50937e93c61c80e Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sat, 28 Mar 2020 22:31:19 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 22:33:28 +0000 [klibc] README.klibc: Document the KBUILD_REPRODUCIBLE variable Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/README.klibc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 2b97f294..dfb0895c 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc...
2019 Oct 07
0
[klibc:master] Kbuild: Work around broken "ar s" in binutils 2.32
...ion(-) 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)
2019 Jan 20
0
[klibc:master] Kbuild: Add option to install unstripped binaries
..._KLIBC_THUMB is not set # CONFIG_AEABI is not set +# CONFIG_DEBUG_INFO is not set diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 7a8ad2a..5a4b71e 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -100,7 +100,7 @@ KLIBCAR := $(AR) klibc-ar = $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),$(2),$(1)) KLIBCRANLIB := $(call klibc-ar,s,Ds) -KLIBCSTRIP := $(STRIP) +KLIBCSTRIP := $(if $(CONFIG_DEBUG_INFO),true,$(STRIP)) KLIBCNM := $(NM) KLIBCOBJCOPY := $(OBJCOPY) KLIBCOBJDUMP := $(OBJDUMP) @@ -136,6 +136,10 @@ KLIBCLIBCSHARED := $(KLIBCOBJ)/li...
2020 Aug 22
0
[ANNOUNCE] klibc 2.0.8
...[klibc] dash: README.dash: List the changes from upstream [klibc] Suppress format truncation warnings for sprintf() and vsprintf() [klibc] ipconfig: Fix alignment of packet structure [klibc] nfsmount: Fix alignment of packet structures [klibc] README.klibc: Document the KBUILD_REPRODUCIBLE variable [klibc] arch: Remove cris port Revert "[klibc] Kbuild: Tell gas we don't want executable stacks" [klibc] Kbuild: Add a per-architecture option to disable exectable stacks [klibc] arch: Explicitly disable or enable executable stacks [klibc] Kb...
2017 Dec 30
6
building debug version of klibc
Hello! Can someone please help me in building debug version of klibc ? I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but failed to build it with debug info added "-g" to HOSTCFLAGS in Makefile, but $ make -j KLIBCKERNELSRC=`pwd`/../linux-2.6/usr still strips every debug symbol , and i'm failed to change scripts/Kbuild.klibc and Makefile to remove strip