Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sbcl for openSUSE:Factory checked in 
at 2022-08-18 16:49:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sbcl (Old)
 and      /work/SRC/openSUSE:Factory/.sbcl.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sbcl"

Thu Aug 18 16:49:04 2022 rev:80 rq:997579 version:2.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/sbcl/sbcl.changes        2022-08-10 
17:16:05.338144766 +0200
+++ /work/SRC/openSUSE:Factory/.sbcl.new.2083/sbcl.changes      2022-08-18 
16:49:22.581475125 +0200
@@ -1,0 +2,8 @@
+Fri Aug 12 00:35:56 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add sbcl-allow-value-cell-value-in-RO-space.patch: Allow that
+  value-cell-value can move to R/O space, to fix build failures
+  for maxima and other sbcl dependencies; patch taken from
+  upstream git commit [lp#1983218].
+
+-------------------------------------------------------------------

New:
----
  sbcl-allow-value-cell-value-in-RO-space.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sbcl.spec ++++++
--- /var/tmp/diff_new_pack.yMW9PL/_old  2022-08-18 16:49:23.725477790 +0200
+++ /var/tmp/diff_new_pack.yMW9PL/_new  2022-08-18 16:49:23.729477799 +0200
@@ -104,6 +104,8 @@
 Patch1:         strip-arm-CFLAGS.patch
 # PATCH-FEATURE-OPENSUSE sbcl-use-SOURCE_DATE_EPOCH-for-build-id.patch 
badshah...@gmail.com -- Use SOURCE_DATE_EPOCH for build-id instead of 
hostname+build-date to avoid rebuilds of dependencies purely due to build-id 
differences
 Patch2:         sbcl-use-SOURCE_DATE_EPOCH-for-build-id.patch
+# PATCH-FIX-UPSTREAM sbcl-allow-value-cell-value-in-RO-space.patch lp#1983218 
badshah...@gmail.com -- Accept that value-cell-value can move to R/O space 
fixing build failures for maxima and other sbcl dependencies; patch taken from 
upstream git commit
+Patch3:         sbcl-allow-value-cell-value-in-RO-space.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:    s390x
 
@@ -125,6 +127,7 @@
 %patch0 -p1 -b install
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cp %{S:1} .
 cp %{S:2} .

++++++ sbcl-allow-value-cell-value-in-RO-space.patch ++++++
commit 48d686f9718f98122547a9006c871cfcd50439ab
Author: Douglas Katzman <do...@google.com>
Date:   Sun Jul 31 21:38:19 2022 -0400

    Accept that value-cell-value can move to R/O space
    
    Fixes lp#1983218

diff --git a/src/runtime/stringspace.c b/src/runtime/stringspace.c
index ac6055627..f9ad82192 100644
--- a/src/runtime/stringspace.c
+++ b/src/runtime/stringspace.c
@@ -76,6 +76,7 @@ static void visit_pointer_words(lispobj* object, lispobj 
(*func)(lispobj, uword_
                widetag == RATIO_WIDETAG || widetag == COMPLEX_WIDETAG ||
                widetag == SIMPLE_ARRAY_WIDETAG ||
                (widetag >= COMPLEX_BASE_STRING_WIDETAG && widetag <= 
COMPLEX_ARRAY_WIDETAG) ||
+               widetag == VALUE_CELL_WIDETAG ||
                widetag == WEAK_POINTER_WIDETAG) {
         int len = object_size(object), i;
         for (i=1; i<len; ++i) FIX(object[i]);
diff --git a/tests/save1.test.sh b/tests/save1.test.sh
index 59e648191..bcf632a02 100644
--- a/tests/save1.test.sh
+++ b/tests/save1.test.sh
@@ -23,6 +23,11 @@ run_sbcl <<EOF
   ;; but maybe someone changed it :immobile, so bind it to be certain.
   (let (#+immobile-code (sb-c::*compile-to-memory-space* :dynamic))
      (defvar *afun* (compile nil '(lambda (x) (- (length x))))))
+  ;; test for lp#1983218 - a VALUE-CELL holding a readonly string could crash
+  (defun mkcell (x) (sb-sys:%primitive sb-vm::make-value-cell x nil))
+  (compile 'mkcell)
+  (defvar *cell* (mkcell (symbol-name '*print-base*)))
+  ;;
   (save-lisp-and-die "$tmpcore")
 EOF
 run_sbcl_with_core "$tmpcore" --noinform --no-userinit --no-sysinit --noprint \

Reply via email to