Hello community, here is the log from the commit of package sbcl for openSUSE:Factory checked in at 2017-12-19 10:50:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sbcl (Old) and /work/SRC/openSUSE:Factory/.sbcl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sbcl" Tue Dec 19 10:50:36 2017 rev:46 rq:547365 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sbcl/sbcl.changes 2017-05-08 19:04:57.235701737 +0200 +++ /work/SRC/openSUSE:Factory/.sbcl.new/sbcl.changes 2017-12-19 10:50:51.967425276 +0100 @@ -1,0 +2,135 @@ +Thu Nov 9 14:49:52 UTC 2017 - [email protected] + +- Update to version 1.4.1 + * optimization: faster foreign callbacks. + * enhancement: complex arrays can be stack allocated. + * enhancement: PROCESS-KILL now exists on win32 and PROCESS-PID + actually returns the PID. + * optimization: the register allocation method used by the + compiler when optimizing for speed is now faster for functions + with large bodies. + * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION works on + big-endian CPUs (fixes #490490 for real rather than by + disabling a test) + * bug fix: code objects and bignums of large enough size to be + placed on GC pages without any other object no longer cause + accidental copying during garbage collection. (gencgc only) + * bug fix: sb-fasteval failure with 0-argument lambdas (#1722715) + * bug fix: RUN-PROGRAM doesn't leak handles on win32 and + PROCESS-CLOSE doesn't crash. (#1724472) + +- Changes in version 1.4.0 + * minor incompatible change: DESTRUCTURING-BIND treats non-toplevel + () as nested empty pattern. This seems to be what the standard + mandates, so conforming code should not be affected. + * ehancement: (GC :GEN 7) with gencgc will zero-fill dead + pseudo-static objects so that they do not spuriously cause + reachability of objects that would have been otherwise dead. + * enhancement: PROCESS-STATUS now tracks stopped and continued + processes properly (also fixes #1624941, based on patch by Elias + Pipping). + * bug fix: INSPECT handles errors signaled while printing slot + values. (#454682) + * bug fix: DESCRIBE works on classes like it used to. + * bug fix: *LOAD-PATHNAME* and *LOAD-TRUENAME* are bound to + pathnames when processing a sysinit or userinit file + * bug fix: save-lisp-and-die is able to collect more garbage on + non-x86oid gencgc targets. + * bug fix: fixed out-of-bounds array read in optimized POSITION + on bit-vectors + * bug fix: signal emulation respects the 128-byte stack red zone + on x86-64 macOS. + +------------------------------------------------------------------- +Fri Aug 11 10:21:35 UTC 2017 - [email protected] + +- Update to version 1.3.20 + * minor incompatible change: DEF{GENERIC,METHOD} no longer accept + some illegal lambda lists such as (defgeneric bar (foo &key + foo)) or (defgeneric baz (t)) that were accepted before. + * optimization: a valueless &AUX binding in a BOA constructor + does not force all slots reads in safe code to perform a full + type check. + * optimization: ATOMIC-PUSH and ATOMIC-POP generate better code + * bug fix: the low-level debugger would erroneously print - or + not print as the case may be - "(bad-address)" for some objects + depending whether the --dynamic-space-size argument was used at + Lisp startup + * bug fix: a DEFCONSTANT with a non non-eql-comparable object as + the value could cause miscompilation if that constant appeared + as the default expression for an &OPTIONAL binding + * bug fix: generic function lambda lists are now checked for + repeated and otherwise illegal entries. (#1704114) + * bug fix: setting gencgc_verbose = 1 could cause deadlock in + fprintf() depending on the platform's stdio implementation. The + relevant code has been changed to use snprintf() and write() + instead. + +------------------------------------------------------------------- +Tue Jul 11 15:28:55 UTC 2017 - [email protected] + +- Update to version 1.3.19 + * enhancement: specialized arrays can be printed readably without using + *read-eval* + * enhancement: SB-DEBUG:PRINT-BACKTRACE truncates huge string arguments. + The full string remains available for inspection via (SB-DEBUG:ARG). + * bug fix: backtracing from several threads at once could fail + * bug fix: floating-point infinities could not be used as keys + in EQUALP hash tables. (lp#1696274) + * bug fix: random sb-fasteval failures. (lp#1642708) + * bug fix: align the stack in callback wrappers to defend against C + compiler over-aggressive use of SIMD. (lp#1697528) + * bug fix: don't try to find the class when reporting that a class does + not exist for a primitive type. (lp#1697226) + +- Changes in version 1.3.18 + * minor incompatible change: existing values of CFLAGS, ASFLAGS, + CPPFLAGS, and LINKFLAGS will be incorporated into C compiler + invocations when building from source. + * minor incompatible change: the result of WRITE-TO-STRING may be + a BASE-STRING if all characters written are of type BASE-CHAR. + * minor incompatible change: the broadcast stream with no output + streams is a singleton object. That object satisfies OPEN-STREAM-P + regardless of how many times CLOSE is invoked on it. + * enhancement: x86[-64] backends contain an experimental feature + which aids in demonstrating reachability of any object starting + from a tenured object or a thread stack by producing a proof + as a sequence of pointers to follow. + The file "tests/traceroot.test.sh" contains an example usage. + * enhancement: if the alien symbol "gc_coalesce_string_literals" is + set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants + loaded from different fasl files may be collapsed to one object. + If the variable is set to 2, then additionally strings which are + STRING= in code resulting from COMPILE can be coalesced. + For instance, two functions returning the literal string "HI" + might return EQ strings after collapsing, which may be undesired + in a particular use. The flag pertains to gencgc only. + * enhancement: SXHASH values on pathnames are better distributed + * bug fix: MAKE-PATHNAME removes empty strings as components of a + directory, as is permitted: "Whenever a pathname is constructed + the components may be canonicalized if appropriate." + * optimization: various printer and FORMAT performance enhancements. + * bug fix: GET-FOREGROUND no longer fails in case all other interactive + threads exit (lp#1682671, reported by Syll) + * bug fix: RELEASE-FOREGROUND always removes the current thread from the + list of interactive threads. (lp#1682867, reported by Syll) + +- Changes in version 1.3.17 + * enhancement: memory overhead from the garbage collector's metadata + is reduced on 64-bit architectures; no change for 32-bit. + * enhancement: further garbage collector speedups affecting + pinned objects on conservative backends, and simple-vectors. + * enhancement: on Linux a custom handler for SIGSEGV can be called + for page faults outside of dynamic space by changing the C symbol + "sbcl_fallback_sigsegv_handler". + * bug fix: sb-cover does not lose source positions for AND/OR/COND. + * bug fix: random disassembler failures. (lp#1527931) + * The bundled sb-md5 contrib has been updated to release 2.0.4 + which is licensed under Creative Commons CC0 per author's statement + https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589 + (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory) + +- add fix-tests.patch, bnc#1041271 +- rebase 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch + +------------------------------------------------------------------- Old: ---- sbcl-1.3.16-source.tar.bz2 New: ---- fix-tests.patch sbcl-1.2.7-armel-linux-binary.tar.bz2 sbcl-1.2.7-powerpc-linux-binary.tar.bz2 sbcl-1.2.7-x86-linux-binary.tar.bz2 sbcl-1.3.12-armhf-linux-binary.tar.bz2 sbcl-1.3.16-arm64-linux-binary.tar.bz2 sbcl-1.3.19-x86-64-linux-binary.tar.bz2 sbcl-1.4.1-source.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sbcl.spec ++++++ --- /var/tmp/diff_new_pack.YLokKw/_old 2017-12-19 10:50:52.835383376 +0100 +++ /var/tmp/diff_new_pack.YLokKw/_new 2017-12-19 10:50:52.835383376 +0100 @@ -15,10 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# Use --without-bootstrap to build sbcl with an existing sbcl package +%bcond_without bootstrap Name: sbcl #!BuildIgnore: gcc-PIE -Version: 1.3.16 +Version: 1.4.1 Release: 0 Summary: Steel Bank Common Lisp License: SUSE-Public-Domain and BSD-3-Clause @@ -28,26 +30,56 @@ Source1: README.openSUSE Source2: sbclrc.sample Source3: customize-target-features.lisp -BuildRequires: ctags -BuildRequires: ghostscript -# Use --without-bootstrap to build sbcl with an existing sbcl package -%bcond_without bootstrap %if %{with bootstrap} -BuildRequires: clisp +Source20: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.2.7-x86-linux-binary.tar.bz2 +Source21: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.3.19-x86-64-linux-binary.tar.bz2 +Source22: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.2.7-powerpc-linux-binary.tar.bz2 +Source23: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.2.7-armel-linux-binary.tar.bz2 +Source24: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.3.12-armhf-linux-binary.tar.bz2 +Source25: http://downloads.sourceforge.net/sourceforge/sbcl/sbcl-1.3.16-arm64-linux-binary.tar.bz2 +%ifarch %{ix86} +%define sbcl_arch x86 +%define sbcl_bootstrap_src 20 +%endif +%ifarch x86_64 +%define sbcl_arch x86-64 +%define sbcl_bootstrap_src 21 +%endif +%ifarch ppc +%define sbcl_arch ppc +%define sbcl_bootstrap_src 22 +%endif +%ifarch armv5tel +%define sbcl_arch arm +%define sbcl_bootstrap_src 23 +%endif +%ifarch armv6hl armv7hl +%define sbcl_arch arm +%define sbcl_bootstrap_src 24 +%endif +%ifarch aarch64 +%define sbcl_arch arm64 +%define sbcl_bootstrap_src 25 +%endif +###BuildRequires: clisp %else BuildRequires: sbcl %endif +BuildRequires: ctags +BuildRequires: ghostscript BuildRequires: zlib-devel -%if 0%{?fedora_version:1} -BuildRequires: texinfo-tex -%else +%if 0%{?suse_version:1} BuildRequires: netcfg BuildRequires: texinfo -%endif -%if 0%{?suse_version} > 1220 || 0%{?fedora_version:1} -BuildRequires: texlive-dvips %else +BuildRequires: texinfo-tex +%endif +%if 0%{?suse_version:1} && 0%{?suse_version} <= 1220 BuildRequires: texlive +%else +BuildRequires: texlive-dvips +BuildRequires: texlive-ec +BuildRequires: texlive-cm-super %endif # PATCH-FIX-OPENSUSE Add $(RPM_OPT_FLAGS) to CFLAGS for Linux builds Patch0: 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch @@ -59,6 +91,8 @@ Patch4: sbcl-1.1.13-personality.patch # PATCH-FIX-OPENSUSE disable localport bsd sockets tests broken in kvm builds for some [email protected] Patch7: disable-localport-bsd-sockets-test.patch +# PATCH-FIX-OPENSUSE fix some unsafe tests for our build hosts +Patch8: fix-tests.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: ppc64 ppc64le @@ -71,12 +105,17 @@ profiler, a code coverage tool, and many other extensions. %prep +%if %{with bootstrap} +tar -xf %{S:%{sbcl_bootstrap_src}} +ln -s "$(basename -- %{S:%{sbcl_bootstrap_src}} -binary.tar.bz2)" BOOTSTRAP +%endif %setup -q %patch0 -p1 %patch1 -p1 -b docpatch %patch3 -p1 -b install %patch4 -p1 -b personality %patch7 -p1 -b sockets +%patch8 -p1 -b tests cp %{S:1} . cp %{S:2} . @@ -87,7 +126,11 @@ %build CFLAGS="%optflags" %if %{with bootstrap} -%_buildshell make.sh --xc-host='clisp -q -norc' --prefix=%{_prefix} +%{?sbcl_arch:export SBCL_ARCH=%{sbcl_arch}} + %_buildshell ./make.sh \ + --prefix=%{_prefix} \ + --xc-host="$(readlink -f ../BOOTSTRAP/run-sbcl.sh)" +###%_buildshell make.sh --xc-host='clisp -q -norc' --prefix=%{_prefix} %else %_buildshell make.sh --xc-host="sbcl --disable-debugger --no-sysinit --no-userinit" --prefix=%{_prefix} %endif @@ -134,8 +177,10 @@ %doc %{_mandir}/man1/sbcl.1* %doc %{_infodir}/asdf.info* %doc %{_infodir}/sbcl.info* -%{_bindir}/%{name} -%dir %{_prefix}/lib/%{name} -%{_prefix}/lib/%{name}/* +%{_bindir}/sbcl +%dir %{_prefix}/lib/sbcl/ +%{_prefix}/lib/sbcl/sbcl.core +%{_prefix}/lib/sbcl/sbcl.mk +%{_prefix}/lib/sbcl/contrib/ %changelog ++++++ 0003-Add-RPM_OPT_FLAGS-to-CFLAGS-for-Linux-builds.patch ++++++ --- /var/tmp/diff_new_pack.YLokKw/_old 2017-12-19 10:50:52.855382410 +0100 +++ /var/tmp/diff_new_pack.YLokKw/_new 2017-12-19 10:50:52.859382217 +0100 @@ -20,8 +20,8 @@ CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC)))) endif ifeq (Linux,$(UNAME)) -- EXTRA_CFLAGS=-D_GNU_SOURCE -+ EXTRA_CFLAGS=-D_GNU_SOURCE $(RPM_OPT_FLAGS) +- EXTRA_CFLAGS+=-D_GNU_SOURCE ++ EXTRA_CFLAGS+=-D_GNU_SOURCE $(RPM_OPT_FLAGS) endif export CC SBCL EXTRA_CFLAGS @@ -55,14 +55,14 @@ index 224ee33..2303432 100644 --- a/src/runtime/Config.sparc-linux +++ b/src/runtime/Config.sparc-linux -@@ -22,6 +22,8 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION +@@ -23,6 +23,8 @@ ifdef LISP_FEATURE_SB_CORE_COMPRESSION OS_LIBS += -lz endif - + +CFLAGS += $(RPM_OPT_FLAGS) + ifdef LISP_FEATURE_GENCGC - GC_SRC = gencgc.c + GC_SRC = fullcgc.c gencgc.c else diff --git a/src/runtime/Config.x86-64-linux b/src/runtime/Config.x86-64-linux index 204eaff..3c289f8 100644 @@ -72,11 +72,11 @@ OS_LIBS += -lz endif --CFLAGS += -fno-omit-frame-pointer -+CFLAGS += -fno-omit-frame-pointer $(RPM_OPT_FLAGS) +-CFLAGS += -fno-omit-frame-pointer -momit-leaf-frame-pointer ++CFLAGS += -fno-omit-frame-pointer -momit-leaf-frame-pointer $(RPM_OPT_FLAGS) ifdef LISP_FEATURE_IMMOBILE_SPACE - GC_SRC = gencgc.c marknsweepgc.c + GC_SRC = fullcgc.c gencgc.c traceroot.c immobile-space.c diff --git a/src/runtime/Config.x86-linux b/src/runtime/Config.x86-linux index 117630b..0aa0e0c 100644 --- a/src/runtime/Config.x86-linux @@ -87,7 +87,7 @@ +CFLAGS += $(RPM_OPT_FLAGS) + - GC_SRC = gencgc.c + GC_SRC = fullcgc.c gencgc.c traceroot.c # Nothing to do for after-grovel-headers. -- ++++++ disable-localport-bsd-sockets-test.patch ++++++ --- /var/tmp/diff_new_pack.YLokKw/_old 2017-12-19 10:50:52.899380286 +0100 +++ /var/tmp/diff_new_pack.YLokKw/_new 2017-12-19 10:50:52.899380286 +0100 @@ -4,7 +4,7 @@ --- a/contrib/sb-bsd-sockets/tests.lisp +++ b/contrib/sb-bsd-sockets/tests.lisp -@@ -228,36 +228,36 @@ +@@ -242,36 +242,36 @@ ;;; the message ended up #-win32 @@ -64,5 +64,5 @@ +;; t) +;; t) - ;;; these require that the internet (or bits of it, at least) is available + ++++++ fix-tests.patch ++++++ sb-concurrency: frlock test needs longer timeout sometimes sb-posix: getgrnam test needs an existing group name --- a/contrib/sb-concurrency/tests/test-frlock.lisp +++ b/contrib/sb-concurrency/tests/test-frlock.lisp @@ -85,7 +85,7 @@ (values (cdr w-e!) (cdr r-e!)))) #+sb-thread -(deftest* (frlock.1) +(deftest* (frlock.1 :fails-on :linux ) (handler-case (sb-ext:with-timeout 10 (test-frlocks #+win32 :outer-write-pause #+win32 t )) sb-concurrency: frlock test needs longer timeout sometimes sb-posix: getgrnam test needs an existing group name --- a/contrib/sb-posix/posix-tests.lisp +++ b/contrib/sb-posix/posix-tests.lisp @@ -619,7 +619,7 @@ #-(or android win32) (deftest grent.2 ;; make sure that we found something - (not (sb-posix:getgrnam "sys")) + (not (sb-posix:getgrnam "root")) nil) #-(or android win32) ++++++ sbcl-1.3.16-source.tar.bz2 -> sbcl-1.4.1-source.tar.bz2 ++++++ ++++ 77386 lines of diff (skipped)
