all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 014676810352ee92ec6812b622d28d39f5e3730c 991 bytes (raw)
name: gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
We need to disable this, or else memmove will not work properly in Hurd's glibc.

From 69f807d6a4afa43e7a596e04f22923567b235ce9 Mon Sep 17 00:00:00 2001
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed, 29 Jul 2015 10:34:01 +0200
Subject: [PATCH] Disable the fix for now, the resulting code seems bogus

---
 .topmsg                 | 11 +++++++++++
 sysdeps/mach/pagecopy.h |  3 +++
 2 files changed, 14 insertions(+)

diff --git a/sysdeps/mach/pagecopy.h b/sysdeps/mach/pagecopy.h
index 29b73ce..9d1f4de 100644
--- a/sysdeps/mach/pagecopy.h
+++ b/sysdeps/mach/pagecopy.h
@@ -20,7 +20,10 @@
 
 /* Threshold at which vm_copy is more efficient than well-optimized copying
    by words.  This parameter should be tuned as necessary.  */
+#define PAGE_THRESHOLD		(16384)	/* XXX Tune this.  */
+#if 0
 #define PAGE_COPY_THRESHOLD		(16384)	/* XXX Tune this.  */
+#endif
 
 #define PAGE_SIZE		__vm_page_size
 #define PAGE_COPY_FWD(dstp, srcp, nbytes_left, nbytes)			      \
-- 
2.4.6

debug log:

solving 0146768 ...
found 0146768 in https://yhetil.org/guix/CAFtzXzMhWWA8yqJNVh1254yEbjhx4k75a7d=dz-p=ar+JE6G9Q@mail.gmail.com/

applying [1/1] https://yhetil.org/guix/CAFtzXzMhWWA8yqJNVh1254yEbjhx4k75a7d=dz-p=ar+JE6G9Q@mail.gmail.com/
diff --git a/gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch b/gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch
new file mode 100644
index 0000000..0146768

1:24: trailing whitespace.
 
1:31: trailing whitespace.
 
1:34: trailing whitespace.
-- 
Checking patch gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch...
Applied patch gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 014676810352ee92ec6812b622d28d39f5e3730c	gnu/packages/patches/glibc-hurd-disable-memmove-fix.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.