forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#30452: guix: bump time-machine to efc26826400762207cde9…
…f23802cfe75a737963c 6ee000e guix: bump time-machine to efc26826400762207cde9f23802cfe75a737963c (fanquake) cbeb2c2 guix: patch /gnu/store paths out of winpthreads (fanquake) Pull request description: Needed for bitcoin#30210. This doesn't switch runtimes, because upstream is still configured to use the old runtime. See: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=17188be0f723e00377b21b767f5447d7938a116e. git-mimimal `2.45.1` -> `2.45.2` Kernel Headers `6.1.92` -> `6.1.100` LLVM `18.1.6` -> `18.1.8` mingw-w64 `11.0.1` -> `12.0.0` NSIS `3.09` -> `3.10` patch `2.7.6` -> `2.7.6-0.f144b35` ACKs for top commit: TheCharlatan: ACK 6ee000e Tree-SHA512: f4f99d16dd8cab5b2b7c5d82111af86de20e1669cc3b4054d72ab4a67b2956757df170f0df28c96d18653c1c9d2ebdd0ecc441005726a20cd963d98513b4a851
- Loading branch information
Showing
5 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
From aad25427e74f387412e8bc9a9d7bbc6c496c792f Mon Sep 17 00:00:00 2001 | ||
From: Andrew Chow <[email protected]> | ||
Date: Wed, 6 Jul 2022 16:49:41 -0400 | ||
Subject: [PATCH] guix: remap guix store paths to /usr | ||
Without ffile-prefix-map, the debug symbols will contain paths for the | ||
guix store which will include the hashes of each package. However, the | ||
hash for the same package will differ when on different architectures. | ||
In order to be reproducible regardless of the architecture used to build | ||
the package, map all guix store prefixes to something fixed, e.g. /usr. | ||
|
||
--- | ||
libgcc/Makefile.in | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in | ||
index 851e7657d07..476c2becd1c 100644 | ||
--- a/libgcc/Makefile.in | ||
+++ b/libgcc/Makefile.in | ||
@@ -854,7 +854,7 @@ endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Without ffile-prefix-map, the debug symbols will contain paths for the | ||
guix store which will include the hashes of each package. However, the | ||
hash for the same package will differ when on different architectures. | ||
In order to be reproducible regardless of the architecture used to build | ||
the package, map all guix store prefixes to something fixed, e.g. /usr. | ||
|
||
--- a/mingw-w64-libraries/winpthreads/Makefile.in | ||
+++ b/mingw-w64-libraries/winpthreads/Makefile.in | ||
@@ -478,7 +478,7 @@ top_build_prefix = @top_build_prefix@ | ||
top_builddir = @top_builddir@ | ||
top_srcdir = @top_srcdir@ | ||
SUBDIRS = . tests | ||
-AM_CFLAGS = -Wall -DWIN32_LEAN_AND_MEAN $(am__append_1) | ||
+AM_CFLAGS = -Wall -DWIN32_LEAN_AND_MEAN $(am__append_1) $(shell find /gnu/store -maxdepth 1 -mindepth 1 -type d -exec echo -n " -ffile-prefix-map={}=/usr" \;) | ||
ACLOCAL_AMFLAGS = -I m4 | ||
lib_LTLIBRARIES = libwinpthread.la | ||
include_HEADERS = include/pthread.h include/sched.h include/semaphore.h include/pthread_unistd.h include/pthread_time.h include/pthread_compat.h include/pthread_signal.h |