[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, 12 Oct 2019 15:37:35 +0000
with message-id <E1iJJSZ-000AtO-Ko@fasolo.debian.org>
and subject line Bug#939541: fixed in sbcl 2:1.5.7-1
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.7-1

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, 12 Oct 2019 17:05:11 +0200
Source: sbcl
Architecture: source
Version: 2:1.5.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Closes: 939541
Changes:
 sbcl (2:1.5.7-1) unstable; urgency=medium
 .
   * New upstream release
   * d/copyright: reflect upstream changes
   * alpha.patch: drop patch, applied upstream (Really closes: #939541)
   * Bump to S-V 4.4.1
Checksums-Sha1:
 33a3a794066aa5996596b21496e304d33be9c950 2230 sbcl_1.5.7-1.dsc
 b16ff3a0c0638bb685ff5f93106553c03a68d978 6438048 sbcl_1.5.7.orig.tar.bz2
 98f4db550a2737ade23199bd2a101fede3145216 73760 sbcl_1.5.7-1.debian.tar.xz
 1c7ac31faa59c6b551eec563a13f43c7bf86b930 10182 sbcl_1.5.7-1_amd64.buildinfo
Checksums-Sha256:
 6b5eb1b5f3b2e74650f9198d3ea0b6cf9fed2114d1821de6ea14f11ae8b60069 2230 sbcl_1.5.7-1.dsc
 54742fb5e2f3f350fbafd72bc73662fca21382b5553ed6a146098950d2409485 6438048 sbcl_1.5.7.orig.tar.bz2
 dd4d8ef3d8f93bce603373cffc1c40dc0815fd6101e4955ac155a93518d8d5cd 73760 sbcl_1.5.7-1.debian.tar.xz
 3be8bb388a9feb414c92983106b66c0d194b3a44001b4f69c382dd38fa15cbc8 10182 sbcl_1.5.7-1_amd64.buildinfo
Files:
 c93208a8fa7e698143f874fd126387f0 2230 lisp optional sbcl_1.5.7-1.dsc
 cc833687120fa9e9bf9f5c8ecf09331b 6438048 lisp optional sbcl_1.5.7.orig.tar.bz2
 ac06310e9a050ae2e0305808d16fd223 73760 lisp optional sbcl_1.5.7-1.debian.tar.xz
 97e97ac1fea31655033350ffc5e60bd1 10182 lisp optional sbcl_1.5.7-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAl2h75AACgkQLOzpNQ7O
vkotHA//S5rrdqIqSlmAVzl5Z7MkjpLGsvHkV11PCehxkMlUhriPHyDv8jPPj0wJ
CrIBV1SgOA0G195vBXBTFhVqm8/GJ886HPpnqnWJwT4PbpxNcxSFqhw3l7iDpXgR
Q5yQYaolLRb+BhRJ/QkDq8x3htFs8YUnXYGzFt13qK9rGPGLBsGQeARAnJZ3wSF1
4njZQmOmByNtcE2BhLLX2EKbJ/Jz0Fr8mr4q9Ryrg51O+HnavaCu1MHnuGXZCyjX
d+Kr6YFWKkNT0GHBtL5Tk/NKresNPAlTkAjPi/t7Va7Yvzeg3EwIHxWNYojpdF2D
68ZdHMgJKfZQj77gmlpDpLGv2jlNvSK2oOMQ/8NARFNH+4YvNMxLe0mVGUbZIcVf
IVP6bMAGC/r5Q0Tde+W2lwq2KIjqo+rASUl9dzRhYmhpztiAacU7fjwgtyy7ZwKC
3SI3ISiBDY/RYtJpK2I1b00mIjT41ctqeeRZ2CbSQDsy6LicJexDe39YCqpEQqoW
tZcYO6Zx/2sxHy3Fkm98iYQ4tlMWgF9yZlomN1OuOdy549D96rdrG7Xyc0KwI6Ug
wm4PRoC+3vqZz5I74AXjDrKKk31kLktZSZt/d1i2ZA59411VG9lraCdtU7FzEaND
O7rt88w4NZbx2H+SuhjXuqSh+HYZDz+j6KoAuaVtGkSMBoy3i5U=
=qaWc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: