[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939541: marked as done (sbcl: Please include patch to fix minor issue on alpha)



Your message dated Sat, 14 Sep 2019 15:21:33 +0000
with message-id <E1i99rh-000B3u-JH@fasolo.debian.org>
and subject line Bug#939541: fixed in sbcl 2:1.5.6-2
has caused the Debian Bug report #939541,
regarding sbcl: Please include patch to fix minor issue on alpha
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
939541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939541
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sbcl
Version: 2:1.5.6-1
Severity: normal
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha

Hi!

While bootstrapping sbcl on alpha, I ran into an issue that was introduced
in 3bdf881c145682c86b511af4117b0c617b28353d (Change heap-reloc test not
to override mmap() via LD_PRELOAD). The attached patch fixes this issue,
could you include it in the next upload?

I have already posted it upstream on sbcl-devel/sbcl-bugs.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>From b3b9603afd99ccbaa165e2daf088d28bdba29ae8 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Thu, 5 Sep 2019 23:07:52 +0200
Subject: [PATCH] alpha: Move os_set_cheneygc_spaces() to
 src/runtime/linux-mman.c

---
 src/runtime/linux-mman.c | 16 ++++++++++++++++
 src/runtime/linux-os.c   | 17 -----------------
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/src/runtime/linux-mman.c b/src/runtime/linux-mman.c
index 9b8928ba6..ff5316d7c 100644
--- a/src/runtime/linux-mman.c
+++ b/src/runtime/linux-mman.c
@@ -6,6 +6,22 @@
 #include "os.h"
 #include "interr.h"
 
+#ifdef LISP_FEATURE_ALPHA
+/* The Alpha is a 64 bit CPU.  SBCL is a 32 bit application.  Due to all
+ * the places that assume we can get a pointer into a fixnum with no
+ * information loss, we have to make sure it allocates all its ram in the
+ * 0-2Gb region.  */
+
+static void * under_2gb_free_pointer;
+os_set_cheneygc_spaces(uword_t space0_start, uword_t space1_start)
+{
+    uword_t max;
+    max = (space1_start > space0_start) ? space1_start : space0_start;
+    under_2gb_free_pointer = max + dynamic_space_size;
+}
+
+#endif
+
 os_vm_address_t
 os_validate(int movable, os_vm_address_t addr, os_vm_size_t len)
 {
diff --git a/src/runtime/linux-os.c b/src/runtime/linux-os.c
index a033d69ee..37c166c48 100644
--- a/src/runtime/linux-os.c
+++ b/src/runtime/linux-os.c
@@ -333,23 +333,6 @@ int os_preinit(char *argv[], char *envp[])
     return 0;
 }
 
-
-#ifdef LISP_FEATURE_ALPHA
-/* The Alpha is a 64 bit CPU.  SBCL is a 32 bit application.  Due to all
- * the places that assume we can get a pointer into a fixnum with no
- * information loss, we have to make sure it allocates all its ram in the
- * 0-2Gb region.  */
-
-static void * under_2gb_free_pointer;
-os_set_cheneygc_spaces(uword_t space0_start, uword_t space1_start)
-{
-    uword_t max;
-    max = (space1_start > space0_start) ? space1_start : space0_start;
-    under_2gb_free_pointer = max + dynamic_space_size;
-}
-
-#endif
-
 void
 os_protect(os_vm_address_t address, os_vm_size_t length, os_vm_prot_t prot)
 {
-- 
2.23.0


--- End Message ---
--- Begin Message ---
Source: sbcl
Source-Version: 2:1.5.6-2

We believe that the bug you reported is fixed in the latest version of
sbcl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 939541@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated sbcl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 14 Sep 2019 16:38:38 +0200
Source: sbcl
Architecture: source
Version: 2:1.5.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Closes: 939452 939541 939807
Changes:
 sbcl (2:1.5.6-2) unstable; urgency=medium
 .
   * Replace texlive-generic-recommended by texlive-plain-generic in
     Build-Depends (Closes: #939807)
   * Make sbcl arch:any (Closes: #939452)
   * alpha.patch: new patch, fixes an issue on alpha (Closes: #939541)
Checksums-Sha1:
 f6799942e47ff57e4242c755e87a4fe0f42b86a8 2230 sbcl_1.5.6-2.dsc
 a46418125b0df3376c2bfdc17e6fb2a0162389f1 73764 sbcl_1.5.6-2.debian.tar.xz
 abf29cdf484d532c56953edafa799e018594316f 10285 sbcl_1.5.6-2_amd64.buildinfo
Checksums-Sha256:
 96088ecd3e73c999e250d175fa46d3ee93c6700e5b9fc1eb214a396373f35508 2230 sbcl_1.5.6-2.dsc
 e7c08e86a0e2146f55c89a109eec32372278974668f8d47b02107e3a4d26972e 73764 sbcl_1.5.6-2.debian.tar.xz
 fb0d51960304cb5008fe054fa133991ccfb5d9a23c4636a6cdf4684d5467d072 10285 sbcl_1.5.6-2_amd64.buildinfo
Files:
 f68bbfdcb6a55747ecf29c8d3e7bfb02 2230 lisp optional sbcl_1.5.6-2.dsc
 60f8166b5282e99115c110de1e5cb275 73764 lisp optional sbcl_1.5.6-2.debian.tar.xz
 c23538fc1380227206f82143ec805c76 10285 lisp optional sbcl_1.5.6-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAl18/6MACgkQLOzpNQ7O
vkpBOw//S4rFdoGmMkM0NKlsg2dtzMYzvId6+ftkheekfUiBdy6R3d4xBIalQdVC
j/WvwBzxsfOqShjCaCzpKN21HR2ZY+OCIrQ/R/SoOhwB51VhvYZRu/0KSixadAwW
gkLQMU4ELQloGeNpwFhxtLJMPbHAuH+UA6fgDk3qU+TV3YGg0fbkrpdFyG1QyUXu
tt5r/Zxo/eqU5CMbz5sLstDTcWc4SnRO4p8zswB3jowL90xlL/NdGrPsqQlvL1jF
YI7QJmsYqwynJnWIN0deMrWW5nR6EkjdGXV4AvYvaWDd6GDreWQpCVCKMvy157Td
fBB2FqrfDr8vFIPIY37Qj1MiwuOGE0c191L7Dn4CSrz06GaC98KqcTEVosaHKzs8
nmp7FHxfLJjvnVxMhJjR6at3CclUImEjF8W1N7xEPaRMM3UfZdKl9g+jtHUGZDVY
M8zUCZ6CcGsYn8n0ECGoSKUyHwpdp5ITfjrskY7vg/JELLFyFp176i/eNu2Gcnhy
8wQ2xlkQgLZaFOFWiOQhm+qUrPO974kGpCSzIk28dI/UMGt0UuPZQ6Rs+HNALyLM
CEZOzhfpP+SAnVs0/5jTx5R7pszY/9bXZQ9S4qoj/6fid4VBJYGrnOwxORx8C8TO
X8erZ3I7Uu3VYMxV+cBE7mdErimm+HRuqOR2n1k/lxHYTgEARvg=
=GHor
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: