Steel Bank Common Lisp version 2.6.7
摘要
正文是 Steel Bank Common Lisp(SBCL)的版本发布日志,列出了从 2.6.7 到 2.6.2 的多个版本更新。2.6.7 新增了 SB - MANUAL 模块,使手册可通过 docstring 交互式浏览;支持 ARM64 上的 SB - SIMD 和 x86-64 的 AVX512 指令;修复了多个编译器和运行时 bug,并做了若干性能优化。后续版本(2.6.6 至 2.6.2)也包含平台支持扩展、bug 修复和优化,如 Windows ARM64 支持、RISC - V 修复、GC 稳定性改进等。
荐读理由
该日志展示了 SBCL 在 ARM64、SIMD 指令和文档系统上的实质进展,但读者若不以 Lisp 为主要技术栈,这些变更难以直接迁移到 AI 工程或创业项目中;仅可作为了解 Lisp 生态演进的背景信息。
原文
Steel Bank Common Lisp
All News
New SBCL versions are usually released at the end of each month: check the Sourceforge File List to see the current version. The new features of all SBCL releases are listed below.
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.11
2.5.10
2.5.9
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.11
2.4.10
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.16
1.4.15
1.4.14
1.4.13
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.21
1.3.20
1.3.19
1.3.18
1.3.17
1.3.16
1.3.15
1.3.14
1.3.13
1.3.12
1.3.11
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.58
1.0.57
1.0.56
1.0.55
1.0.54
1.0.53
1.0.52
1.0.51
1.0.50
1.0.49
1.0.48
1.0.47
1.0.46
1.0.45
1.0.44
1.0.43
1.0.42
1.0.41
1.0.40
1.0.39
1.0.38
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.21
0.8.20
0.8.19
0.8.18
0.8.17
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.8alpha.0
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.13
0.6.12
0.6.11
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
New in version 2.6.7, 2026-07-28
Back to top
new contrib module: SB-MANUAL contains the SBCL manual in docstrings of section definitions, which tie together the docstrings of normal Lisp definitions. The manual can thus be explored interactively in the usual way (e.g. with Slime's M-.), and it is browsable with the MGL-PAX library (out of tree). Also, https://fixnum.com/ (similarly unrelated to the SBCL project) provides alternative renderings of the SBCL manual as heavily linked PDF and HTML documents as well as Markdown and plain text.
new feature: DOCUMENTATION supports DOC-TYPE DECLARATION.
platform support:
the SB-SIMD contrib now supports ARM64. (Thanks to Sylvia Harrington)
AVX512 instructions are now supported on X86-64. (Thanks to Robert Smith and Arthur Miller)
additional support for SIMD instructions on ARM64 and X86-64. (Thanks to Arthur Miller)
fix miscompilation of SAP-REF-N on ARM64. (Thanks to Hayley Patton)
implement INTEGER-LENGTH on primitive types without a loop on MIPS and LoongArch.
bug fix: READing with READ-SUPPRESS T no longer emits warnings like " no longer present on FEATURES".
bug fix: compiler type-error when compiling calls to CONCATENATE with conditional known non-sequence arguments. (#2160747)
bug fix: (EQL ) types were not being treated as numeric by the type system. (#2160429)
bug fix: improve the handling of quiet (non-signalling) NaN inputs to LOG. (#2160268, reported by Woodrow Kiang)
bug fix: miscompilation of MULTIPLE-VALUE-CALL. (#2160207, reported by Vasily Postnicov)
optimization: passing constant complex numbers to local functions can be done without consing.
optimization: where available, use enhanced SIMD routines for UTF-8 conversions.
optimization: compiler transforms of COUNT are applicable with a wider variety of keyword arguments.
optimization: remove at least one redundant instruction from SB-ALIEN:DEREF.
optimization: the sparse set implementation in the compiler has been tuned to improve performance on real-world workloads.
documentation: many typos and typesetting issues were fixed.
documentation: SB-MANUAL:@FOREIGN-FUNCTION-INTERFACE now correctly states that arrays are row-major (not column-major). (#2158033, thanks to Scott L. Burson)
documentation: internally, docstrings now conform to a subset of Markdown, but DOCUMENTATION (and thus DESCRIBE) strips some of this markup. The official manual is still generated from Texinfo, but the Texinfo files are generated from SB-MANUAL.
documentation: the manual now has a separate index for declarations.
New in version 2.6.6, 2026-06-28
Back to top
minor incompatible change: FDEFINITION now returns the outermost wrapper (added e.g. by TRACE, PROFILE) like SYMBOL-FUNCTION. (#799533)
minor incompatible change: in unsafe code, C strings with :EXTERNAL-FORMAT :ASCII are copied directly as byte-sized quantities without checking whether the top bit of the byte is set.
platform support:
fix the build on big-endian 64-bit PowerPC with ELFv2. (thanks to Piotr Kubaj)
move the static space address for macOS 27 on ARM64. (#2156072, reported by Gary Palter)
optimizations to SB-THREAD:BARRIER for ARM64. (thanks to Sahil Kang)
fix a compiler crash in MULTIPLE-VALUE-LIST in argument forms on ARM64. (#2155788, reported by Gary Palter)
bug fix: TRACE no longer fails when trying to print a return value that cannot be printed readably and PRINT-READABLY is true.
optimization: the compiler is more precise in its type derivation of COERCE given constraints on its inputs.
optimization: the compiler is better able to derive the return types of AREF and ELT.
optimization: faster encoding and decoding of UTF-8 C strings.
optimization: (length (intersection a b)) doesn't cons an intermediate list.
documentation: the manual now includes a section for SB-INTROSPECT, which has also seen improvement in its documentation strings and comments.
documentation: fixed many typesetting problems and typos in the user manual.
New in version 2.6.5, 2026-05-29
Back to top
minor incompatible change: the condition signalled when an accessed slot is missing from an object is no longer a TYPE-ERROR.
minor incompatible change: the condition signalled when accessing an uninitialized structure slot is no longer a TYPE-ERROR.
minor incompatible change: the implementations of standardized functions treating lists as sets, such as INTERSECTION and UNION, take more advantage of the freedom to return the elements of the result in any order.
platform support:
add low-level support for floating point state manipulation on PPC64/FreeBSD. (thanks to Piotr Kubaj)
improve the software emulation of displaced instructions on ARM64.
restore building the system using the musl C library. (#2153432, reported by Tom Gillespie)
fix some SB-SIMD shifting instructions on AVX2. (#2152791, reported by Willem Broekema)
enhancement: definition sources for alien callbacks are now findable by name in SB-INTROSPECT.
bug fix: the SYMBOL restart for finding packages now actually performs a non-local exit. (#2153092, reported by Zach Shaftel)
bug fix: TYPEP on large disjoint numeric union types compiles faster using fewer resources. (#2151818, reported by James McDonald)
bug fix: strings of arbitrary size with fill-pointer set to 1 are character designators. (reported by _death)
bug fix: the KEEP-OLD restart established by ADD-PACKAGE-LOCAL-NICKNAME keeps the old nickname instead of going ahead with the change (and the restart report function no longer returns from ADD-PACKAGE-LOCAL-NICKNAME).
bug fix: when EXPORT results in a conflict between symbols exported by different used packages, the TAKE-NEW restart now shadowing-imports the new symbol instead of doing nothing and leaving the package in an inconsistent state.
bug fix: the SB-EVAL interpreter checks program syntax more thoroughly.
bug fix: compiler cross-reference data is decoded correctly for a functional with more than one entry for a given name.
bug fix: TYPE-ERRORs signalled by SBCL are more likely to have a DATUM that is not of the condition's EXPECTED-TYPE.
bug fix: the code walker no longer uses the stack to walk PROGN bodies.
optimization: in various situations, INTERSECTION and UNION will use hash-tables to perform the operation more quickly.
New in version 2.6.4, 2026-04-29
Back to top
minor incompatible change: when DEFSETF is called on a name that was previously used as a (presumed) call to a function, it issues a single STYLE-WARNING (like DEFMACRO).
minor incompatible change: SB-EXT:PROCESS-KILL no longer supports the :PTY-PROCESS-GROUP option (which was never correctly implemented).
minor incompatible change: the :INITIAL-OFFSET argument for typed DEFSTRUCT, if given, no longer accepts NIL.
platform support:
more likely to support 32-bit linux's struct timeval with 64-bit time_t.
the runtime's main function is now defined as a weak symbol for platform/compiler combinations that support it.
on Windows, individual empty arguments for RUN-PROGRAM are escaped.
add input/output speed fields for our definition of the termios structure, addressing a crash in sb-posix:tcsetattr on OpenBSD. (#2150499, thanks to Robert Palm)
bug fix: address infinite loops in the compiler. (#2144911, #2148056)
bug fix: if an FTYPE has been proclaimed for a function, don't mix NULL with explicitly-typed keyword arguments. (#2147050, reported by Vasily Postnicov)
bug fix: compiler error from treatment of unused results. (#2147383)
bug fix: compiler error from invalid dimension arguments to MAKE-ARRAY. (#2147384)
bug fix: compiler error arising from continuing to optimize deleted nodes. (#2147385)
bug fix: make sure linkage-table alien entries have base-string names. (#2147646, thanks to Seokjun Lee)
bug fix: make sure CHECK-TYPE's expansion does not include internal non-externalizable objects. (#2148777, reported by Willem Broekema)
bug fix: alien calls involving passing structs by value are less likely to read or write wrong areas of memory. (thanks to Jesse Bouwman)
bug fix: lowering EQUALP to EQUAL handles constant dotted lists correctly.
bug fix: a number of standard functions perform more explicit type checks on their arguments.
bug fix: only return the primary value from (LIST*/APPEND/NCONC ).
bug fix: correct treatment of escaped closing brackets in pathname patterns.
bug fix: escape dots in pathnames more correctly.
bug fix: the hash set for function names will incur collisions less frequently. (reported by Andrew Wolven)
bug fix: the system is now capable of expressing select() on the whole range of possible file descriptors.
optimization: compiler optimizations for (REPLACE vector list) now apply given :START1 and/or :END1 keyword arguments.
optimization: CONCATENATE is faster for concatenating list arguments to a VECTOR.
optimization: ROUND for integers is more compact.
optimization: on 64-bit x86, implement TRUNCATE using the Lemire, Kaser, Kurz transform.
New in version 2.6.3, 2026-03-29
Back to top
minor incompatible change: (MAKE-ARRAY X :ELEMENT-TYPE 'UNDEFINED) now signals an error, consistent with (UPGRADED-ARRAY-ELEMENT-TYPE 'UNDEFINED).
platform support:
fix disassembler on ppc for the MFLR and ISEL instructions
the Lisp Return Address object (as part of the Lisp calling convention) is no longer needed or supported on PPC, SPARC, MIPS or ARM. (This also frees up a widetag slot previously held by return-pc-widetag)
remove sensitivity to SBCL init files when building embedcore-sbcl. (thanks to Robert Brown)
add support for the ADCX and ADOX instructions on x86-64. (thanks to Robert Smith)
on PPC64, indicate the number of return values through flags, making function calls four times faster.
fix FFI involving int128 arguments on x86-64. (thanks to Andreas Franke)
fix build on OpenIndiana/x86-64. (thanks to Andreas Wacknitz)
fix build on Haiku/x86-64.
bug fix: improved stability of (particularly) the mark-region garbage collector. (#2142711)
bug fix: compiler type error in complicated expression involving BOOLE and conditionals. (#2142949)
bug fix: dotted lists involving symbols whose names begins with "DEF" are not definitions. (#2143114, reported by Glenn Thompson)
bug fix: STABLE-SORT miscompiled on declared union types involving both LIST and VECTOR. (#2143163, reported by akater, thanks to Vasily Postnicov)
bug fix: more consistent results between compiler and interpreter in numerical computations involving negative zeros. (#2143383)
bug fix: USE-PACKAGE once again signals the correct error if an attempt is made to use the KEYWORD package.
bug fix: EQUALP on hash tables is no longer sensitive to irrelevant aspects of the hash table.
bug fix: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST is more robust against types defined in low debug situations.
bug fix: ENSURE-GENERIC-FUNCTION ensures that the allocation of a generic function does not happen in an arena. (Thanks to Andreas Franke)
optimization: actually return early when we hit the cache for a :MAKUNBOUND slot access. (thanks to John Mallery)
optimization: streams opened with WITH-OPEN-FILE avoid having finalizers.
optimization: improvement of COUNT on non-simple bit-vectors, or simple ones with :START/:END arguments. (#2142062, thanks to Andrew Berkley)
optimization: SIMD routines for checking strings for ASCII-only content are more compact.
optimization: the reader prefers base-string symbol-names of uninterned symbols if possible.
optimization: (length (remove-duplicates a s)) doesn't cons an intermediate sequence.
optimization: REMOVE-DUPLICATES uses hash-tables in more situations.
optimization: UPGRADED-ARRAY-ELEMENT-TYPE is now faster.
New in version 2.6.2, 2026-02-27
Back to top
minor incompatible change: IMAGPART of a negative float returns 0.0, not -0.0, consistent with a treatment of reals as complexes with an imaginary part of strictly 0.0, but strictly incompatible with the requirement that the IMAGPART equal (* 0 )
platform support:
support for Windows on arm64 has been added. (thanks to Masatoshi SANO)
various mismatches and bugs related to mismatches between Win32 and Unix have been addressed.
fixed an issue in unsigned 32-bit compare-and-swap on RISC-V (thanks to Andreas Schwab) and LoongArch.
fixed the integration of the system with the (lack of) floating point traps on RISC-V. (thanks to Andreas Schwab)
implemented the missing runtime breakpoint-related functions on RISC-V. (#2130944)
fix for assembling large relative jumps on MIPS.
fix for GC safety of function calling on RISC-V and LoongArch. (reported by Will Sinatra)
support little-endian PPC64 to write cores in ELF format.
fix for SB-POSIX:STAT on Windows with the UCRT C library.
numerous other fixes related to architecture definitions, particularly on RISC-V, but also on LoongArch, MIPS, PPC and PPC64, and ARM64.
enhancement: support stack allocation of results for struct return values from alien functions. (thanks to Jesse Bouwman)
bug fix: rounding of floats converted from ratios. (#2139007)
bug fix: SCALE-FLOAT and RATIONALIZE on denormals gave wrong answers, and converting ratios to denormals is both more correct and faster.
bug fix: the ~E FORMAT directive scales its float more correctly. (#1854151, #2016431, #2125287, reported by Michał "phoe" Herda, Robert Dodier and Francis Wright)
bug fix: the error when failing to bind in DESTRUCTURING-BIND is now a PROGRAM-ERROR.
bug fix: the compiler respects INLINE and NOTINLINE declarations to control compiler macros that apply to macros. (#1490345)
bug fix: converting bignums to float will trap or return floating point infinities as appropriate to the prevailing floating point modes.
bug fix: division with a (COMPLEX FLOAT) result will be more consistent with results involving negative zeros.
bug fix: allow the full range of hash values in weak hash-tables with user-defined hash functions. (#2141482, reported by Patrick Poitras)
bug fix: malformed OPTIMIZE declarations no longer cause the compiler to stop.
bug fix: symbols with terminating macro characters in their names (or non-terminating ones at the start) print with escapes when PRINT-ESCAPE is true.
bug fix: documentation issues, in README and the manual. (thanks to Carl Gay)
bug fix: compiler crash while transforming arithmetic operations on known non-numeric inputs. (#2142297)
bug fix: unsafe concurrent access to synchronized weak hash tables. (#2142714)
optimization: avoid consing when right-shifting a bignum gives a fixnum result.
optimization: various type tests in the presence of intersecting constraints do less redundant work.
New in version 2.6.1, 2026-01-26
Back to top
minor incompatible change: the never-documented :NO-CONSTRUCTOR-DEFUN option to DEFSTRUCT is no longer supported.
platform support:
support for the LoongArch architecture has been added. (thanks to ZiLong Wang)
support for FreeBSD on 32-bit and 64-bit PowerPC platforms has been added. (thanks to Piotr Kubaj)
SB-ALIEN now supports passing and returning structures by value (rather than by reference) in accordance with the platform ABIs, on x86-64 and arm64 platforms. (#313202, thanks to Jesse Bouwman)
wide compare-and-exchange is supported on the arm64 platform for Armv8.1-A or later.
bug fix: signal a DIVISION-BY-ZERO error in calls of (/ 0 0). (#2137266, reported by khbit)
bug fix: compiler infinite loop from previously-acceptable recursive inline expansions. (#2137380, reported by Frode Fjeld)
bug fix: unnormalized inequality constraints causing a compiler infinite loop. (#2137422, reported by Jesse Bouwman)
bug fix: compiler infinite loop from a deleted loop with an remnant TAGBODY. (#2137493)
bug fix: miscompilation of REDUCE #'APPEND with non-null INITIAL-VALUE and :FROM-END NIL. (#2137736, reported by Vasily Postnicov)
bug fix: encode XREF locations in a way that allows for higher form numbers. (#2137765, reported by Jim White)
bug fix: lookups of optimized memory movers fails when PRINT-BASE is not 10. (#2138812, reported by Robert Dodier)
bug fix: CLRHASH on a hash table with weak keys should not corrupt the table's index vector. (#2138965, reported by Patrick Poitras)
bug fix: address a number of type derivation subtleties related to floating point zeros.
optimization: various combinations of arithmetic operations with variables and constants are simplified to have fewer calls.
optimization: elide full calls to CONJUGATE when its argument is known to be of type REAL. (#2137354, thanks to Vasily Postnicov)
optimization: the compiler knows more about the type and results of ARRAY-DIMENSION.
optimization: transform ARRAY-DIMENSIONS away on objects with array types of known dimensions. (#2138581, thanks to Vasily Postnicov)
optimization: (equal (array-dimensions a) (array-dimensions b)) does not cons intermediate lists.
optimization: (make-array (array-dimensions a)) does not cons a list.
New in version 2.6.0, 2025-12-28
Back to top
enhancement: the compiler will recognize certain combinations of high-level optimizations as expressible by shorter machine instruction sequences, documented in the manual under "Recognized idioms" in the "Efficiency" section.
enhancement: the SB-COVER code coverage tool can emit a report in a format compatible with the LCOV open-source tool.
bug fix: compiled code calling EXPT with constant integer exponent (or 1/2) and floating point base is more consistent with out-of-line EXPT. (#1899969, #2136082)
bug fix: fix SCALE-FLOAT on denormal floats. (#2000178, re-reported by Barton Willis)
bug fix: the system's test of constructing an ELF core is compatible with storing code coverage information. (#2131956)
bug fix: inconsistent result from SUBTYPEP on array types. (#2132250)
bug fix: the SB-COVER reporting utilities can now annotate source files containing array literals using #A( . ) syntax. (#2134290)
bug fix: compiler error resulting from losing some already-computed derived type information. (#2136852)
bug fix: miscompilation of DPB involving non-word-sized intermediate results but a word-sized final result. (#2137028)
bug fix: compiler error when asserting the result of a known non-list to be of a type union involving a CONS with a given CAR. (#2137030)
bug fix: miscompilation of DPB with constant byte positions above the number of bits in a word. (#2137046)
bug fix: miscompilation of PHASE with a negative zero argument. (#2137068, #2137119)
bug fix: failure to round-trip types involving positive and negative zeros of different floating point representations. (#2137140)
optimization: machine arithmetic can be used when bit-shifting bignum inputs in a modular arithmetic context.
optimization: extending an association list, including using backquote notation, is recognized as ACONS and is potentially stack-allocatable.
optimization: some intermediate copies of lists are elided for calls to maybe-copying operations surrounded by a call to COPY-LIST.
optimization: a number of comparison operations on rationals are simplified where possible.
optimization: a number of arithmetic operations recognize and elide double negations or calls to ABS.
optimization: tracking code with coverage information uses a weak vector per fasl file, rather than a list of per-function weak pointers.
optimization: REDUCE has been tweaked for better performance both on lists and vectors.
optimization: for simple-bit-vectors of the right alignment and length, REVERSE will operate a word-at-a-time.
New in version 2.5.11, 2025-11-30
Back to top
incompatible change: the compiler's internal representation of "source paths" for unquoted forms within backquotes has changed. Other developer tools using this representation, including callers of some exported SB-INTROSPECT functions, will misreport the location of signalled conditions and/or definitions in top-level forms including backquotes and commas.
minor incompatible change: undefined syntaxes following READ-BASE-related reader macros (such as #B, #O, #X, #R) now signal reader errors.
minor incompatible change: the convenience reader syntax pkg::(...) no longer triggers package locks for the PKG package.
minor incompatible change: building with the SB-DEVEL feature inhibits identical code folding at the end of the build of the SBCL system itself.
enhancement: improve the compiler's knowledge of the dimensions of the result of MAKE-ARRAY. (#2130477, thanks to Vasily Postnicov)
enhancement: the SB-COVER contributed module has been made substantially more robust; collecting coverage no longer inhibits various CLOS optimizations. (For SBCL developers, it is now capable of reporting on the coverage of the SBCL system itself, provided it is built with the new :SB-COVER-FOR-INTERNALS build-time feature.)
bug fix: REQUIREing the SB-MD5 contributed module no longer installs a compiler optimization policy restriction of SPACE being at least 1.
bug fix: don't miscompute the sizes of garbage collector data structures for running with dynamic space heap sizes above 128GiB.
bug fix: ENOUGH-NAMESTRING when the pathname and defaults arguments are both logical pathnames with the same host returns a shorter string than previously.
bug fix: the compiler retains fewer temporary data structures when compiling code with coverage data.
bug fix: requiring the SB-MD5 contrib module no longer installs a restriction on the SPACE optimization quality.
bug fix: internal compiler floating point error while compiling certain calls to CEILING. (#2132231)
bug fix: miscompilation of TYPEP on intersections of types including rational ranges. (#2132207)
bug fix: miscompilation of MISMATCH from insufficiently cautious type derivation. (#2132187)
bug fix: internal compiler error while compiling ASH from an incorrect consistency check. (#2132156)
bug fix: internal compiler error from missing constant-folding stub for internal function. (#2132126)
bug fix: miscompilation of GET-PROPERTIES at low SAFETY optimization qualities. (#2131985)
bug fix: internal compiler error while generating code for multiplications of fixnums where the result is also asserted to be a fixnum. (#2131894)
bug fix: the asserted real range of ATANH was incorrectly stated as [-1,1]. (#2131711)
bug fix: incorrect type error resulting from wrong type derivation of REDUCE #'LOGIOR. (#2131699)
bug fix: specialized XEPs should not be generated during block-compilation or interpretation. (#2131118)
bug fix: fix a wrong compiler transform for MAKE-ARRAY leading to miscompilation. (#2131048)
bug fix: miscompilation of type checks of (UNSIGNED-BYTE ) for large . (#2130028)
bug fix: it is now possible to inline functions containing SPECIAL declarations on symbols in locked packages. (#2129827, reported by Scott L. Burson)
bug fix: various internal compiler errors. (#2132022, #2129649)
bug fix: various wrong results and inconsistencies from SUBTYPEP on ARRAY types. (#2130374, #2130424, #2130441, #2130457, #2130508, #2130518, #2130526, #2130542, #2130588, #2130950, #2131079, #2131149, #2131179, #2131186, #2131271, #2131618, #2130262)
optimization: LOGTEST participates in compiler transforms related to modular (machine-sized) arithmetic.
optimization: more arithmetic combinations simplifications.
optimization: (car (list a)) doesn't allocate a list.
New in version 2.5.10, 2025-10-27
Back to top
platform support:
handling of "./" and "../" in pathname functions on Windows is improved. (#2125908, reported by khbit)
use x29 for the control frame pointer on arm64, improving backtrace tooling.
provide a plugin to lldb to display backtraces (contrib/lldb_bt.py).
an experimental option for performing GC without interrupting and stopping foreign function calls. Enabled via --with-nonstop-foreign-call (for arm64, x86-64 (outside of Windows, where that's already the case.))
bug fix: some interactions between TWO-WAY-STREAM (and ECHO-STREAM) and user-defined streams have been cleaned up.
bug fix: the SB-COVER contributed module can now annotate source files containing COMPLEX literals. (A number of other more minor cosmetic issues have also been fixed).
bug fix: compiler crash from reoptimizing with some stale type information. (#2125944)
optimization: SLOT-VALUE calls with known slot-name on values which are of type (OR NULL ) are transformed to a null check and a structure access.
optimization: the compiler will apply constraints to the result of calling RANDOM. (#2126978, thanks to Vasily Postnicov)
optimization: the compiler will perform type derivation on CL:APPLY called with a known function.
optimization: fusion of type checking and move of 64-bit integers is enabled on arm64 and x86-64.
optimization: allocation fusion for (PUSH (CONS A B) LIST) on x86-64.
optimization: improvements of type derivation for float rounding operations.
optimization: constant folding when one of the arguments is (if v constant1 constant2)
New in version 2.5.9, 2025-09-29
Back to top
minor incompatible change: remove (SETF SB-EXT:POSIX-GETENV), which only ever existed as an operator in SBCL on Windows.
minor incompatible change: (LOG -0.0) now returns SINGLE-FLOAT-NEGATIVE-INFINITY, more consistently with IEEE 754.
minor incompatible change: (EXPT 0.0 0.0) now returns 1.0, rather than signalling an error.
platform support
restore functionality on NetBSD. (thanks to Masatoshi SANO)
fix building SBCL as a shared library on ARM64. (#2122059, reported by Guillaume LE VAILLANT)
optimization: TYPEP with array types does less work in many cases.
optimization: COMPLEMENT on a known function can be transformed away in more cases.
optimization: calls to local functions with &REST arguments can be optimized in more cases.
optimization: bound checks can be eliminated in ROW-MAJOR-AREF based on constraints relating the index to the available array elements. (#2121253, thanks to Vasily Postnicov)
optimization: function type declarations no longer inhibit inlining local functions. (#2121351, reported by kbhit)
optimization: bulk movement of memory in the system is implemented with less overhead around memmove().
optimization: MAKE-ARRAY with dimensions coming from ARRAY-DIMENSIONS on an array with known dimensions avoids consing an intermediate dimensions list.
optimization: a number of arithmetic operators and relations in combination with some constant arguments do partial expression simplification at compile-time. (#2122063 for %NEGATE thanks to Vasily Postnicov)
New in version 2.5.8, 2025-08-29
Back to top
minor incompatible change: SB-THREAD:MAIN-THREAD-P can only be applied to threads, not arbitrary lisp objects.
minor incompatible change: the instruction-combining (peephole) optimization pass does not run if COMPILATION-SPEED has a higher value than SPEED.
platform support:
on arm64, provide better backtraces in the statistical profiler's reporting, along with better detection of assembly routines, local functions and callers of foreign code.
on ppc64le, make --dynamic-space-size behave as documented. (#2121255)
on x86-64, handle more cases in the ALU+TEST peephole optimization.
bug fix: for file-streams with :DIRECTION :IO, input and output file positions should no longer get out of sync. (#1600610, reported by Guillaume le Vaillant, test cases by Brent Benson)
bug fix: an infinite loop in SUBTYPEP for types involving negations of CONS of specialized ARRAY types. (#2114755)
bug fix: miscompilation of a CASE form with small numeric keys. (#2119035)
bug fix: anonymous alien structs definitions are deduplicated, making it harder to overflow internal data structures. (#2114943, reported by Brooke Tilley)
bug fix: allow ALU+TEST peephole optimizations to fire on x86-64. (#2120547, reported by Christoph Breitkopf)
bug fix: miscompilation of a LOOP form with rational arithmetic on variables involved in termination tests. (#2121178, reported by 3b)
bug fix: the compiler is better able to associate some forms in a macroexpanion with the original sources.
optimization: improve array construction with LIST or SEQUENCE :INITIAL-CONTENTS.
New in version 2.5.7, 2025-07-26
Back to top
enhancement: the encapsulate mechanism can be used to wrap functions that are currently not FBOUNDP.
bug fix: internal compiler error in a failure of stack analysis during propagation of dynamic-extent. (#2113935)
bug fix: address regression in type inference for TRUNCATE and other division-related operators. (#2115305, reported by Vasily Postnicov)
bug fix: cleanup of the main thread is performed more carefully when SBCL is used as a shared library. (#2115669, reported by Fedorov Alexander)
bug fix: the compiler does not lose track of the types of specialized external entry points for user-defined functions. (#2115955, reported by Matt Kaufmann)
bug fix: adjust compiler template argument acceptability for increased usage scope. (#2116150)
bug fix: provide a stub for ROTATE-RIGHT-WORD for constant-folding during compilation. (#2117080)
bug fix: provide a stub for %MAKE-DOUBLE-FLOAT for constant-folding during compilation. (reported by Eric Marsden)
bug fix: don't loop infinitely in the presence of type-mismatching circular #S read syntax. (reported by Bohong Huang)
optimization: calls to SLOT-VALUE (and related functions) within methods, on values that are not a specialized argument to those methods, are optimized similarly to calls to SLOT-VALUE in non-method code.
optimization: calls to REPLACE with VECTOR first argument and LIST second argument are improved.
optimization: TYPECASE over a set of structure types known not to be extensible is converted to an array lookup.
New in version 2.5.6, 2025-06-29
Back to top
enhancement: the compiler now recognizes when local functions (both named and anonymous) are used only as downward funargs in many situations and can stack allocate such closures even without explicit dynamic extent declarations. See the updated manual entry on stack allocation for more information and how user-code can declare funargs as downward.
minor incompatible change: optimization notes for a variable declared to be of type LIST will not be emitted for various transforms which are defined to operate on (OR NULL VECTOR).
minor incompatible change: some forms, including a THE form with an invalid type specifier, or a CASE form with bad entries, no longer produce a runtime error. (They continue to provide a full warning at compile-time).
platform support
on arm64, breakpoint-based stepping is now thread-safe.
on arm64, backtraces after interrupts should be more correct.
on x86-64 with the immobile-space feature, calling from assembly routines to lisp routines is more efficient.
if arenas are enabled, users can define a lisp function to act as a handler to customize behaviour on arena exhaustion.
bug fix: address several bugs related to dynamic-extent declarations, inference, and stack allocation.
bug fix: the stack return page protection is temporarily disabled during GC, so that GC can complete even if it needs to write in the return page.
bug fix: the compiler generates code to the right entry point for specialized functions. (#2111876, reported by Matt Kaufmann)
bug fix: the compiler's constraint derivation would sometimes not terminate. (#2113747)
bug fix: when the runtime structure representing a thread is re-used, the stack guard pages are restored.
bug fix: type checks for &OPTIONAL arguments are done only once.
bug fix: CEILING's docstring was wrong. (reported by Dave Tenny)
bug fix: APPLY could be called with too many arguments when parsing MEMBER type specifications. (reported by Zach Beane)
bug fix: the compiler could allow constant values of bad types to trigger optimizations. (#2113977)
bug fix: internal compiler error when attempting to write out a type check for a value already proved to never exist (i.e. be of type NIL). (#2112475)
optimization: better division for signed-word dividends and unsigned-word divisors on arm64 and x86-64.
optimization: improvements to subtraction involving bignums and words on x86-64.
optimization: perfect-hash-based transformations are applied to sequence functions with keys including fixnums and characters as well as symbols.
New in version 2.5.5, 2025-05-31
Back to top
minor incompatible change: the output from TRACE is now prefixed by a FRESH-LINE on TRACE-OUTPUT.
platform support:
- On Linux, the system is better at negotiating with the kernel to find locations for Lisp memory spaces, succeeding more often than previously.
bug fix: resolve signed/unsigned char mismatch in RUN-PROGRAM on Windows. (#2110525, reported by awlygj)
bug fix: compiler confusion given sufficiently complex derived type constraints. (#2109902)
bug fix: compiler inconsistency in low-level representation leading to inconsistent transformations. (#2109837)
bug fix: return NIL from calls to DOCUMENTATION on illegal function names.
bug fix: calls to APPLY or VALUES-LIST on some combinations of constant arguments could lose the constant nature after transformation. (thanks to Hayley Patton)
optimization: some micro-improvements to bignum operations, particularly on x86-64 and arm64
optimization: allow the result of MAKE-STRING to be allocated on the stack when :element-type is unknown.
optimization: the compiler will recognize the use of ZEROP on the results of LENGTH and REM (on suitable operands) to avoid full computation of the intermediate result.
New in version 2.5.4, 2025-04-28
Back to top
enhancement: :FUN-END breakpoints now support the known values return convention when DEBUG > 0. This means that tracing local functions works in more situations.
platform support:
on x86-64, relocation of static space is always enabled.
save-lisp-and-die with :callable-exports can be used for sbcl.dll on Windows.
Building with UCRT64 on Windows is now fully supported.
bug fix: :FUN-END breakpoints work on PowerPC, SPARC, and MIPS again.
bug fix: incorrect rounding when converting some bignums to floats.
bug fix: the second value of the truncation functions is more consistently computed for bignum floats.
bug fix: fix code generation for constants being considered from conflicting type propagation information. (#2107652)
bug fix: fix 32-bit range check code generation on x86-64. (#2106432)
bug fix: types are correctly propagated from the keyword argument processor to their uses. (#2106358, reported by Vasily Postnicov)
bug fix: fix compilation error from CHECK-TYPE when the value checked is a keyword argument and the type specifier argument is not a valid type specifier. (#2104089)
bug fix: generate stack-manipulation code in the presence of non-local exits and dynamic-extent declarations even more carefully. (#2043242)
optimization: (LOGIOR A (- (MASK-FIELD (BYTE 1 constantN) A))), or its equivalent (LOGIOR A (- (LOGAND (ASH 1 constantN) A))), is recognized as an idiom for sign-extending the N+1-bit field in A, and can be used for signed modular arithmetic.
optimization: ROUND is faster for floats.
optimization: TRUNCATE/FLOOR/etc. are faster on ratios.
optimization: MAKE-SEQUENCE does not invoke the full type algebra when the provided type specifier is simple.
optimization: don't attempt to align branch targets if the SPACE optimization quality is greater than 1.
optimization: circularity detection for printing now places its temporary data structures on the stack.
optimization: faster GCD on fixnums, especially when the difference in magnitude is large.
optimization: the implementation of ISQRT has been replaced with the (faster) algorithm currently implemented in CPython.
New in version 2.5.3, 2025-03-30
Back to top
enhancement: breakpoint debugger commands have been added. Included is a stepper based on breakpoints requiring no extra instrumentation. However, it still has less functionality than the existing single stepper. See the new debugger manual section titled "Breakpoint Commands" for more information on the new commands.
minor incompatible change: the behaviour of :save-runtime-options has been restored to match the documentation. (#2096995, reported by Zach Beane)
minor incompatible change: invoking CHANGE-CLASS from user code no longer grabs the CLOS world lock. Callers must take responsibility for ordering execution of CHANGE-CLASS and any changes to the class hierarchy.
platform support:
(CAS SAP) is implemented on ARM v8.1 directly with CAS instructions.
on x86-64, list constructors emit more compact code sequences, particularly in the presence of multiple references to the same object.
on x86 and x86-64, fix the stack overflow check to use signed comparisons.
on Darwin/arm64 and Linux/x86-64, provide a restart to disable floating-point exceptions of the type signalled, and another to disable all floating-point exceptions.
bug fix: cycle detection in class precedence lists happens before adding classes to the direct subclasses of the parent.
bug fix: stack-allocated unaligned cons cells no longer cause errors in the debugger.
bug fix: local function type declarations no longer inhibit tail calls in (SAFETY 0) code. (#2039301)
bug fix: bad or unknown type specifiers in CHECK-TYPE do not crash or slow down the compiler. (#2102644, #2102653, #2102714, #2104048)
bug fix: numerous bug fixes relating to the type system's handling of arrays make SUBTYPEP more reliable and less likely to express a contradiction. (#1996980, #2100563, #2100728, #2100779, #2100784, #2100812, #2100825, #2101192, #2101215, #2101803, #2102684)
bug fix: improve other aspects of the type system's self-consistency. (#2101073, #2101170, #2101183, #2101189, #2101399, #2101589)
bug fix: fix compiler type error when deriving the type of FTRUNCATE. (#2101073)
bug fix: fix compiler error when deriving constraints for single-floats. (#2102759)
bug fix: startup tuning for particular microarchitectures no longer accidentally disables one of the optimizations.
optimization: ROW-MAJOR-AREF is transformed to use the same array machinery as one-dimensional array references. (Thanks to Scott Burson for the suggestion)
optimization: list constructors emit shorter code sequences on x86-64, particularly in the presence of multiple references to the same object.
optimization: FLOOR and CEILING on ratios do not unnecessarily cons.
optimization: provide specialized CALL-NEXT-METHOD functions for the no-argument and full-argument cases.
New in version 2.5.2, 2025-02-28
Back to top
minor incompatible change: in some instances when the compiler cannot prove that a NIL-valued branch is unreachable, where NIL is not compatible with the expected type, a type warning will no longer be issued.
minor incompatible change: the compiler will more strictly treat type declarations for &OPTIONAL and &KEY arguments in FTYPE declarations, no longer effectively adding an implicit (OR ... ) type when the function itself has a default value not matching the declared type for that argument.
enhancement: type errors in structure constructors are now restartable, with a USE-VALUE restart provided.
enhancement: CHECK-TYPE warns about type conflicts at compile-time.
enhancement: FTYPE declarations for functions which set their parameters are checked.
enhancement: new print control variable SB-EXT:PRINT-CIRCLE-NOT-SHARED, when used in conjunction with PRINT-CIRCLE, prints #1# only for circularities and not simple sharing.
platform support
on Windows, make sure to commit memory after zeroing during save-lisp-and-die. (#2097197, reported by _3b)
on Linux, add the TCP_USER_TIMEOUT constant to SB-BSD-SOCKETS. (thanks to Mihai Bazon)
on *BSD, make TCP_KEEPCNT, TCP_KEEPIDLE and TCP_KEEPINTVL available where the OS supports it.
on x86-64, optimize BOUNDP for known-global symbols.
on x86-64, optimize KEYWORDP for some arguments.
on arm64, don't trigger an assertion when using FMOV on complex single-float registers.
on arm64, improve type checking for (AND SYMBOL (NOT NULL)).
bug fix: using structure read macros with shared structure markers no longer signals type errors when the shared structure is in a slot with a type. (#308936)
bug fix: non-conforming user macros which modify their source no longer trigger internal errors. (#1371719, reported by _3b)
bug fix: the combination of CONSTANTLY and DYNAMIC-EXTENT declarations no longer causes an internal compiler error. (#2059950, reported by bohonghuang)
bug fix: treat inlined functions analogously to constants in the compiler. (#2095560, reported by Vasily Postnicov)
bug fix: FTYPE declarations for &optional and &key arguments do not include default values when checking types.
bug fix: Storing coverage data no longer leads to miscompilations allowing reachability of unreachable code. (#2092451, reported by mrkissinger)
optimization: elide bounds-checking for multidimensional arrays with known dimensions. (reported by aeth)
optimization: alien callbacks are generally less heavyweight.
optimization: REMOVE shares the tail of the input list when there's nothing to remove.
New in version 2.5.1, 2025-01-31
Back to top
minor incompatible change: SBCL now reveals details of its COMPLEX representations through UPGRADED-COMPLEX-PART-TYPE, rather than hiding them.
minor incompatible change: the compiler will warn on the use of a SATISFIES type with an undefined function. (#576608, reported by Roman Marynchak)
minor incompatible change: (room t) now counts the space taken by the internals of hash-tables and CLOS instances.
platform support
fixes to the included version of ASDF, and to sockets functions, for the Haiku operating system. (thanks to Alexandru Popa)
add support for CAS (compare-and-swap) on SAPs for arm64, x86-64 and (partially) RISC-V. (#1894057, reported by Yukari Hafner)
the system is now consistent with 64-bit time_t on 32-bit linux platforms. (#2063340, reported by Peter van Eynde)
restore building on 32-bit ARM with newer gcc versions. (#1839783, reported by Sébastien Villemot)
fix large stack allocation on 64-bit Windows.
CL portability fixes to the definitions of certain compiler structures, detected by CLISP. (#2064301, #2064312, thanks to Robert Brown)
bug fix: a misplaced assertion regarding weak hash tables would trigger if a garbage collection hit at just the wrong time. (#2096998)
bug fix: structure BOA constructors with &REST arguments no longer cause structure slots named NIL or T to be unconditionally initialized with the values NIL and T respectively.
bug fix: structure BOA constructors without values for some slots no longer cause compilation errors for initforms that are not a single variable.
bug fix: sequence functions handle :TEST and :TEST-NOT both being given uniformly. (#309143)
bug fix: the type system is better equipped to handle complicated unions of numeric types. (#308937, #1694839, #1734959, #2073544)
bug fix: misoptimization of VALUES-LIST in the presence of intervening stack operations. (reported by haruhi.s)
bug fix: apply the limit to inline expansions more selectively. (#2092518, reported by Andrew Kravchuk)
bug fix: compiler-detected type mismatches are reported even given the presence of inlined functions. (#2092613, reported by Vasily Postnicov)
bug fix: improved type error detection for inlined array construction forms. (#2092889, reported by Vasily Postnicov)
bug fix: accesses to multidimensional arrays are now checked based on the (internal) INSERT-ARRAY-BOUNDS-CHECKS declaration, as with one-dimensional arrays. (#2095155, thanks to Vasily Postnicov)
bug fix: sb-bsd-sockets:socket-connect handles EINTR caused by GC signals.
New in version 2.5.0, 2024-12-29
Back to top
platform support:
- improve support for the Haiku operating system. (thanks to Al Hoang, Estevan Castilho and Alexandru Popa)
bug fix: generic functions with a large number of required arguments, with methods with specializations on exactly STANDARD-OBJECT or FUNCALLABLE-STANDARD-OBJECT, test the types of their arguments more correctly.
bug fix: defining a method on SB-MOP:SLOT-VALUE-USING-CLASS where the object argument is specialized to a CONDITION-CLASS no longer leads to an internal error.
bug fix: the dissassembler on x86-64 correctly disassembles the vcvttpd2dq AVX2 instruction.
bug fix: ensure that the dispatch function for generic functions is compiled with a known compilation policy. (reported by Neil Goldman)
bug fix: the compiler retains less intermediate data between COMPILE-FILE forms. (#1557590, reported by andy arvid)
bug fix: the (invalid) :INITARGS slot option keyword is reported on. (#1887014, reported by Wayne Rittiman, Jr)
bug fix: the SB-SIMD s16.8-maddubs accepts packs of 16 8-bit quantities, not 8 16-bit quantities. (#2069538, reported by Georgios Makris)
bug fix: compiling a TYPECASE to dispatch between many user-defined classes no longer takes exponential time. (#2089311, reported by Tomas Hlavaty)
bug fix: derive the new type for a variable when setting it to a function of its previous version. (#2090997, reported by Vasily Postnicov)
bug fix: properly clear compiler annotations on variables set to new values involving functions of themselves. (#2090967, reported by Kirill A. Korinskiy)
bug fix: handle BY in LOOP forms involving iteration on the reverse of a list. (#2091210, reported by James Kalenius)
bug fix: fix miscompilation of IF where the consequent and alternative would have the same value but for an intervening side-effect. (#2092588, reported by JA)
optimization: SLOT-VALUE and (SETF SLOT-VALUE) on method arguments specialized to structure classes are compiled to the corresponding structure accessor.
optimization: calls to SLOT-VALUE (and related operators) on method arguments specialized to instances of SB-MOP:FUNCALLABLE-STANDARD-CLASS are optimized similarly to calls on method arguments specialized to instances of STANDARD-CLASS.
optimization: (coerce (reverse list) 'vector) doesn't cons a list.
optimization: (replace vector (reverse list)) doesn't cons a list.
New in version 2.4.11, 2024-11-30
Back to top
enhancement: define SB-EXT:DEFAULT-SOURCE-EXTERNAL-FORMAT as the external format for reading source files (for direct use in LOAD and COMPILE-FILE). On Windows, this defaults to an external format with CRLF line-endings. (#720517, reported by Mark David)
minor incompatible change: the documentation of SB-SEQUENCE:MAKE-SEQUENCE-LIKE has been altered to match its implementation regarding the (un)initialization of the sequence if neither :INITIAL-CONTENTS nor :INITIAL-ELEMENT is provided.
minor incompatible change: the outputs from SB-GROVEL no longer contain calls to SB-GROVEL::DEFINE-FOREIGN-ROUTINE, but call SB-ALIEN:DEFINE-ALIEN-ROUTINE directly; the definitions of some other SB-GROVEL utilities has also changed.
platform support:
The system is more likely to build with the musl C library. (thanks to Masatoshi SANO)
It is possible to build 32-bit binaries on NetBSD/x86-64 systems. (thanks to Masatoshi SANO)
Stale big-endian ARM code in callbacks is no longer present. (#2087866, reported by Rongcui Dong)
Correct the encoding of the VPSHUFD AVX2 instruction. (reported by Dmitry Ignatiev)
Implement the PINSRQ SSE instruction and provide access to it in SB-SIMD.
Fix some signed/unsigned and 32-bit issues in the runtime leading to problems with large --dynamic-space-size. (#2087986)
bug fix: cross-reference information about structure accessors is preserved when compilation policy requires it.
bug fix: changing &ALLOW-OTHER-KEYS in a generic function's lambda list needs to invalidate the effective methods cache. (reported by Robert Strandh)
bug fix: calling DISASSEMBLE on a method-function provides a more useful disassembly.
bug fix: PROCESS-CLOSE no longer leaks a zombie process.
bug fix: interaction between SYMBOL-MACROLET and SPECIAL declarations is handled more correctly in the code walker. (#1053198)
bug fix: better scaling when compiling large numbers of calls to local functions. (#1379661, reported by 3b and Burton Samograd)
bug fix: allow the compiler to approximate types involving large bignums or ratios with large numerator or denominator. (#2085637)
bug fix: miscompilation of type tests involving STRUCTURE-OBJECT. (#2088417)
optimization: CONCATENATE with consing arguments can elide some of the intermediate consing.
optimization: the implementations of various external-formats have been sped up.
optimization: elide %SAP-ALIEN calls if all uses dereference the resulting ALIEN object.
optimization: faster (expt integer integer) when computing fixnum results.
optimization: (ash unknown-integer right) can use modular arithmetic.
optimization: (apply x ... list) avoids consing intermediate lists in more situations.
optimizations for arm64, x86-64:
AREF on non-simple arrays with known element type is faster, along with uses such as LOOP ACROSS, VECTOR-PUSH/POP/EXTEND.
SIMD variants for POSITION for strings, 8 and 32 bit integer arrays.
faster overflow checking for (the fixnum (+ fixnum fixnum))
New in version 2.4.10, 2024-10-30
Back to top
minor incompatible change: SB-POSIX::POSIX-FORK is no longer exported from SB-POSIX. (The interface function, SB-POSIX:FORK, remains exported).
platform support:
fix bugs in instruction encoding on RISC-V; (reported by Guillaume Le Vaillant)
fix the location of the linkage-table comment in disassembly on 64-bit powerpc;
elide allocation of empty number stack frames on arm64;
fix crash on x86 platforms in compiling array dereferencing with computed offsets with negative intermediate results. (#2084943)
enhancement: the error message from standard object slot typecheck functions in optimized constructors is clearer about the context of the failed type check.
enhancement: BREAK is no longer tail-called, even when in tail position.
enhancement: on arm64 and x86-64, specialized entry points for functions known to take or return fixed numbers of double floats are generated and can be automatically called without boxing intermediate floats.
bug fix: RUN-PROGRAM no longer leaks memory by referencing otherwise unreachable stream instances.
bug fix: exporting or unexporting symbols during package iteration no longer causes any symbol to be visited more times than expected.
bug fix: DISASSEMBLE preserves the comment marker across line-breaks for long function or segment names. (#1889456, thanks to Fedorov Alexander)
bug fix: the compiler no longer loops infinitely trying to compile NOTINLINE calls to known functions with source transform definitions. (#2085451, reported by Fedorov Alexander)
New in version 2.4.9, 2024-09-29
Back to top
minor incompatible change: FIND, POSITION (and variants) now check :START and :END arguments for validity as bounding index designators for list sequences.
platform support:
improve support for Solaris and variants on x86 and x86-64. (thanks to Masatoshi SANO)
fix a bug in handling timeouts and interrupted system calls in SB-UNIX:UNIX-SIMPLE-POLL. (#2078824, thanks to Michał phoe Herda)
fix a bug in the lisp understanding of ssize_t under Windows.
fix large constant encoding in RISC-V. (#2077307, reported by Guillaume LE VAILLANT)
more parsimonious low-level type tests on arm64.
building from the result of git-archive should complete without error.
bug fix: exporting a symbol during package iteration no longer skips other symbols. (#2080387, reported by kbhit)
optimization: improvements to EQ hash tables and associated hash functions.
optimization: type checking of string and string-designator is more efficient.
optimization: the compiler better understands the nature of the results of CONCATENATE.
New in version 2.4.8, 2024-08-29
Back to top
bug fix: the elftool utility finds a writeable directory in more situations. (thanks to Shinmera)
bug fix: SLOT-MAKUNBOUND does not attempt to dereference a PROGN variable in the interpreter.
bug fix: READ-SEQUENCE into displaced arrays with a non-zero offset now writes to the right memory location.
bug fix: fix some erroneous file position calculations in the editcore utility (exposed by a change in the libzstd compression implementation).
bug fix: do not break the build on STYLE-WARNINGs for earlier SBCL build hosts. (#2064671, reported by Patrick Poitras)
bug fix: various bug fixes for ppc64le (#2074275, reported by Claude R. C.)
bug fix: address a rounding error in the TAN type deriver which led to a miscompile in cl-pdf. (#2077100, reported by Gian Pierro Carrubba)
bug fix: overoptimization of FIND with a :TEST of CHAR-EQUAL. (#2077539)
optimization: detection of duplicate names in loaded code now scales subquadratically.
optimization: switch from Floyd's to Brent's cycle detection for lists.
optimization: EQUAL on lists should be faster.
optimization: fewer filesystem operations are performed when working out what to LOAD.
optimization: various microoptimizations on hash tables and associated operations.
optimization: strings are now hashed using FNV-1A, replacing Bob Jenkins' one-at-a-time hash.
optimization: fewer redundant validations of the sequence bounding indices in POSITION on strings.
optimization: many improvements to type derivation on the arguments to and results of standard functions
optimization: adding many (hundreds) methods to a generic function can be done faster.
New in version 2.4.7, 2024-07-27
Back to top
minor incompatible change: the compiler will emit optimization notes related to complex type checks only at high SPEED optimization settings.
minor incompatible change: the GET-FOREGROUND symbol is now exported from the SB-THREAD package. (thanks to Philipp Marek)
minor incompatible change: code objects are now printed with their ending address as well as their start address.
platform support:
fix occasional saved core corruption on Win32. (reported by Luís Borges de Oliveira)
address some crashing cases in arena support. (reported by Andreas Franke)
fix a hard-coded path to
cp. (thanks to Hraban Luyat)address relocation issues on PIC-flavoured arm64. (#2067153, thanks to leafze)
fix a crash in the arm64-dissassembler if a code component is missing.
fix a crash on 32-bit musl libc systems. (reported by Will Sinatra)
fix building with link-time optimization. (#2072800, reported by Eli Schwartz)
fix building with newer llvm. (#2071545, reported by Yan)
mitigate the lack of gc-safety in SB-VM::REMOVE-STATIC-LINKS. (#2045433)
bug fix: COMPILE installs its second argument as the value of its non-null NAME argument, even if the second argument was already compiled. (#2071324, reported by Tim Bradshaw)
bug fix: allow the hashing routines in sb-md5 to work on arrays with more than 2^29 elements.
bug fix: allow READ-SEQUENCE and WRITE-SEQUENCE to read and write files bigger than 4GB.
bug fix: READ-SEQUENCE returns the index of the first unmodified element of its sequence. (reported by Janis Dzerins)
optimization: various improvements to floating point rounding routines.
optimization: PHASE called on the result of COMPLEX now elides the intermediate COMPLEX object.
optimization: the compiler is more aware of the types of COMPLEX, ATAN, APPEND and NCONC.
New in version 2.4.6, 2024-06-29
Back to top
enhancement: name conflicts resulting from colliding symbols in IMPORT and USE-PACKAGE are resolved once for each name, rather than between pairwise colliding symbols.
enhancement: calls to structure constructors with type mismatches in default initforms cause compile-time warnings.
platform support:
fix constant-folding of %log1p and %log2 on 32-bit x86.
fix the encoding of popcntd on ppc64
bug fix: EXPORT could be tricked into exporting two distinct symbols of the same name from the same package.
bug fix: two-argument calls to LOG with arguments of different precision do not lose accuracy through insufficiently-precise intermediate values.
bug fix: :NEWLINE options in DEFAULT-EXTERNAL-FORMAT are respected when opening files. (reported by Marco Antoniotti)
bug fix: extend type declarations for the iteration variable of DOLIST with NULL during the evaluation of the result clause. (#942237)
bug fix: #\uE0 (LATIN CAPITAL LETTER A WITH GRAVE) was incorrectly not downcased with STRING-DOWNCASE. (#2067841, reported by Matt Kaufmann)
bug fix: backquoted lists as arguments to MAKE-ARRAY were miscompiled. (#2069345, reported by Dan Bothell)
bug fix: resolve the circularity between the type system and the CLOS metaobject protocol more robustly. (#2069502, reported by Jan Moringen)
bug fix: misplaced tilde in a logical pathname error message. (#2069995, thanks to Marco Heisig)
optimization: various speedups to UTF-8 based external format streams and other stream routines.
New in version 2.4.5, 2024-05-30
Back to top
incompatible change: attempting to pass or return alien structs by value now signals errors. Previously, such attempts would silently tend to corrupt registers or memory; there is work in progress to allow such calls conforming to the platform ABI. (thanks to Rongcui Dong)
minor incompatible change: function debug info is compressed only if the system is compiled with libzstd, rather than falling back to a pure-lisp compression implementation.
minor incompatible change: the compiler will warn in more cases when it can detect incorrectly-typed arguments to FORMAT directives ~C and ~R
minor incompatible change: strings are converted to a more compact representation if possible before being used as docstrings.
platform support:
explicitly include stdlib.h where needed on OpenBSD. (thanks to Sebastien Marie)
make the editcore utility work on Windows. (thanks to Luís Borges de Oliveira)
fix memory initialization in RUN-PROGRAM on Windows.
resolve a deadlock in %INTERRUPT-THREAD on Darwin. (#2062940, reported by Yan)
hang on startup under some terminal emulators on OS X 14.5. (#2067313, reported by Richard M Kreuter)
enhancement: when (> debug 1), try to find source locations for code expanded from macros that copy their input forms.
bug fix: the method-combination generic function caches were missing some of the generic functions constructed during the PCL build itself. (reported by Didier Verna)
bug fix: SXHASH on equal PATHNAME objects could return different values in different cores. (reported by Luís Borges de Oliveira)
bug fix: spurious compiler warnings on SORT in some circumstances. (#2065609, reported by William G Lederer)
optimization: faster bignum addition and negation on arm64, x86-64.
optimization: faster type tests for (unsigned-byte X) for X being multiples of the platform word size, on arm64, x86-64.
New in version 2.4.4, 2024-04-29
Back to top
minor incompatible change: after-GC hooks are now called in the finalizer thread on threaded builds.
platform support:
- on win32 on 64-bit systems, clear x87 state as well as SSE state after an exception. (#2000435, reported by David Scherfgen)
enhancement: type assertions resulting from declarations involving variable numbers of multiple values are now checked.
enhancement: support for memory allocation arenas is now available on the arm64 platform.
enhancement: the cross-referencing facility is now able to handle anonymous functions.
enhacnement: the SB-INTROSPECT contrib finds callees in methods of generic functions.
bug fix: inconsistency in VOP definitions implementing DPB. (#2059842)
bug fix: MASK-FIELD miscompilation. (#2059849)
bug fix: caching a state-dependent type function leads to wrong type inference further down the line. (#2059888)
bug fix: internal consistency violation after failing to apply a MAKE-ARRAY transform. (#2060083)
bug fix: check the array index before constant-folding an array reference. (#2060347)
bug fix: don't try to apply type constraints from SATISFIES types. (#2060756)
bug fix: the JOIN-THREAD-PROBLEM function is now exported from the SB-THREAD package. (#2063385, thanks to Benjamin Lee)
bug fix: compare-and-swap works as expected on SLOT-VALUE of FUNCALLABLE-STANDARD-OBJECT instances. (reported by qhong)
bug fix: on arm64, and x86-64 with some non-default build options, integer rounding functions treat minus zero more consistently.
bug fix: disassembly of stack allocation of vectors caused a crash. (reported by bohonghuang)
bug fix: don't leak memory when decompressing a compressed core.
optimization: the amount of space needed for debug-info is about 50% less, leading to a total default image size reduction of more than 10%.
optimization: on arm64 and x86-64, encoding constants in machine code is sometimes smaller.
optimization: on arm64 and x86-64, list accumulation is done with less space overhead.
optimization: APPLY can apply a function to the REST of a &REST list without additional consing.
New in version 2.4.3, 2024-03-29
Back to top
enhancement: when dumping debug information to fasl files, the system respects the SOURCE_DATE_EPOCH environment variable (if set) as the latest timestamp to be used.
contributed module: the sb-perf contributed module, an interface originally by Luke Gorrie to Linux's perf, is now included by default on Linux. (Thanks to Philipp Marek)
platform support:
on Linux and BSD variants, timezone querying is now faster.
Arm64/Darwin: allow configuring the system with a relocatable static space.
PPC64: allow configuring the system with fasteval.
bug fix: erroneous transform of EQUALP on characters (#2055425)
bug fix: float rounders (FTRUNCATE and related functions) handle minus zero more consistently, returning minus zero as the primary value when rounding to zero from a negative value.
bug fix: type checks for (VECTOR T) were giving the wrong answer for vectors displayed to simple multi-dimensional arrays. (reported by _death)
bug fix: do not transform away division by BIT when the BIT might still include 0. (#2056184, reported by xizang)
bug fix: various errors related to imperfections in the perfect hash generator. (#2055794, #2056341)
bug fix: respect declarations for symbol macros inside defmethod. (#2056514, reported by Jonathan Braud)
bug fix: failure to set structure slots to floats on Arm64. (#2058148, reported by Bibek Panthi)
optimization: improvements to the implementation of CASE.
optimization: faster PARSE-INTEGER :radix 10/16 on word-sized integers.
optimization: improvements to LOGBITP.
New in version 2.4.2, 2024-02-29
Back to top
bug fix: restore the ability to inherit from both SEQUENCE and SB-MOP:FUNCALLABLE-STANDARD-OBJECT. (#2050088, reported by Christophe Junke)
bug fix: COERCE will not convert lambda forms to functions if given a type naming a (strict) subclass of FUNCTION.
bug fix: LOG with a double-float and a ratio argument (in either order) do not lose precision through a single-float intermediate argument.
bug fix: LOG to the base 2 of integer powers of 2 are more likely to get the mathematically precise answer.
bug fix: LOG on ratios very near 1 with numerator or denominator being near a power of 2 will use log1p and so will lose less precision.
bug fix: the utf-8 external format with Unix line-endings updates its character size information when taking the fast path for a buffer of ascii characters. (#2054169, reported by John Carroll)
bug fix: don't print the contents of a possibly no-longer-valid dynamic-extent cons in PRINT-OBJECT method for THREAD objects. (#2026195, reported by Jake Connor)
bug fix: place external entry points for functions consistently before any local functions. (#2051169, reported by Fedorov Alexander)
bug fix: remove unactionable optimization notes for backquoted forms and ordinary calls to APPEND at high speed. (#2051401, reported by Robert Brown)
bug fix: infinite loop in COPY-SEQ on zero-length arrays of element-type NIL. (#2051759, reported by Devon Sean McCullough)
bug fix: fix compilation of non-top-level struct constructors. (#2052329, reported by Robert Poitras)
bug fixes in SB-SIMD:
optimization: a number of internal tables, particularly those related to Unicode support have been converted to use perfect hash mechanisms, improving both speed and space.
optimization: FIND, POSITION, ASSOC and RASSOC with constant sequence arguments containing symbols as keys are compiled to perfect hash lookups.
optimization: the compiler runs a jump-to-jump elimination pass on x86-64.
system integrity: compiling the system itself on x86-64/linux now produces bitwise-identical cross-compiled fasls whether the build host is cmucl, ccl, clisp or sbcl itself.
New in version 2.4.1, 2024-01-28
Back to top
enhancement: compact instance headers are partially supported with the mark-region parallel garbage collector.
enhancement: functions with declared return types have their return values type-checked in optimization regimes with high SAFETY and (DEBUG 3).
platform support:
disable ASLR on FreeBSD. (#2047655, thanks to Konstantin Belousov)
link to libpthread on FreeBSD. (thanks to Konstantin Belousov)
restore build on 64-bit riscv. (#2034713, #2048869, reported by Guillaume LE VAILLANT)
restore build on 64-bit ppc.
fix case in referring to a header file. (#2047726, thanks to Andrew Kravchuk)
the fastrem-32 feature (for optimized computations of FLOOR) is now available on all platforms.
bug fix: resweep moved lines after compaction in the mark-region parallel garbage collector.
bug fix: infinite loops in the compiler on some constructs with SATISFIES types. (#2047289, #2047706, #2049631)
optimization: various hash tables implementing part of the system (packages, Unicode data tables) have been converted to use perfect hash functions.
optimization: TYPECASE on structure class hierarchies is implemented using a perfect hash.
optimization: eliminate bound checks with relative offsets. (#1830314)
optimization: the compiler has more knowledge of how to optimize DIGIT-CHAR.
optimization: the compiler can elide intermediates for some calls to APPLY, CONCATENATE and MAKE-ARRAY with arguments that are freshly-consed modifications of existing sequences.
optimization: (LOOP FOR X IN (REVERSE LIST) ...) is now faster and conses less.
optimization: (LOOP ... APPEND ...) is more compact, and does less work if appending NIL.
optimization: type tests of various array types are faster and shorter.
New in version 2.4.0, 2023-12-28
Back to top
minor incompatible change: COMPILE-VERBOSE and LOAD-VERBOSE are bound to NIL when the system is started with the --script command-line argument. (reported by Hraban Luyat, thanks to Nicolas Martyanoff)
minor incompatible change: when looking for its core file, the system checks the validity of whatever is pointed to by /proc/self/exe, and assesses argv[0] if /proc/self/exe is invalid. (thanks to Philipp Marek)
minor incompatible change: the system no longer provides type names on the standard (CL) symbols ARRAY-RANK, ARRAY-TOTAL-SIZE, PATHNAME-HOST, PATHNAME-TYPE, PATHNAME-DIRECTORY, FLOAT-RADIX or FLOAT-DIGITS. (#2045559)
platform support:
the mark-region parallel garbage collector can be enabled on arm64. (Thanks to Hayley Patton)
fix build on modern FreeBSDs. (#2046966, thanks to David J. Flander)
bug fix: restore compiler type inference correctness on calls to REDUCE with :INITIAL-VALUE but no :FROM-END. (#2044856, reported by Patrick Poitras)
bug fix: compiler error when declaring SB-EXT:MUFFLE-CONDITIONS on an unknown type. (#2045442)
bug fix: the disassembler provided non-pretty output for registers in some cases. (#2046004, reported by Fedorov Alexander)
bug fix: the system is slightly less likely to exhaust the stack again when reporting a control stack exhaustion error.
optimization: GC write barriers are eliminated in more cases.
optimization: improved type derivation of iteration variables with mixed types.
optimization: remove unused initial values from LET bindings, improving register type selection.
optimization: lower EQUALP/EQUAL/EQL to EQL/EQ in FIND/MEMBER based on the input types.
optimization: better type derivation for DPB, LOGIOR.
New in version 2.3.11, 2023-11-27
Back to top
minor incompatible change: streams with an external-format specified with :REPLACEMENT will use their replacement data once per stream unit that causes a decoding error (rather than, in some cases, once for a sequence of bytes none of which is a valid character start position for that external-format).
minor incompatible change: external-format designators with unsupported or unrecognized options now signal an error when used.
enhancement: During generic function dispatch, for a generic function using standard- or short-method-combination, if there are no applicable primary methods the system will call the generic function SB-PCL:NO-PRIMARY-METHOD, whose default behaviour is to signal an error. Users may define methods on this generic function.
enhancement: external formats for unibyte encodings and utf-8 now support newline variants.
enhancement: character decoding and encoding errors signalled by stream or octet functions now provide a USE-VALUE restart for handlers to provide replacement input or output.
enhancement: READ-SEQUENCE and WRITE-SEQUENCE support user-defined sequences; the default implementation proceeds element-by-element, reading or writing single bytes or characters to or from the stream as appropriate.
bug fix: OCTETS-TO-STRING using unibyte external formats with unallocated codepoints (e.g. iso-8859-3) correctly signal or use replacements rather than taking bits from the address of NIL and converting those bits to a character.
bug fix: FILE-STRING-LENGTH now returns NIL if the input datum is not encodable in the stream's external format.
bug fix: table-based multibyte external formats (EUC-JP, Shift-JIS, GBK) now honour a replacement character (in the external format or through restarts) when encoding to octets.
bug fix: converting from octets using the UCS-2, UCS-4 and UTF-32 external formats no longer reads past the end of an octet array with a non-integral number of two- or four-byte units.
bug fix: converting from octets using the UCS-2, UCS-4, UTF-16 or UTF-32 external formats now returns a simple string, as required by the type declaration of OCTETS-TO-STRING.
bug fix: providing an invalid external format argument to OPEN or WITH-OPEN-FILE (or the internal MAKE-FD-STREAM) no longer leaks a file descriptor.
bug fix: SB-ROTATE-BYTE recognizes out-of-relevant-range BYTE specifications for integers before attempting to cons up enormous bignums for masking and shifting. (#2042937)
bug fix: fix type derivation on compiling SB-ROTATE-BYTE forms with non-zero POSITION in the byte specifier. (#2042775)
bug fix: fix multiple assembler errors when compiling MAKE-ARRAY, MAKE-STRING and similar with a large constant size. (#2037347, #2038744)
bug fix: fix internal error when compiling (SETF SBIT) with a large constant index. (#2037415)
bug fix: fix internal compiler error on invalid lambda list parameters in LABELS. (#2040334)
bug fix: fix internal compiler error when compiling some infinitely-recursive LABELS forms. (#2042704)
bug fix: fix internal compiler error when attempting to inline a jump to a label that has been deleted. (#2043262)
bug fix: FILL-POINTER should never be made to go negative. (#2042452)
optimization: external formats with :REPLACEMENT no longer bind handlers for coding errors around conversion functions, and so should cons less and be faster.
optimization: when the :EXTERNAL-FORMAT argument to STRING-TO-OCTETS or OCTETS-TO-STRING is a compile-time constant, the external format is resolved at load time rather than on each call.
optimization: the compiler is able to constrain the types of inputs to some functions given a derived or asserted type of the function's return value.
optimization: the compiler performs fewer redundant type checks in ASSOC, GETF and similar functions.
New in version 2.3.10, 2023-10-30
Back to top
enhancement: The compiler now allows stack allocating vectors of any size on all safety levels, not just those which it can prove are of sub-page sizes. It can do this because it now inserts code to check for stack overflow explicitly on higher safety levels.
enhancements to the disassembler:
- on arm64, x86-64, DISASSEMBLE annotates references to static symbols.
bug fix: calls to generic functions now detect erroneous keywords (in the sense of CLHS 7.6.5) passed as arguments even when auxiliary methods are applicable.
bug fix: the standard method on SB-MOP:COMPUTE-EFFECTIVE-METHOD no longer inserts calls to implementation-defined local macros. (reported by Daniel Kochmański)
bug fix: compiler error from state-machine-like LABELS forms in some circumstances. (#2037318)
bug fix: fix compile-time error in constant-folding RATIONAL on literal float infinities. (#2037455)
bug fix: failure on x86-64 to assemble code for EQL tests of comparisons with immediates. (#2037456)
bug fix: infinite loop in the compiler for simplification of type tests of complicated union types. (#2038112, reported by Paul M. Rodriguez)
bug fix: inability to dump a literal displaced array containing copies of its displacement target. (#2038233, reported by James Kalenius)
bug fix: compiler error in LOGBITP type derivation. (#2038241)
bug fix: compiler error in AREF type derivation. (#2038659)
bug fix: compiler internal consistency failure in overflow type checks. (#2038736)
bug fix: work around an infinite loop in type simplification by not providing such types from the compiler. (#2038980, reported by Richard Holcombe)
bug fix: spurious run-time argument count errors from generic function calls on arm64. (#2039006, reported by fiddlerwoaroof)
bug fix: errors in SCALE-FLOAT on floating-point infinities. (#2039613)
bug fix: ROOM is slightly more robust to incompletely-initialized instances at the point of running ROOM. (Reported by Andreas Franke)
bug fix: finalizers saved through SAVE-LISP-AND-DIE and subsequently executed do not trigger memory faults. (Reported by Bohong Huang)
optimization: improvements to type derivation for ISQRT, INTEGER-LENGTH, LOGCOUNT, LOG, DENOMINATOR.
New in version 2.3.9, 2023-09-28
Back to top
enhancement: stack allocation via DYNAMIC-EXTENT now applies to all values that a variable can take on (for example via SETQ), not just the initial binding. This permits for example building complex or recursive structures on the stack more easily via iteration. See the updated manual entry for more details.
minor incompatible change: some interfaces in the SB-POSIX contrib module adhere to the spec that a NULL result from the C library is an error if and only if errno was altered by the call. SYSCALL-ERROR will be signaled if so.
enhancement: the SB-POSIX contrib module provides DO-PASSWDS and DO-GROUPS to allow users to iterate over password and group databases safely.
platform support:
- support for Darwin on x86 and PowerPC has been restored. (#2033287, thanks to Kirill A. Korinsky, Sergey Fedorov and barracuda156)
bug fix: miscompilation due to erroneous type derivation in the presence of multiplication of fixnums by ratios. (#2033695, reported by Patrick Dussud)
bug fix: compiler error when compiling signed- and unsigned 64-bit type checks in some cases. (#2033997, reported by Eric Smith)
bug fix: compiler error when the :INITIAL-CONTENTS argument to MAKE-ARRAY is a constant non-sequence. (#2037328)
bug fix: compiler error when constant-folding sequence functions with :TEST or :KEY functions erroring on the given sequence. (#2037341)
bug fix: compiler error when arguments to array or sequence functions imply a very large sequence size. (#2037443, #2037348)
bug fix: compiler error when the return value of ADJUST-ARRAY is not used. (#2037450)
optimization: function types derived by the compiler can in some cases be propagated backwards through the intermediate representation.
optimization: better type derivations for LDB, LOGBITP, RATIO.
optimization: eliminate bound checks in more cases involving transitive comparisons.
New in version 2.3.8, 2023-08-28
Back to top
enhancement: a mark-region parallel garbage collector is available as a build-time option; it can be enabled by adding
--without-gencgc --with-mark-region-gcto the build command line. (Thanks to Hayley Patton)enhancement: Stack allocation via DYNAMIC-EXTENT is now possible for conditionals even when not all branches are stack-allocatable. Previously all branches needed to be stack-allocatable for the otherwise-inaccessible subparts to get stack allocated.
platform support:
on Mac OS X Sonoma, loading the memory image no longer fails. (#2029430, reported by cladur)
on Darwin, we no longer reimplement nanosleep().
on PPC64, undefined function errors now work.
on ARM64/OpenBSD, enable the GCC TLS feature. (thanks to Sébastien Marie)
when building the system, only display a reasonable amount of timing precision. (thanks to Philipp Marek)
bug fix: handling of inlining functions compiled to return unboxed values no longer crashes the compiler. (#2029020, reported by Pascal J. Bourguignon)
bug fix: the source location for code executed within a top-level (EVAL-WHEN (:COMPILE-TOPLEVEL) ...) form is now more useful.
bug fix: address a race between user threads cancelling finalizers and the finalizer thread executing them. (#2029306)
bug fix: complex division returns the same value when evaluated inline and out-of-line. (#2030097)
bug fix: the pretty-printer no longer deletes syntactically-significant whitespace immediately preceding a newline. (#1985814, reported by Mark David)
optimization: the compiler is more aware of the result type of the NUMERATOR function.
optimization: EQUAL and EQUALP compile to more efficient code when the two arguments are known to be of the same nullable type.
optimization: converting bignums to floats uses no intermediate memory.
New in version 2.3.7, 2023-07-29
Back to top
minor incompatible change: MACROLET macro functions are now compiled with (SPEED 1), leading to fewer efficiency notes being emitted when compiled in otherwise high-SPEED environments.
minor incompatible change: when coalescing list data, the file compiler respects substructure equality more accurately, with the side-effect of coalescing along CDR chains as well as CARs. (#2025086)
minor incompatible change: FUNCTION type declarations for local variables generate assertions around their use when called.
platform support
on OpenBSD, the regression test suite expectations have been updated. (#2026809, thanks to Sebastien Marie)
on OpenBSD, the data limit is now 1GB. (#2027536, thanks to Sebastien Marie)
on Darwin with the SB-FUTEX feature, do not use unpaired mach_thread_self() syscalls, avoiding resource leaks when creating threads.
on 64-bit RISCV, add support for some REM-by-multiplication optimizations.
on Windows, work around a C compiler bug relating to SYSV_ABI.
bug fix: FILE-POSITION on string output streams no longer crashes or causes arbitrary memory overwrites. (#1839040)
bug fix: the compiler no longer constant-folds POSITION to NIL if the START or END arguments are not valid.
optimization: the compiler derives types of &KEY arguments in local calls. (#655562)
optimization: type tests of values of known union type can be faster if the type being tested for has a non-trivial intersection with the known type.
optimization: the low-level implementation of NUMBERP, REALP and RATIONALP has been improved on x86-64 and arm64.
optimization: the compiler removes known-NIL arguments from calls to APPEND and NCONC, and empty sequences from calls to CONCATENATE.
optimization: checks for symbols being bindable are now memoized, speeding up compiled uses of PROGV.
optimization: SLOT-VALUE on STRUCTURE-OBJECTs with non-constant slot-name argument is faster.
New in version 2.3.6, 2023-06-28
Back to top
platform support:
bug fix: AREF on multidimensional arrays with the wrong number of indices now signals an error. (#2022327, reported by EU)
bug fix: the nature of NIL as both STRING and SEQUENCE is correctly handled in the compiler's handling of string functions. (#2023118, reported by Patrick Poitras)
bug fix: the sb-bsd-sockets tests no longer fail on systems configured without IPv6. (reported by Will Senn)
bug fix: the compiler no longer transforms into incompletely-known functions (#1824351)
optimization: better (the word-sized-type (ASH word-sized word-sized)) when the result can overflow. For arm64 and x86-64.
optimization: better unoptimized calls to CEILING, FLOOR.
optimization: functions that involve coercing floats now cons less. For arm64 and x86-64.
optimization: array displacement to simple arrays is slightly faster. (reported by Shubhamkar Ayare)
New in version 2.3.5, 2023-05-28
Back to top
enhancement: Unicode support has been updated to support version 15.0.0 of the Unicode standard, including addition of characters and their collation keys, and refinements to grapheme-, word- and line-breaking algorithms.
new contrib module: an interface to perf, a performance-analysing tool for Linux. (thanks to Luke Gorrie and Philipp Marek)
platform support:
on x86-64, prefer using the LEAVE instruction rather than MOV/POP at function epilogue to restore RSP/RBP.
support SB-FUTEX on OpenBSD. (thanks to Elijah Stone)
support SB-FUTEX on Darwin/arm64. (thanks to Elijah Stone)
fix compilation with clang on Windows. (#2018601, thanks to Andrew)
bug fix: inspecting objects with unbound slots produces output that is less confusable with the string "unbound". (thanks to Nicolas Martyanoff)
optimization: make TN-REFs doubly-linked, allowing faster deletion. (#2018124, reported by Matt Kaufmann)
optimization: MAPCAN/MAPCON are less accidentally quadratic. (thanks to Gleefre)
optimization: improved arithmetic operations in the form of (the word-sized-type (-+* word-sized word-sized)) when the result can overflow. For arm64 and x86-64.
New in version 2.3.4, 2023-04-30
Back to top
enhancement: attempts to call non-callable objects can now provide USE-VALUE restarts on x86-64 and arm64.
bug fix: ioctl() (both in SBCL's internals and through SB-POSIX) was broken on ARM64/Darwin. (reported by fiddlerwoaroof)
platform support:
support for cross-compiling the system to Android has been added; (thanks to Gleefre)
include likely absolute paths for gmp and mpfr on ARM64/Darwin; (thanks to Elias Lawson-Fox)
include another absolute path for mpfr on Windows; (thanks to Ari Projansky)
the PROMISE-COMPILE feature from the SB-CONCURRENCY contrib is now available on all threaded platforms;
optimization: VALUES-LIST performs less redundant work on x86-64 and ARM64.
New in version 2.3.3, 2023-03-28
Back to top
enhancement: LET-bound anonymous closures declared dynamic extent can now be stack allocated, just like closures bound with FLET or LABELS. Otherwise-inaccessible closure subparts of objects declared dynamic extent can now also be stack allocated
optimization: many standard CL functions which take functional arguments will automatically stack allocate any downward funarg closures.
optimization: better arithmetic between signed and unsigned words on arm64.
optimization: reduce consing when doing arithmetic resulting in small (3 words or fewer) bignums.
bug fix: miscompilation of some additions of signed and unsigned words on x86-64. (#2008673)
bug fix: loading the SB-SIMPLE-STREAMS contrib no longer incompatibly overwrites CL:OPEN's function type. (#2008811)
bug fix: implement the special-case automatic function definition for PCL's slot accessor functions in the SB-EVAL interpreter. (#2008922, reported by Jonathan Braud)
bug fix: allow the build to succeed under SBCLs older than 2.0.0 in the event that the host emits STYLE-WARNINGs while compiling the cross-compiler. (#2009493, reported by Kirill)
bug fix: restore compilation on ARM64 with OpenBSD. (#2009585, reported by okflo)
bug fix: compiling a HANDLER-BIND with a function undefined at compile-time produces a compile-time STYLE-WARNING. (#2010176)
bug fix: support files bigger than 4GB on ARM64/Linux, *BSD. (#2011453, reported by Yan)
bug fix: it is now possible to run sb-simd tests on systems without AVX2. (#2011923, thanks to Sergio Durigan Junior)
bug fix: miscompilation of some conditional moves. (#2012312, reported by Patrick Poitras)
bug fix: SB-GMP no longer signals a TYPE-ERROR when raising a ratio base to a negative integer exponent. (#2012577, thanks to Ari Projansky)
bug fix: warn the user when they have declared a structure or standard-object slot of :TYPE NIL.
New in version 2.3.2, 2023-02-26
Back to top
incompatible change: the :ORDER long-form-option in DEFINE-METHOD-COMBINATION accepts NIL as well as :MOST-SPECIFIC-FIRST and :MOST-SPECIFIC-LAST. A value of NIL implies no particular ordering of the methods, and so disables checks of multiple methods with the same specializers in that group.
bug fix: evaluate the :ORDER long-form-option in DEFINE-METHOD-COMBINATION properly, avoiding an infinite loop in DEFINE-METHOD-COMBINATION if the :ORDER argument leads to a cycle of compile-time constants.
bug fix: better compile time on chains of conditionals which have gaps in integer ranges. (#1992349, reported by Mykola Matvyeyev)
bug fix: type derivation of VECTOR-LENGTH leading to wrong type handling for MEMBER types involving vectors. (#2004094)
bug fix: equality constraint propagation in the presence of constants could cause code to be not deleted when it should have been. (#2006487)
bug fix: better compile time when the compiler needs to perform checks to see if fixnum or word computations result in overflow. (#2007741)
bug fix: miscompilation on ARM64. (#2007758, reported by Stephen Westfold)
optimization: on x86-64, use SIMD instructions for UTF-8 buffer decoding;
various type-driven optimizations:
comparisons of rationals with constant ratios or floats;
comparisons of unsigned-bytes with fixnums;
comparisons of fixnums with constant powers of two;
equality of numbers with integers too large to be exactly represented as floats;
arithmetic operations on a mixture of signed and unsigned word-sized quantities;
New in version 2.3.1, 2023-01-28
Back to top
sb-graph has been removed. To visualize IR1 in sbcl, it is recommended to use the function IR1-TO-DOT (which only survives the final tree shake if the feature :sb-devel is enabled at build time).
platform support:
implement some peephole optimizations on arm64;
support float traps on arm64;
bug fix: package-manipulation operations within fasls work as expected in the absence of explicit block compilation requests. (#2000004, reported by Shubhamkar Ayare)
bug fix: incorrect type simplification of certain CONS types. (#1999352, reported by Paul Dietz)
bug fix: method combination group selection interprets the symbol * as a wildcard element within proper qualifier-pattern lists. (reported by Maciej Katafiasz and by Daniel Kochmański)
bug fix: &WHOLE can be used without error in define-method-combination arguments lambda lists. (reported by Daniel Kochmański)
bug fix: bogus debug variables generated for closure variables whose value cell had not yet been allocated could cause segfaults and gc crashes (reported by _death on #sbcl)
bug fix: handling of float NaNs in two-arg numeric comparison functions is more consistent with the required semantics in IEEE 754 when comparing with rationals.
bug fix: ensure that the hide-packages test passes even when the system retains internal cross-reference metadata. (#2002896, reported by 3b)
bug fix: don't trip an internal assertion in weak hash tables with finalizers. (#1998064)
optimization: load-time only code is no longer retained at runtime when functions close over top level bindings.
optimization: GO and RETURN-FROM now elide out-of-extent tag checks when the compiler can prove it's safe even on high safety.
optimization: addition of a fixnum to a bignum generates less garbage.
optimization: in many cases, type inference and code generation is improved for and around numerical comparison functions.
New in version 2.3.0, 2022-12-29
Back to top
enhancement: support for SLOT-VALUE and friends has been extended to structure and condition instances.
enhancement: the error message for invalid array index conditions is clearer. (#1999337, reported by Hadrien Lacour)
minor incompatible change: COMPILED-FUNCTION-P now returns false for generic functions.
minor incompatible change: the compiler emit STYLE-WARNING conditions for FIND and POSITION where the item sought can never be present in the sequence.
optimization: support computing the remainder of a constant division by multiplication.
optimization: faster out of line float truncation routines.
optimization: faster RATIONAL on 64-bit platforms.
optimization: more compact testing of widetags on x86-64 and arm64.
bug fix: type intersections of RATIONAL ranges with (NOT INTEGER) are computed more consistently. (#1998008)
bug fix: fix miscompilation of integer/fixnum comparisons where both arguments are on the stack.
New in version 2.2.11, 2022-11-28
Back to top
platform support:
- arm64: allow the use of CLISP as a build host. (#1996942, reported by Andrew Patterson)
enhancement: improvements to constraint propagation around comparison functions.
optimization: conditional move VOPs can work on boxed values and produce less consing.
optimization: NUNION and UNION are generally faster.
bug fix: slot-makunbound-using-class can be redefined without redefining the other slot methods. (#1956621, reported by Michał Herda)
bug fix: GETHASH on a table created without ":synchronized t" when run concurrently in multiple threads could have returned incorrect results.
bug fix: build of contributed modules assumed that 'cat' was always in /bin/cat on POSIX systems. (#1995224, reported by Kasper Gałkowski)
bug fix: INSPECT on an (ARRAY NIL) no longer hangs. (#1995639, reported by Michał Herda)
bug fix: Fix miscompilation of FILE-STRING-LENGTH when the first argument has a known FILE-STREAM type. (#1995881)
New in version 2.2.10, 2022-10-30
Back to top
platform support:
bug fix: do not elide the GC store barrier in closures. (#1982608, reported by Andrew Berkley)
bug fix: make sb-introspect tests pass when the system is built without support for source locations. (#1635349, reported by Tomas Hlavaty)
bug fix: erroneous assumption that the format-control of a simple condition was a string. (#1803727)
bug fix: compiler consistency failure in modular arithmetic widening. (#1990715)
bug fix: provide a stub for a helper function (#1992316)
New in version 2.2.9, 2022-09-29
Back to top
platform support:
fix build on Darwin platforms with -fno-common. (#1980570, thanks to Sergei Trofimovich)
include /usr/local paths when building on FreeBSD. (#1981112, reported by William G Lederer)
several micro-optimizations on x86-64, including: better use of INC/SUB, better SAP+, shorter KEYWORDP, better argument count verification
arm64: better KEYWORDP, better argument count verification
fix build on 32-bit Windows. (#1988534, thanks to Alexis Rivera)
x86-64: WITH-PINNED-OBJECTS can pin constants. (#1989037)
bug fix: make sb-simd build in compiler-only SBCL. (thanks to Tonas Hlavaty)
bug fix: SB-SPROF:WITH-PROFILING now returns the value of its body (as was advertised in its documentation).
bug fix: catch malformed LET* forms in DEFMETHOD bodies. (#1988880, reported by Patrick Poitras)
enhancement: better source form tracking for atoms in LET bindings.
optimization: reader character macro lookup is simpler and faster.
optimization: FILL-POINTER (and its setter) are more compact.
New in version 2.2.8, 2022-08-30
Back to top
minor incompatible change: support for 32-bit x86/Darwin has been removed.
bug fix: fix miscompilation related to empty infinite loops preceded by conditional expressions. (#1986810, reported by Artyom Bologov)
bug fix: fix gc invariant violations. (#1983218, reported by Marius Gerbershagen; #1983248, reported by Vasily Postnicov)
bug fix: use CC to compile SBCL as a shared library. (#1976148, reported by Pierre Neidhardt)
bug fix: don't crash the system completely if RUN-PROGRAM fails to create a pipe. (#1979841, reported by Thor Kristofferson)
bug fix: be more disciplined about use of C system includes. (#1981799, reported by Mark Evenson)
bug fix: STRING/= returning wrong results for some cases when :END1/:END2 were not compile-time constants. (#1983284)
bug fix: compile-time checking of :START and :END keyword arguments to FILL is more complete.
optimization: adjacent type tests on the same value are more compact (arm64, x86-64).
optimization: the compiler can inline COPY-STRUCTURE in more cases.
optimization: type checks for non-simple arrays are shorter.
optimization: printing strings (as Lisp data) is faster.
New in version 2.2.7, 2022-07-29
Back to top
minor incompatible change: the compiler emits full WARNINGs for undefined references to variables in TYPE and DYNAMIC-EXTENT declarations, and for SETQ of an undefined variable. (This was the historic behaviour for everything except the DYNAMIC-EXTENT case, which used to emit a STYLE-WARNING, but these diagnostics got lost in a refactoring since sbcl-2.2.2)
minor incompatible change: literal objects (strings, in particular) in compiled code may at the discretion of the runtime be placed in read-only memory. Violations of CLHS 3.7.1 could produce memory faults. If ":PURIFY NIL" is given to SAVE-LISP-AND-DIE then no read-only memory will be used.
enhancement: Unicode support has been updated to support version 10.0.0 of the Unicode standard, including addition of characters and refinements to breaking and collation algorithms.
bug fix: AVX is no longer used for loading simd-pack-256 constants. (#1928097)
bug fix: fix building the manual when some contribs are blocked or otherwise disabled. (#1979821, thanks to Robert Schiele)
bug fix: fix type derivation of sequence functions with highly-specific declared argument types. (#1980292, reported by James Kalenius)
bug fix: internal error when optimizing chains of conditionals in local functions. (#1981607, reported by Pasha K)
bug fix: fix comparison of negative floats with bignums.
optimization: faster TRUNCATE with float arguments.
optimization: EQUALP hashing of large floating point values should generate less garbage.
New in version 2.2.6, 2022-06-30
Back to top
minor incompatible change: support for 32-bit x86 on macOS has been removed.
new contrib: sb-simd, to provide a convenient interface for SIMD programming on x86-64. (Thanks to Marco Heisig and other sb-simd contributors)
enhancement: core compression now uses zstd instead of zlib. (#1881089)
enhancement: provide compiler warnings for specialized array type mismatches in CONCATENATE.
enhancement: provide compiler warnings for bad sequence bounding index designator arguments to sequence functions.
enhancement: The sb-mpfr contrib now allows coercion from MPFR-FLOATs to CL:RATIONAL. (Thanks to Robert Smith)
bug fix: fix compilation failure related to declaiming types of constants. (#1977726, reported by Pierre Neidhardt)
bug fix: fix race condition in CLOS optimized constructors. (#1951341)
bug fix: fix too-eager elision of allocation barriers when initializing closure and structure objects.
optimization: fasl files are now usually smaller (up to 10% on default policy) and may load faster, especially on high debug.
optimization: faster string comparisons on arm64, x86-64.
optimization: faster [n]string-down/upcase on arm64, x86-64.
optimization: faster [n]reverse for 8- and 32-bit element vectors on arm64, x86-64.
optimization: faster type tests for (CONS (EQL symbol)) on x86-64.
New in version 2.2.5, 2022-05-30
Back to top
minor incompatible change: SB-EXT:DERIVE-FUNCTION-TYPES being NIL now means that function calls will strictly only use type information from proclaimed ftypes. The previous behavior (still the default) of using derived type information from the same file is specified with :SAME-FILE. (#1393302)
minor incompatible change: RENAME-FILE now overwrites the target file on Windows too, making its behaviour consistent with other platforms.
minor incompatible change: inlining of local function is inhibited if policy DEBUG = 3.
platform support:
single-stepping is now supported on 64-bit PowerPC platforms. (thanks to Thomas Fitzsimmons)
the :SB-LINKABLE-RUNTIME feature is now supported on 32-bit and 64-bit PowerPC platforms. (thanks to Thomas Fitzsimmons)
optimization: improved type derivation of REDUCE with some known reducing functions.
enhancement: debug source locations now work correctly for top level forms with policy DEBUG = 1, as well as for block compiled files.
enhancement: TRACE now supports tracing macro functions, compiler-macro functions, individual methods and local functions. See the user manual for more details. (#375314)
bug fix: fix integer comparisons on x86-64 and arm64 (#1971088, reported by Guillaume LE VAILLANT)
bug fix: coverage instrumentation behaves correctly with respect to non-local exits.
bug fix: ftype proclamations now take effect immediately during block compilation.
bug fix: block compilation of top-level closures now work. (#1931730, reported by Sean Maher)
bug fix: streams opened from RUN-PROGRAM but left unclosed because of a non-local exit no longer cause unrelated streams to be closed later.
New in version 2.2.4, 2022-04-29
Back to top
enhancement: better constraint propagation in the compiler. Specifically, the compiler can now derive the type of X in control flow join situations such as (LAMBDA (X) (ECASE (1 ...) (2 ...)) X) or (LAMBDA (X) (ETYPECASE (INTEGER ...) (SYMBOL ...)) X) instead of forgetting all information about X after the E(TYPE)CASE.
optimization: inlined functions enclosed in local macro definitions no longer save their entire lexical environment, reducing unnecessary memory retention.
optimization: faster (< integer fixnum) comparisons (ARM64 and x86-64).
platform support:
- RUN-PROGRAM is faster on Linux and FreeBSD if close_range(2) is available.
bug fix: block compilation now interacts more correctly with the creation of new packages.
bug fix: internal compiler error in array reference optimizer. (#1966624)
New in version 2.2.3, 2022-03-28
Back to top
minor incompatible change: SB-THREAD:MUTEX-OWNER may return :THREAD-DEAD if the apparent owner either exited nearly instantly after releasing the mutex (and is not now the owner), or died and never released it.
minor incompatible change: building the system with the simple semi-space copying collector is no longer supported.
minor incompatible change: support for PPC/Darwin has been removed.
platform support:
fix regressions in threads on RISC-V. (#1962598)
threads are now enabled by default on RISC-V.
The generational garbage collector is now supported on MIPS.
optimization: fasls containing standard object literals are now smaller and load more efficiently.
optimization: faster arithmetic (*-+) on word-sized integers when the result is not known to fit into a word (ARM64 and x86-64).
bug fix: EQness of constants is now always preserved when block compiling.
New in version 2.2.2, 2022-02-26
Back to top
platform support:
all architectures now share the coverage mark instrumentation implementation, meaning that performance now equals what had been implemented only on x86 architectures.
fixed a performance regression on x86-64 from changes in AVX2 register handling. (#1960081, reported by Michael Kappert)
fixed a garbage collection bug on ppc64 manifesting in occasional corruption on threaded programs. (#1959338, #1952973)
micro-optimizations in type tests for (SIGNED-BYTE 64).
enhancement: improved handling of source locations for some classes of compile time and runtime errors.
enhancement: better source locations for structure accessors.
bug fix: SB-COVER now always instruments top level forms correctly.
bug fix: muffling conditions now works correctly on higher debug settings.
bug fix: local muffling declarations now scope correctly with respect to undefined variable warnings.
optimization: calls to STRING= can now return NIL more quickly on strings of unequal length.
New in version 2.2.1, 2022-01-30
Back to top
incompatible change: DEFINE-ALIEN-CALLBACK, which has never been exported from a public package, has been deleted. It is superseded by SB-ALIEN:DEFINE-ALIEN-CALLABLE.
minor incompatible change: compiler warnings are emitted on more provably-erroneous code involving sequence functions on specialized arrays.
platform support:
support getting thread IDs on FreeBSD. (thanks to Felix Lange)
faster function call sequence on arm64.
the built-in buffer size for file streams is increased to 8KB.
enhancement: provide a restart for method lambda list mismatches that fmakunbounds the generic function.
enhancement: provide a USE-VALUE restart around type errors signalled from (SETF SLOT-VALUE).
enhancement: when UPDATE-INSTANCE-FOR-DIFFERENT-CLASS (or -REDEFINED-) undergoes a non-local exit, restore the instance to its original state. (thanks to Michał phoe Herda)
enhancement: the :SYNCHRONIZED keyword argument to MAKE-HASH-TABLE is no longer experimental.
bug fix: fix an erroneous compiler tranform for (EXPT SINGLE-FLOAT INTEGER). (#1958061, thanks to Vasily Postnicov)
bug fix: disassembly of closures is more likely to show the relevant code if more than one closure closes over the same environment. (#1956870, reported by Michał phoe Herda)
bug fix: RUN-PROGRAM with :IF-EXISTS :APPEND no longer signals an error if the output does not exist. (#1958569, thanks to Ingo Krabbe)
optimization: reorder basic blocks to have loop code fall through more often. (thanks to Hayley Patton)
optimization: sequences larger than the buffer size are written to streams without going through a buffering stage. (reported by Philipp Marek)
New in version 2.2.0, 2021-12-30
Back to top
platform support:
support for FreeBSD on 64-bit arm platforms has been added.
the :SB-LINKABLE-RUNTIME build-time feature is now supported on 32-bit and 64-bit arm platforms, and on the FreeBSD operating system.
bug fix: correct encoding for vmovsd. (#1953483, reported by Marco Heisig)
bug fix: support ABIv1 callbacks on big-endian ppc64. (#1900343, thanks to Thomas Fitzsimmons)
bug fix: don't misuse mprotect() in dynamic space on Windows. (#1955723, reported by 3b)
enhancement: catch type mismatches for REPLACE, SUBSTITUTE, MAKE-ARRAY with :INITIAL-CONTENTS.
optimization: printing symbols is around 10% faster than previously.
bug fix: don't use the current type of non-returning functions when redefining them in another file. (#1953214, reported by Nicolas Hafner)
bug fix: eliminate stack cleanups more conservatively. (#1954330, reported by Daniel Kochmański)
bug fix: check consistently in tests for the existence of VOPs. (#1952896, reported by Sébastien Villemot)
New in version 2.1.11, 2021-11-30
Back to top
minor incompatible change: COMPILE-PRINT now defaults to NIL. T gives the old behavior of echoing top level forms. Users who want to see a report of the phases of compilation can use COMPILE-PROGRESS and the corresponding COMPILE-FILE :PROGRESS argument.
optimization: The compiler assignment-converts functions much more aggressively; local or non-entry block-compiled functions which always return to the same place are automatically converted into the equivalent loop or goto control structures.
enhancement: on x86-64 and ppc64 platforms, the system uses inline instructions rather than page protection to implement a store barrier for the garbage collector.
enhancement: improved reporting of code deletion notes.
platform support:
unbound-variable restarts for amd64 are now supported.
bug fix: single-floats to foreign functions on 32-bit ARMel. (#1950080, reported by Sebastien Villemot)
bug fix: opening files with names containing non-ASCII characters on Windows works better. (reported by Nikolay)
bug fix: use fp_xsave to access the floating point flags and control word in Haiku signal contexts. (Thanks to Al Hoang)
bug fix: complex single-float support on riscv64.
optimization: support for accessing elements of &rest args directly on ppc64, mips, riscv.
optimization: parse a /proc file rather than executing uname for SOFTWARE-VERSION on Linux
bug fix: fix crash from SB-COVER:RESET-COVERAGE. (#1950059, reported by Gregory Czerniak)
New in version 2.1.10, 2021-10-28
Back to top
incompatible change: simd-pack without a specific element-type is no longer treated as containing integers. A type must be supplied for VOPs to work on such values.
minor incompatible change: the list form of the FUNCTION type specifier does not allow * as any argument type, but does allow * as a placeholder for wholly unspecified arguments when specifying the value(s) type.
minor incompatible change: the default (Lisp) toplevel option parser throws an error if it encounters an option which was intended to be used and removed by the C runtime. (#1945081, reported by Luke Gorrie)
new feature: there is now a defined interface for defining foreign callable functions, which can be used for passing callbacks to foreign functions or for calling Lisp code from the foreign world as a shared library (preliminary support). See the revised manual section "Calling into Lisp From C" for more details.
enhancement: arg-count mismatches in self-calls in defmethod are reported. (#1912436, reported by 3b)
enhancement: the SB-CLTL2 contrib now returns type information for generated structure accessors. (#1934859, reported by SATO shinichi)
optimization: code generation is improved for modular arithmetic involving signed operations.
platform support:
x86-64 machine code emitter crash when attempting to assemble some vector instructions. (#1945975, thanks to Marco Heisig)
conditional move instructions are now supported on arm64.
a number of new peephole optimizations have been implemented on arm64.
arm64 on Darwin now uses gcc-compatible thread-local storage.
bug fix: compiler notes are no longer emitted when compiling FORMATTER forms, including when implicitly triggered on a constant string argument to FORMAT. (#1946246, reported by SATO shinichi)
bug fix: a compiler error when attempting to compile a call to AREF with too many dimensions. (#1902985)
bug fix: harmonize the behaviour of SLOT-BOUNDP on non-standard-objects between the various ways in which it can be called. (#732229, reported by Zach Beane)
bug fix: FTRUNCATE and similar functions are now more careful about deriving facts about the sign of zero they might return. (#1732009, reported by Paul Dietz)
New in version 2.1.9, 2021-09-27
Back to top
minor incompatible change: the experimental DEFCAS macro has been removed.
minor incompatible change: finalizing classes with slots with duplicate symbol-names will only emit a warning if either slot name is an exported symbol. (#1943559)
platform support:
the debugger is better able to display SIMD packs. (thanks to Marco Heisig)
fix a bug in zeroing YMM registers. (thanks to Marco Heisig)
fix instruction definitions for SSE blend and shuffle vector instructions. (thanks to Marco Heisig)
handle heap corruption exceptions in our exception handler on win64.
improve WAIT-UNTIL-FD-USABLE on Windows, reducing busy-looping. (thanks to Fabio Almeida)
bug fix: EQUALP hash tables whose keys contain arrays containing floats should behave correctly. (#1942424, reported by Nicolas Neuss)
New in version 2.1.8, 2021-08-30
Back to top
minor incompatible change: the experimental DEFINE-CAS-EXPANDER macro has been removed.
minor incompatible change: the hooks in INIT-HOOKS are called before starting the finalizer or other non-user threads. (thanks to Sean Whitton)
platform support:
many improvements to code generation on arm64.
avoid slow forms of the bit test instructions BT, BTS, BTR on x86-64.
fix a bug in loading large core files on the Apple M1/arm64. (thanks to Mayank Manjrekar)
fix a bug in loading core loading on the Apple M1/arm64. (reported by Eric Timmons)
enhancement: the block-compiler is more robust to files with intermingled compile-time and load-time effects. The semantics of the block-compiler remain not-entirely ANSI compatible. (thanks to Sean Maher)
enhancement: (CAS SAP-REF-) and CAS on alien integers is implemented on ppc64 and x86-64, working towards fixing #1894057
bug fix: fix OPEN-STREAM-P on streams closed by saving a core. (#1938433, reported by Guillaume LE VAILLANT)
bug fix: remove a spurious warning from COERCE. (#1920931, reported by Andrew Berkley)
bug fix: remove a warning from inlining SET-EXCLUSIVE-OR. (#1936470, reported by Jerome Abela)
New in version 2.1.7, 2021-07-30
Back to top
incompatible change: on certain platforms (currently just x86-64), dynamic-extent arrays specialized on character and numeric types and created without either :INITIAL-ELEMENT or :INITIAL-CONTENTS will reflect previous contents of the stack instead of #\null (or 0) in all elements.
minor incompatible change: SB-SPROF:START-PROFILING no longer silently does nothing if the clock is already running. It instead stop and restarts with the newly provided options, and warns.
minor incompatible change: the system attempts to refer to the supplied pathname in compiler diagnostics, if relevant, rather than the truename.
enhancement: new contrib module sb-graph producing graphical visualizations of Intermediate Representations of SBCL compilation data structures.
platform support:
improved code generation for unary minus in modular contexts on arm64.
make the disassembler annotations slightly more robust on arm64.
release space back to the Operating System on Windows.
improve the test for whether pages need to be committed on Windows.
optimization: the type of (LOOP ... COLLECT ...), and the type of COLLECT INTO variables, is derived as LIST. (#1934577, reported by SATO shinichi)
New in version 2.1.6, 2021-06-28
Back to top
minor incompatible change: COMPILE-FILE does not merge the input file's pathname-directory into the output path if :OUTPUT-FILE was specified and has a directory that is not :UNSPECIFIC.
platform support:
improvements to unwind code generation on arm64.
on x86-64, accept three operands for vshufpd. (reported by Bela Pecsek)
on x86-64, improvements to use of popcount
improve exception handling on 64-bit Windows. (thanks to Luis Borges de Oliveira)
bug fix: allow use of macros with improper argument list. (#1929623, thanks to Sean Maher)
bug fix: COERCE no longer attempts to guess what the user meant if they provide a type specifier of a union of types other than STRING. (#1929614)
bug fix: print a single trailing zero after the decimal point for FORMAT ~E if there are no digits remaining to be printed and the width allows it. (#883520)
New in version 2.1.5, 2021-05-31
Back to top
minor incompatible change: on x86-64, the backend instruction encoders for movzx and for string opcodes have changed their semantics.
platform support:
compatibility: support the latest MinGW on x86. (#1923325, thanks to Alexis Rivera)
bug fix: on x86-64, fix instruction encoding for TEST on RIP-relative addresses. (#1925808, reported by Shinmera on #sbcl, thanks also to 3b)
bug fix: on x86-64, loading all-1s into an AVX2 register no longer causes an error. (#1928516, thanks to Marco Heisig)
bug fix: on arm64, improve disassembly of ADD with constant 0 as MOV
enhancement: on arm64, support debugger commands RETURN-FROM-FRAME and RESTART-FRAME more efficiently.
enhancement: on x86-64, add support for vshuf* AVX2 instructions. (reported by Bela Pecsek)
optimization: faster function calls on arm64.
optimization: (SETF SBIT) is faster on x86-64.
bug fix: INTEGER-DECODE-FLOAT was computing the wrong answer for denormal double floats. (#1926383, reported by Stavros Macrakis)
bug fix: RANDOM on a floating point argument now does not cons. (reported by Tito Latini)
bug fix: fix a compiler crash in type derivation of LOGTEST. (#1928243)
bug fix: fix a compiler failure when a declared function type contains a literal structure with a valid MAKE-LOAD-FORM method. (#1929160, thanks to Yurii Hryhorenko)
optimization: FBOUNDP on a constant symbol is now faster.
optimization: file compilation now produces smaller fasls for files which reference package literals.
optimization: derive the type of calls to FLOAT-SIGN.
New in version 2.1.4, 2021-04-28
Back to top
platform support:
- work around address-space randomization causing instability on new versions of MinGW. (#1921141)
bug fix: RANDOM on floats returns values strictly less than the float argument.
bug fix: compiler error on x86-64 resulting from attempting to zero a memory location with xor. (reported by Eric Marsden)
optimization: extended loops updating iteration variables with THEN can perform specialized arithmetic for those updates.
optimization: in some cases, the jump table resulting from a compilation of TYPECASE is simpler.
optimization: on x86-64, IF BOUNDP followed by SYMBOL-VALUE can elide some memory loads and tests.
New in version 2.1.3, 2021-03-28
Back to top
minor incompatible change: support for the :SB-SAFEPOINT-STRICTLY, :SB-THRUPTION, and :SB-WTIMER build features has been removed
platform support:
support for :SB-CORE-COMPRESSION on Darwin/ARM64
support ARM v8.1 atomic and compare-and-swap instructions
x86, x86-64: microoptimizations in multiple type-checking routines
bug fix: structures and conditions are now TYPEP all classes in the class precedence list of their class. (reported by Luis Oliveira)
bug fix: derivation of the result type from subtraction sometimes erroneously excluded zero. (#1916895)
bug fix: reduce the number of places where the system permissively accepts the symbol * as a type specifier where it should not be accepted. (#1860919)
bug fix: the code-walker used by the system's implementation of CLOS can handle defuns declared inline. (reported by Don Cohen)
optimization: EQUALP on specialized vectors and arrays is faster.
optimization: support routines for EQUALP hash tables generate less garbage.
New in version 2.1.2, 2021-03-01
Back to top
platform support:
support for ARM64 macOS;
improvement in coverage mark implementation on non-x86oid backends, approaching the existing x86oid support;
more empirically-robust retrieval of the program counter from illegal instruction traps on SPARC;
retain fewer dead objects when saving cores with precise collectors.
incompatible change: MAP-ALL-SAMPLES and MAP-TRACE-SAMPLES are no longer present in the SB-SPROF contrib module.
minor incompatible change: SB-SPROF:WITH-PROFILING defaults to all threads. SB-SPROF:START-PROFILING no longer accepts a :SAMPLING keyword.
enhancement: the sb-introspect contrib now supports finding the lambda lists of method combinations. (thanks to Didier Verna)
enhancement: short-form DEFSETF now stores a source-location.
bug fix: canonical unions of CONS types were being incorrectly computed. (#1912863, reported by James Kalenius)
bug fix: better understanding of array simplicity (or otherwise) in the type system. (#1903241)
bug fix: unions of rational and integer types now have a single canonical form, allowing more correct reasoning about them in the type system.
bug fix: less likely to overclaim certainty about type equality of union types. (#1916040)
bug fix: HANDLER-BIND evaluates the forms producing handler functions only once. (#1916302, reported by Christophe Junke)
optimization: FIND on constant sequences can be compiled into a jump table, in a similar manner to POSITION
optimization: the compiler's awareness of numeric contagion rules for operations on pairs of floating point numbers is improved. (#1914094, thanks to Andrew Berkley)
New in version 2.1.1, 2021-01-30
Back to top
platform support:
minor incompatible change: emit warnings for list iteration forms when the object being iterated over is known not to be a list. (#1908819, reported by Michael Fiano)
bug fix: detect 2 or 1 as an invalid number of arguments passed to optimized slot reading or writing effective method respectively. (#1909659, reported by Michal Herda)
bug fix: division by zero errors were in some cases not being signalled. (#1910098, reported by il71)
bug fix: erroneous coercions in the type system could lose precision. (#1910294)
bug fix: literal (read-time evaluated) NaNs in source code no longer cause compiler crashes. (#1909881, reported by Michal Herda)
bug fix: detect more erroneous syntax in method bodies. (#1912362, reported by Paul M. Rodriguez)
optimization: the compiler's understanding of EXPT is improved, reducing the introduction of COMPLEX types. (#1908830, reported by Michael Fiano)
optimization: the compiler is better at computing numeric contagion when (COMPLEX FLOAT) types are involved.
micro-optimizations:
moving from slightly-bigger-than-fixnum ranges is more efficient on x86-64;
encode character comparisons with smaller operands on x86-64;
truncating (and related operations) on floats can be inlined in more cases on 64-bit platforms;
rounding can use specialized instructions on ARM64 and on x86-64 when SSE4 is available;
New in version 2.1.0, 2020-12-29
Back to top
minor incompatible change: the MAKE-EA internal function, used in the assembler, has been removed (affecting some libraries defining their own Virtual Operations)
new feature: SB-EXT:PRIMITIVE-OBJECT-SIZE can be used to interrogate the low-level size in memory of objects. (#1636910, reported by anquegi)
platform support:
pass required -std argument to the compiler on Solaris (#1885751, thanks to Jesse Off)
better treatment of non-ASCII program arguments on Windows (#1907970, reported by Timofei Shatrov)
implement the improved TYPEP with structure types on all other supported platforms (32-bit PowerPC, ARM, ARM64, MIPS, SPARC, RISC-V)
enhancement: stream dispatch (to vanilla ANSI / Gray / Simple variants) has been rewritten and optimized, fixing a number of bugs including:
performance of WRITE-SEQUENCE on composite streams (#309136)
handling of CLOSE on SYNONYM-STREAM (#1904257, reported by Richard M Kreuter)
handling of CLOSE on BROADCAST-STREAM with no components (#1904722, reported by Richard M Kreuter)
loading SB-SIMPLE-STREAMS breaks functionality of other stream classes (#1908132)
some excessive consing in READ-LINE
enhancements related to RUN-PROGRAM:
improved the documentation related to the ARGS argument (#806733, reported by mon_key)
added a PRESERVE-FDS argument
bug fix: ensure that TYPE-OF returns something even on internal instances, which may become visible in the debugger. (#1908261, reported by Philipp Marek)
bug fix: iteration variables established by standard forms should always be considered used by the compiler. (#719585, reported by Roman Marynchak)
bug fix: don't allow compiler transformations to weaken the requirement against extended (list-form) function names in FUNCALL and related operators. (#310069)
bug fix: improve automated version number generation in branches. (#897867, thanks to Martin Cracauer)
bug fix: add possibly-spurious futex wakes when unwinding from a call to futex-wait, to avoid deadlocks from interrupted waits. (#1038034)
bug fixes in the compiler:
error on malformed DESTRUCTURING-BIND (#1738638)
error on malformed SPECIAL declaration (#1740756)
error from use of VALUES type in COERCE (#1887712)
enforcement of FTYPE types involving &OPTIONAL (#1903932)
checking for proper-list-ness before applying transforms (#1905512)
compilation of LAMBDA form including a malformed DEFUN (#1906056)
memory fault from VALUES-related handling in high DEBUG code (#1906563)
transforms handle explicit NIL arguments in :END arguments to SEARCH (#1907924)
bug fix: return COMPILED-FUNCTION for TYPE-OF on compiled functions. (#1906583)
some bugs were also closed in this release cycle as obsolete, having been fixed by the passage of time or other change in the environment:
optimization: CONSTANTLY on constant arguments returns a more efficient function. (#1852585)
optimization: perform fewer Lisp/Alien representation conversions in callbacks.
optimization: perform fewer redundant widetag tests when doing type tests of complicated union types.
optimization: signed-integer division on machine-word sized operands is now implemented using multiplication, affecting TRUNCATE, FLOOR, CEILING, MOD and REM. (This optimization was already performed on unsigned-integer division)
New in version 2.0.11, 2020-11-29
Back to top
minor incompatible change: (ARRAY NIL (*)) is not a subtype of STRING, as is consistent with a majority of maintained CL implementations.
minor incompatible change: ARRAY-RANK-LIMIT is decreased from 65529 to 256
optimization: TYPEP on structure types is faster and more compact on x86[-64] and ppc64.
optimization: LOGCOUNT is faster on arm64.
optimization: SIGNUM can be inlined if its argument type is known. (#1903533)
bug fix: compiler crash in tail call handling. (#1903938)
bug fix: crash in traceroot. (#1903419, reported by Michal Herda)
bug fix: DESCRIBE called with a string as second argument no longer mutates that string. (#1903901, reported by Michal Herda)
bug fix: stack clobbering by 256-bit SIMD packs on x86-64. (#1901685, reported by Marco Heisig)
New in version 2.0.10, 2020-10-27
Back to top
minor incompatible change: the funarg given to SB-SPROF:MAP-TRACES does not receive a wallclock time with each trace.
minor incompatible change: INTERNAL-TIME-UNITS-PER-SECOND has been increased to 10^6 on 64-bit architectures.
minor incompatible change: SIGPIPE is ignored by default again. (#1897624)
minor incompatible change: the system code compiled under the :LINKAGE-TABLE feature is now unconditionally compiled in, and the corresponding entry in FEATURES has been removed.
enhancement: style-warnings are issued for variables which have an assignment but no "for-value reference" (per CLHS glossary entry)
bug fix: SB-CLTL2:MACROEXPAND-ALL did not expand MULTIPLE-VALUE-BIND and MULTIPLE-VALUE-SETQ
bug fix: CPUID-based feature detection had an index/mask confusion (#1899239)
bug fix: fix a deadlock on Windows (#1896802)
bug fix: eliminate type errors when wall clocks go back (#1028026, #1032111)
bug fix: fix EOF handling in read-char-no-hang on concatenenated streams (#690408, reported by Willem Broekema)
bug fix: fix MAP-INTO on extended sequences (#1855375, thanks to James Kalenius)
bug fix: SB-GMP can now raise -1, 0 and 1 to the power of a bignum. (thanks to Aaron Chen)
bug fixes in tests:
New in version 2.0.9, 2020-09-27
Back to top
incompatible change: HPPA and DEC Alpha architecture support has been removed.
minor incompatible change: the compiler signals a warning at compile-time when an initform of T, NIL or 0 does not match a STANDARD-CLASS slot's declared type.
minor incompatible change: the runtime no longer uses SIGPIPE internally, so the signal is deliverable to user code as is customary. Ignoring the signal - in lieu of the OS default of process termination - is obtainable via (SB-SYS:ENABLE-INTERRUPT SB-UNIX:SIGPIPE :IGNORE).
platform support:
a number of obsolete portability layers (particularly on the Windows platform) have been removed in favour of direct calling of the native interfaces.
RUN-PROGRAM now accepts a :WINDOW argument to control whether a subprocess window should be displayed. (Thanks to Luis Borges de Oliveira)
the use of futexes implied by :SB-FUTEX is now implemented on FreeBSD.
bug fix: SB-SPROF can distinguish between SBCL-internal assembly routines.
bug fix: SB-SPROF has better output in its reports for anonymous functions.
optimization: CALL-NEXT-METHOD with supplied arguments in required positions is now faster if the supplied arguments are EQL to the original arguments.
New in version 2.0.8, 2020-08-31
Back to top
platform support:
added support for NetBSD/ARM64;
threads on Linux now have OS-visible names;
removed unnecessary emulation of pthread functions on Windows;
work around a sigwait() bug on Mac OS X;
allow safepoint build on Mac OS X, though it probably doesn't work very well (reported by Chris Wagner, #1382811)
removed stub support for HPUX.
optimization: SB-THREAD:MAKE-THREAD is faster on most platforms.
optimization: faster RATIONAL when the result is a RATIO.
optimization: improved cross-type comparisons (float/ratio/bignum).
bug fix: EQUALP on pathnames was wrong
bug fixes: fix compiler issues in:
New in version 2.0.7, 2020-07-30
Back to top
minor incompatible change: SB-THREAD:THREAD-OS-TID returns NIL for a thread which has exited.
minor incompatible change: OPEN no longer calls TRUENAME implicitly on a string filespec prior to issuing an open() system call.
minor incompatible change: PATHNAME is no longer a STRUCTURE-OBJECT.
documentation: HASH-FUNCTION is a function designator. (#1888028, reported by Jacek Zlydach)
bug fix: eliminated a potential garbage-collector deadlock when linking with TCMalloc.
bug fix: foreign threads (those not made by SB-THREAD:MAKE-THREAD) can not crash with a "GC_PENDING, but why?" error when returning back from Lisp into the foreign caller.
bug fix: sb-fasteval crashed trying to install a JIT-compiled DEFSTRUCT accessor in a locked package.
bug fix: removed misuse of putwc() which caused stdio streams to drop characters.
bug fix: the "maximum interrupt nesting depth exceeded" error generated in the C runtime is significantly less likely to occur.
bug fix: sb-sprof should no longer segfault from calling pthread_kill() on a nonexistent thread.
bug fix: a portability issue arising from various build hosts (#1886255, reported by Pierre Neidhardt)
bug fix: spurious compiler warnings from REDUCE with :INITIAL-VALUE. (#1885515, reported by Michael South)
bug fix: an inconsistency between class hierarchies and the type system under some circumstances involving redefinition. (#1886397, reported by Atilla Lendvai)
bug fix: the USE-VALUE restart for OPEN on non-existent files is more likely to function as expected. (#1886587)
bug fix: various invalid inputs to ROTATE-BYTE no longer cause compiler errors. (#1887164, #1888152)
optimization: PPC64 on linux uses the __thread annotation on C variables in preference to pthread_setspecific() and pthread_getspecific().
New in version 2.0.6, 2020-06-29
Back to top
planned incompatible change: the defined symbols in the Metaobject Protocol, currently accessible from both SB-MOP and SB-PCL packages, will in a later release be no longer exported from SB-PCL.
platform support:
better support for dynamic-extent on the SPARC architecture.
bug fix for loading very large core files.
bug fix for logior and logxor on PPC64.
enhancement: EQUALP on structure instances uses code specialized to each structure type, inlining comparison of non-pointer slots.
enhancement: some standard operators, such as WITH-OUTPUT-TO-STRING and CHANGE-CLASS, have been adapted to use dynamic-extent temporary objects, and so cons less garbage on the heap.
enhancement: read tables are more space- and speed efficient
bug fix: stream conditions with dynamic-extent streams have the stream replaced by a stub. (reported by Matt Kaufmann)
bug fix: garbage collections triggered from foreign callbacks crashed. (#1884403, reported by Andrew Kent)
bug fix: compiler failure in compiling MAKE-LIST. (#1881349)
bug fix: using the debugger from frames with calls to functions with unsupplied optional arguments is less likely to cause heap corruption. (#1883745)
New in version 2.0.5, 2020-05-31
Back to top
platform support:
enhancement: CMUCL-style START-BLOCK and END-BLOCK declarations are now supported for block compiling forms at a sub-file granularity.
enhancement: IPv6 support in sb-bsd-sockets is enabled on Windows.
minor change: compile-print now makes it more clear what block compilation is actually doing. The default output is now slightly more verbose as a result.
bug fix: number keys in EQUALP hash tables are correctly hashed. (#1878653, reported by Syll)
bug fix: EQness is better preserved given partial sharing of list contents in the file compiler. (#1583753, reported by Denis Budyak)
bug fix: the peephole pass neglected to preserve jump table labels. (#1876485)
bug fix: fix compiler crash in block compilation merging of toplevel lambdas. (#1865336, reported by il71)
bug fix: sb-introspect's function-lambda-arglist is better at extracting default values of nested macro arguments. (#1876194)
bug fix: RESTART-BIND's body is an implicit progn, and so does not accept declarations. (#1876303, reported by Michal Herda)
optimization: EQUAL hash tables with keys involving structure-objects will have fewer systematic collisions.
New in version 2.0.4, 2020-04-27
Back to top
platform support:
32-bit RISC-V is now fully supported. Unlike other ports, its backend is entirely shared with 64-bit RISC-V.
native threads are now supported on RISC-V.
fix and add some x86-64 vector instructions. (reported by Shubhamkar Ayare)
improve pointer representation on ppc64 for low-level performance improvement.
threads are more stable on big-endian ppc64
enhancement: forward-referenced type tests can now be open-coded by using block compilation. The result is that mutually referential defstructs are now efficiently compiled in block compilation mode, superseding a lighter mechanism that worked in fewer contexts. However, that lighter mechanism has been removed, so for now, users who want to efficiently compile mutually referential defstructs must explicitly opt-in using block compilation.
bug fix: defstructs with empty initforms in the sbcl source are now explicitly intiialized with NIL, as that is undefined behavior under ANSI. This helps cross compilation hosts which do not implicitly initialize empty initform slots to NIL. (Thanks to Karsten Poeck)
bug fix: backtracing through assembly routines now works properly on RISC-V.
bug fix: ASH no longer gets miscompiled in certain edge cases on RISC-V.
bug fix: &MORE args have been slightly optimized and are more correct on RISC-V.
bug fix: unused local functions with &REST/&KEY/&OPTIONAL now also issue a deletion note.
bug fix: APPLY on a large list ("large" being in excess of 2k to 16k items depending on the platform) can no longer crash the gencgc collector.
bug fix: sb-concurrency FRLOCK algorithm has been corrected. (#1087955)
bug fix: block compilation now respects inlining declarations better (like CMUCL).
optimization: hashing of structures with raw slots for EQUALP hash tables has been improved.
New in version 2.0.3, 2020-03-28
Back to top
incompatible change: the external format now defaults to UTF-8 and is not affected by LANG. SB-EXT:DEFAULT-EXTERNAL-FORMAT is now the only way to change it.
minor incompatible change: the undocumented :EPHEMERAL argument to MAKE-THREAD has been removed.
minor incompatible change: DECLARE type testing of structure types when the SAFETY optimization quality is less than SPEED (but greater than 0) is precise, rather than merely testing that an object is a (general) STRUCTURE-OBJECT.
platform support
respect sunos platform assembler flag handling
riscv architecture can be detected during the build
enabled the sb-dynamic-core feature on riscv, sparc, and made it unconditional everywhere
cheneygc is an option for arm and arm64
enhancement: the installed sbcl executable tree can be renamed or moved without risk of incorrectly referencing a '.core' file from an obsolete path. (#666086)
optimization: transform (values-list (list one-item)) to (values one-item) as multiple items were already recognized.
New in version 2.0.2, 2020-02-29
Back to top
new feature: CMUCL-style block compilation support has been added, allowing whole program optimization. It has been documented in a new section of the manual entitled "Advanced Compiler Use and Efficiency Hints". In particular, users of block compilation will find a large speedup for numerical code, as functions which call or return floating point values will keep everything unboxed.
bug fix: in CHANGE-CLASS, handle non-standard slot-value-using-class for :INSTANCE and :CLASS slots better. (reported by Shinmera on #sbcl)
bug fix: REMHASH in an EQUAL or EQUALP hash-table works correctly on a key for which EQUAL (respectively EQUALP) is reduced to EQ. (#1865094)
bug fix: do not emit a warning for DEFCLASS slots with mismatched :TYPE and :INITFORM when the class has a non-standard metaclass.
bug fix: DISASSEMBLE on SPARC is less likely to spuriously annotate code sequences as error traps.
New in version 2.0.1, 2020-01-26
Back to top
minor incompatible change: some symbols have been removed from FEATURES based on a determination of which should be impermissible to examine via #+ and #- reader macros in user-written code.
optimization: DEFSTRUCT copiers including COPY-STRUCTURE are able to stack-allocate the result when declared dynamic-extent.
bug fix: loop analysis code more robust. In particular, loop nesting depth is computed more accurately, improving the register allocation around loops.
New in version 2.0.0, 2019-12-29
Back to top
minor incompatible change: heap relocation now works on Windows. Since this feature now works on all platforms, it is enabled unconditionally and the :RELOCATABLE-HEAP symbol no longer appears on FEATURES in any builds. (Thanks to Luís Borges de Oliveira)
enhancement: malformed type specifiers and occurrences of deprecated types in :TYPE initargs of DEFCLASS and DEFINE-CONDITION slot specifications are detected and result in compile-time errors and warnings respectively.
enhancement: parallel contrib building, controlled by SBCL_MAKE_JOBS=-jX the same as for the C runtime.
bug fix: add a walker template for WITH-SOURCE-FORM.
bug fix: start the summary of a compilation unit on a fresh line. (Thanks to Zach Beane)
bug fix: on Windows, PARSE-NATIVE-NAMESTRING produces an absolute directory when parsing a bare drive name and :AS-DIRECTORY is specified. (Thanks to Luís Borges de Oliveira)
bug fix: on RISCV, the runtime is linked with libz if the core compression feature is requested. (Thanks to Andreas Schwab)
bug fix: ADJOIN using an EQL test and a KEY function only transforms into an EQ test if the key function returns values for which EQ and EQL are guaranteed to be the same.
optimizations:
the instruction sequence for multiple-value calls is more efficient on x86-64.
the direction flag is now unused on x86 and x86-64 when handling an unknown number of return values. (Thanks to Fanael Linithien)
the x86-64 backend is better able to use memory operands for arithmetic operations.
compilation of TYPECASE to a jump table is enabled when all the types being tested are frozen.
compilation of CASE and ECASE into a jump table has been implemented on 32- and 64-bit powerpc platforms.
the implementation of Unicode normalization has been sped up.
pretty-printing dispatch on conses is faster, particularly with the standard pretty-print dispatch table. Deeply-nested forms should also pretty-print faster.
New in version 1.5.9, 2019-11-26
Back to top
platform support:
a message intended to be more helpful will be displayed for an mmap failure on OpenBSD.
the soft-float ABI on ARM32 is better supported, in particular in returning double floats from calls into C.
optimizations:
CASE and ECASE with symbols as keys may be optimized into a vector lookup if all result forms are quoted or self-evaluating objects.
CASE and ECASE can be optimized into a jump table on the x86[-64] backends with arbitrary result forms provided that the clause keys are either all fixnums, all characters, or all symbols.
a number of forms are converted to use CASE in circumstances where that makes sense, including calls to POSITION, MEMQ and MEMBER, and TYPECASE where the types are MEMBER/EQL types.
POSITION of a variable symbol in a constant sequence of symbols is converted to CASE and thence to a jump table.
TYPECASE of a variable where the clauses are member types is converted to CASE and thence to a jump table.
a number of slow instructions are no longer used on x86 and x86-64 machines. (Thanks to Fanael Linithien)
the compiler is better at tracking the implications of branches after EQ and EQL tests.
parsing &KEY lists is slightly less register-intensive.
a pattern-based peephole optimizer pass has been added, running some simple transformations on the x86-64 backend.
enhancements: more thorough compile-time type checking of various initforms (defclass, &key, defstruct).
bug fix: unions of complicated CONS types are less likely to cause an infinite loop. (#1799719)
bug fix: DESCRIBE on functions not named by extended function designators no longer signals a type error. (#1850531, reported by Michal Herda)
New in version 1.5.8, 2019-10-26
Back to top
platform support:
support for Mac OS X Catalina
improvements in interoperability with C code compiled with memory sanitization options
libsbcl.so links to zlib when sb-core-compression is enabled. (#1845763, thanks to Juan M. Bello-Rivas)
workarounds for BSD issues around mmap() and pthread_attr_setstack(). (#1845936)
support SSE for bzero if available on OpenBSD
optimizations:
improved type understanding and translations for division operators (including TRUNCATE, GCD, LCM).
sequential comparisons and branches can elide intermediate comparisons. (#1847284)
convert EQUAL and EQUALP to EQL if either of the arguments is a type for which the structural equality predicate is identical to the simpler equality check. (#1848583)
internal operators implementing string comparisons produce simpler-to-consume values. (#1848776)
bug fix: inspecting adjustable arrays and vectors with fill pointers works better. (#1846191, reported by Yves Pagani)
New in version 1.5.7, 2019-09-28
Back to top
platform support:
many bug fixes to the experimental 64-bit PowerPC/Linux port, to the extent that the little-endian variant passes all applicable tests in the regression test suite; the big-endian variant currently has some failures
experimental support for sb-threads on 64-bit PowerPC/Linux
support threads on x86-64 Sun OS (#1841280)
handle PAX restrictions on mprotect() on NetBSD
experimental support for HaikuOS
the runtime is built as a position-independent executable by default on x86-64 Linux and x86-64 Darwin
fixes and enhancements related to Unicode:
update of the data files to Unicode 8.0
fix a bug in the implementation of the Unicode line breaking algorithm regarding hebrew letters and hyphens
enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to allow re-opening with :APPEND. (#806398, reported by Tobias Rittweiler)
bug fix: compiler optimizations on SEARCH with :FROM-END T didn't account for the empty sequence. (#1844821)
bug fix: handle SETF of nested empty VALUES correctly. (#1806478)
optimization: FLOOR and CEILING on rationals are simpler, and the compiler's understanding of them is better.
New in version 1.5.6, 2019-08-26
Back to top
platform support:
- experimental support for 64-bit PowerPC running Linux (extending Brian Bokser's work from 2018), on both the v1 and v2 ABIs
new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to the roots keeping them alive.
enhancement: string output streams created with :ELEMENT-TYPE 'BASE-CHAR use internal buffers of BASE-STRING instead of UCS-4 strings restricted to the ASCII range, yielding a theoretical 4:1 space reduction.
optimization: improved make-array type derivation for multi-dimensional arrays. (#1838442)
bug fix: compliant redefinition of classes whose previous definition caused argument mismatch errors does not generate errors any more. (#1840595, reported by 3b on #sbcl)
bug fixes for issues caught by the random tester:
never derive the type of TRUNCATE on arbitrary numbers as the empty type. (#1838267)
provide out-of-line definitions for internal machinery related to FLOAT-SIGN. (#1838337)
include COMPLEX in the derived type of SIGNUM when appropriate. (#1838333)
more correct internal type testing for function types. (#1838808, #1838888, #1838986)
don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array header. (#1838827)
recognize that PHASE on non-positive numbers can return 0 as well as PI. (#1838892)
New in version 1.5.5, 2019-07-28
Back to top
platform support:
bug fix: do not generate version.lisp-expr from git describe if the git repository is not sbcl's own. (#1836663, thanks to Richard Lowe)
bug fix: compiler crash related to VALUES-LIST on a &REST argument in some contexts. (#1836096, reported by Samuel Jimenez)
bug fix: compiler hang related to constraint propagation. (#1835599, reported by Mark Cox)
bug fix: the inspector showed the wrong array element type. (#1835934, reported by Richard M Kreuter)
optimization: numerous improvements to hash table access and rehashing
optimization: ASSERT compiles into substantially more compact code. (#1835221)
New in version 1.5.4, 2019-06-29
Back to top
minor incompatible change: hash tables on 64-bit machines consume roughly 20% less memory but can only grow to hold 2^31 entries (theoretically) due to use of 31-bit indices internally.
platform support:
- RISC-V: improve rotate-byte support (thanks to Philipp Matthias Schaefer)
bug fix: the system reasons more correctly regarding the array rank of complicated array types. (reported by Bart Botta)
bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart Botta)
enhancement: the regression test suite can now benefit from paralellism, completing much faster when enough compute power is available.
optimization: readtables with non-base-char dispatch characters are less inefficient.
optimization: INTERN performs fewer redundant type checks.
optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in computing hash functions) are faster.
New in version 1.5.3, 2019-05-27
Back to top
platform support:
RISC-V: numerous bug fixes and improvements
all platforms: better run-program performance when used from multiple threads.
enhancement: (declaim (optimize (debug 2))) ensures compilation of top-level forms, providing better debugging for simple forms that are otherwise "byte-code interpreted" when compiled into FASLs.
bug fix: use of finalizers could in rare circumstances cause a crash in the garbage collector.
bug fix: show extended function designators, e.g. (setf foo), in the disassembler
optimization: reduced overhead of calling NTH/NTHCDR.
optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms
New in version 1.5.2, 2019-04-29
Back to top
enhancement: RISC-V support with the generational garbage collector.
enhancement: command-line option "--tls-limit" can be used to alter the maximum number of thread-local symbols from its default of 4096.
enhancement: better muffling of redefinition and lambda-list warnings
platform support:
OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores
Windows: remove non-functional definition of make-listener-thread
new feature: decimal reader syntax for rationals, using the R exponent marker and/or READ-DEFAULT-FLOAT-FORMAT of RATIONAL.
optimization: various Unicode tables have been packed more efficiently
New in version 1.5.1, 2019-03-31
Back to top
enhancement: restarts for missing package errors.
optimization: FIND-PACKAGE should be faster even when run in the context of a package with local package-nicknames.
optimization: fix TRUNCATE deftransform's results to have well-defined signs
bug fix: thread-safety problems in RUN-PROGRAM with :PTY.
bug fix: SLEEP transform could never fire.
build enhancement: defend against quirky host floating point implementation
test enhancement: allow more parallelism in running the regression test suite
New in version 1.5.0, 2019-02-24
Back to top
enhancement: SB-COVER emulates IN-PACKAGE when recording source maps; this makes it possible to generate coverage for forms that uses local package nicknames, or otherwise must be read in the correct package.
build enhancement: new host quirks mechanism, support for building under ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
optimization: (FIND-SYMBOL x "P") for constant "P" executes faster, subject to "P" not being a package-local nickname of any package. Similarly INTERN. (#1814924)
optimization: bounds checks are elided when possible where the same array is dereferenced multiple times.
bug fix: initargs are now deduplicated when computing effective slots.
bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer. (reported by Bahodir Mansurov)
bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into single-floats. (reported by J. Gareth Williams)
New in version 1.4.16, 2019-01-26
Back to top
minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes a CONTINUE restart in case of an error.
minor incompatible change: Defining macros (DEFVAR, etc) which require a symbol as the name will fail to macroexpand if given a non-symbol.
enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY have been replaced by SB-EXT:RETRY.
New in version 1.4.15, 2018-12-04
Back to top
enhancement: added AVX2 instructions on x86-64, which can be used with SB-SIMD-PACK.
enhancement: specializer name parsing is less lenient and signals a specific condition in case of syntax errors. (#1808681)
enhancement: provide interactive restarts for some file-system errors.
enhancement: COMPILE no longer acquires the world lock. (fixes most occurrences of #308959)
bug fix: RUN-PROGRAM is more responsive and less likely to deadlock (#1702178, #1808641)
bug fix: traceroot can search for simple-fun targets (#1808659, reported by Michal Herda)
compiler bug fixes:
New in version 1.4.14, 2018-11-26
Back to top
enhancement: attempting to build on openbsd 6.0 or newer without the wxallowed mount option now results in a more useful error message.
enhancement: by popular demand, SB-EXT now exports two functions HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug assertions that objects in hash-tables are not stack-allocated, etc.
bug fix: restored sb-thread support on OpenBSD.
New in version 1.4.13, 2018-10-24
Back to top
minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not exported from SB-EXT. These were never announced, so this change would only affects users who discovered these undocumented functions.
enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS are supported on all backends that use gencgc.
New in version 1.4.12, 2018-09-28
Back to top
minor incompatible change: a number of platform-specific elements of FEATURES related to whether the system implements particular strategies have been removed.
minor incompatible change: some changes to the (internal) implementation details of the x86 and x86-64 have necessitated changes to some low-level libraries.
enhancement: attempting to transfer control through GO or RETURN-FROM to frames which no longer exist are now caught and handled by the debugger.
enhancement: identical code (at the machine instruction level) can now be shared between functions, if explicitly requested.
enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now documented.
bug fixes: fix a number of bugs revealed by random testing (#1793171, #1793150, #1791550, #1792030, #1791059, #1790157, #1790717, #1790703)
New in version 1.4.11, 2018-08-28
Back to top
minor incompatible change: changes to the (internal) assembler on x86 and x86-64 may cause problems to some low-level third-party libraries:
new macro EA for defining an effective address, without size information;
an explicit size modifier is now needed for MOVSX and MOVSZ instructions;
MOVD and MOVQ move a single size of operand by definition.
enhancement: support the latest MinGW (#1786731, reported by il71)
enhancement: checks for modifications of constants can now be done in local (FLET/LABELS) functions.
optimization: improved type checking routines for various compound types.
optimization: array bound checks are elided on vectors when the index is known to be less than the length, including LOOP ACROSS.
optimization: the register allocator's use of temporaries is somewhat improved.
optimization: checking widetags involves fewer conditional jumps on x86 and x86-64.
bug fix: fix a number of bugs related to constant improper lists as sequence arguments (#1768563, #1768568, #1768652)
New in version 1.4.10, 2018-07-26
Back to top
enhancement: added SB-EXT:MAKE-WEAK-VECTOR.
enhancement: constant-modification detection warnings can be generated in the presence of conditional constructs.
optimization: better bounds-checking on x86[-64] and ARM64.
optimization: adding 1 to or subtracting 1 from a fixnum variable does not cons.
bug fixes: fix a number of bugs revealed by random testing (#1782826, #1779878, #1779737)
New in version 1.4.9, 2018-06-28
Back to top
enhancement: SB-COVER instrumentation for x86[-64] has signficantly less overhead. The performance penalty for 64-bit code has been measured at around 30% slower than uninstrumented code as contrasted with slowdowns in excess of 100% previously.
enhancement: tracing a generic function with the :METHODS T option produces output corresponding to each method called under the default :ENCAPSULATE NIL tracing implementation.
bug fix: updated TRACE documentation. (#574614 was actually already fixed, but there were other issues.)
bug fix: fixed x86 GC bug causing heap corruption. (#1749369)
bug fix: improved compatibility with macOS High Sierra and graphical applications.
New in version 1.4.8, 2018-05-28
Back to top
bug fix: redefinition of method combinations now does the expected thing; generic functions using that method combination have their effective methods lazily recomputed according to the new definition of the method combination. (Reported by Didier Verna at ELS 2018)
bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION is now implemented more correctly, supporting suppliedp variables and &optional defaults. (Reported by Bruno Haible, #309084)
New in version 1.4.7, 2018-04-29
Back to top
enhancement: better handling of unknown keyword arguments (#1750466)
enhancement: namestrings can now be computed for certain pathnames that previously did not have namestrings because of #. characters in their name and/or type components.
bug fix: compiling a SLEEP call with a float positive infinity argument no longer causes an internal error (#1754081)
bug fix: keyword arguments provided to a generic function with EQL-specialized methods are checked more correctly (reported by Syll, #1760987)
New in version 1.4.6, 2018-03-30
Back to top
enhancement: DISASSEMBLE on a symbol naming a macro will disassemble the expander, not the code that traps attempted FUNCALL of the macro.
enhancement: The sb-sprof contrib now provides an experimental interface for accessing collected profiler data.
enhancement: The instruction-level profiling of the sb-prof contrib annotates the disassembler output more efficiently.
optimization: improved dynamic-extent handling of nested variables.
New in version 1.4.5, 2018-02-28
Back to top
minor incompatible change: building with/without the :sb-package-locks feature is no longer an option. Package locks are always compiled in, and removing :sb-package-locks from features will have no effect.
enhancement: FIND-PACKAGE does not acquire a mutex
enhancement: cheneygc can perform heap relocation on startup
enhancement: in threaded builds, finalizers execute in a system-internal thread so that a user thread which invokes GC is unblocked from performing work as soon it returns from GC and invokes any post-GC hooks. As such, it is more important than before to avoid assumptions about special variable bindings in finalizers, even in single-threaded code.
optimization: faster (funcall (or function symbol)) on x86-64.
New in version 1.4.4, 2018-01-30
Back to top
bug fix: pathname accessors such as PATHNAME-DIRECTORY work on SYNONYM-STREAMs.
bug fix: (pathname-{device,directory,name,type} ... :case :common) works as expected. In particular MAKE-PATHNAME composed with the accessors roundtrips properly when both use the same :case. (#1739906)
bug fix: DIRECTORY no longer gets confused when the value of DEFAULT-PATHNAME-DEFAULTS has a name or type component. (#1740563)
bug fix: pattern pieces in pathname components are correctly escaped during unparsing.
bug fix: DELETE-DIRECTORY no longer signals an error when the directory is supplied as a pathname with name and/or type components containing escaped characters. (#1740624)
bug fix: weak hash-tables no longer cause GC time to scale superlinearly (#1241771)
bug fix: CANCEL-FINALIZATION operates in approximately constant time per operation (#1587983)
bug fix: big-endian MIPS systems now (mostly) work again (broken since 1.3.14.x).
bug fix: backtrace from arg-count errors on systems other than x86, x86-64, ARM, and ARM64 now works again.
bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64 systems should now be more reliable.
enhancement: warnings and errors referring to bindings established by LET, LET*, FLET and LABELS point to the offending form more accurately.
enhancement: backtrace for invalid argument count produces the exact supplied arguments including the extra ones on all platforms (no longer just x86, x86-64, ARM, and ARM64).
New in version 1.4.3, 2017-12-29
Back to top
enhancement: SLEEP respects deadlines established by SB-SYS:WITH-DEADLINE.
bug fix: DECODE-TIMEOUT and operators accepting a timeout no longer signal an error when called with an argument that is of type (real 0) but not (unsigned-byte 62) (#1727789)
bug fix: fixed heap exhaustion bug when consing millions of small objects
bug fix: sb-safepoint builds are now a lot less prone to deadlocks and odd crashes (#1424031, #1268710)
bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or unspecialized parameters are mutated now uses the original (non-mutated) parameter values (#1734771)
bug fix: memory faults from lisp no longer use (thread-and-interrupt unsafe) global storage for fault addresses (everywhere), and now have cleaner backtraces (on x86 and x86-64). (#309068)
bug fix: pathnames with a directory component of the form (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse. (#1738775)
bug fix: more reliable signal handling on macOS.
New in version 1.4.2, 2017-11-30
Back to top
minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated and behaves like SB-EXT:EXIT.
enhancement: ASDF updated to 3.3.1. The ASDF release is dedicated to the late Elias Pipping who put enormous amounts of work into it despite his terminal illness. Thank you and rest in peace. (#1681201)
enhancement: alien routines compiled with '-fsanitize=thread' and/or '-fsanitize=memory' cause fewer false positives in error reporting.
optimization: fewer instances of consing float constants at runtime.
bug fix: a number of compiler bugs detected by Paul F. Dietz' randomized tester. (#1731503, #1730699, #1723993, #1730434, #1661911, #1729639, #1729471, #1728692)
bug fix: better errors from NAMESTRING and friends on pathnames with no namestrings. (#792154)
bug fix: EQUAL and EQUALP compiler transforms were too confident in deriving a result. (#1732277, #1732225)
bug fix: FILL sometimes returned the underlying data vector rather than the given array. (#1732553)
bug fix: SEARCH returned the wrong answer in some cases. (#1732952)
bug fix: the type (COMPLEX INTEGER) behaves more as specified by Function TYPEP, which has stronger constraints than System Class COMPLEX. (Reported by Eric Marsden, #1733400)
New in version 1.4.1, 2017-10-30
Back to top
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)
New in version 1.4.0, 2017-09-30
Back to top
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.
New in version 1.3.21, 2017-08-31
Back to top
minor incompatible change: the CLOBBER-IT restart for defstruct redefintion has been removed after a 15 year deprecation cycle. Use the new name, RECKLESSLY-CONTINUE. Note also that this restart is hidden if deemed unsafe due to altered placement of untagged slots in the structure.
enhancement: the assignment of -DSBCL_PREFIX= in src/runtime/GNUmakefile can be removed as a local patch, which results in an sbcl executable that finds its core file relative to itself by looking in "../lib/sbcl".
enhancement: backends using the generational GC are able to relocate dynamic space anywhere the operating system places it. This feature can be disabled by removing :relocatable-heap from the build configuration. Not supported on Windows.
enhancement: DEFMETHOD no longer signals IMPLICIT-GENERIC-FUNCTION-WARNING.
enhancement: better type conflict detection for high order functions, e.g. (find x "123" :test #'=)
enhancement: the tabular output of ROOM is aligned dynamically, preventing misaligned tables for larger sizes or counts.
enhancement: ROOM reports on immobile space if applicable.
optimization: optimized external-format routines.
bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION returns :IMMOBILE instead of :FOREIGN for objects in immobile space.
bug fix: dotted lists in special forms and function call forms signal an appropriate error
bug fix: EQUALP hash tables with pathname keys now ignore internal slots. (#1712944, reported by Jason Miller)
New in version 1.3.20, 2017-07-31
Back to top
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.
New in version 1.3.19, 2017-06-28
Back to top
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. (#1696274)
bug fix: random sb-fasteval failures. (#1642708)
bug fix: align the stack in callback wrappers to defend against C compiler over-aggressive use of SIMD. (#1697528)
bug fix: don't try to find the class when reporting that a class does not exist for a primitive type. (#1697226)
New in version 1.3.18, 2017-05-30
Back to top
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 (#1682671, reported by Syll)
bug fix: RELEASE-FOREGROUND always removes the current thread from the list of interactive threads. (#1682867, reported by Syll)
New in version 1.3.17, 2017-04-28
Back to top
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. (#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)
New in version 1.3.16, 2017-03-27
Back to top
optimization: various small tweaks give around 5% faster garbage collection
bug fix: better detection of when an impossible code path does not need a warning. (#1668619)
bug fix: stronger attempts to disable position-independent executable building. (#1668986, patch from Mark Wright)
bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows. (#1674437, reported by Jan Idzikowski)
New in version 1.3.15, 2017-02-28
Back to top
minor incompatible change: the reader will when feasible create new symbols using a BASE-STRING for the print name. Additionally, string literals can favor the base-string type if desired, though the default is to always return UTF-32 strings for compatibility. A preference for base-string does not disable reading Unicode. The choice is controlled via (SETF READTABLE-BASE-CHAR-PREFERENCE). If Unicode was disabled at build time, this setting does nothing.
enhancement: SBCL generates more debug information by default.
enhancement: type errors provide context information, such as which variable is being bound, which slot of which structure is being set.
enhancement: if #+immobile-symbols is in build-time FEATURES (not enabled by default), then symbols will never be moved in memory except by SAVE-LISP-AND-DIE. Immobility has helpful implications for code generation as well as interaction with foreign routines. This feature can only be enabled if #+immobile-space is enabled.
enhancement: undefined function errors can be restarted on x86-64, to either retry calling the function again or call a user supplied function.
enhancement: sb-ext:restrict-compiler-policy accepts an upper bound in addition to a lower bound.
enhancement: #+immobile-code improves the speed of function calling. Some delay may be noticed when redefining an existing function from a saved core file however.
defaults change: sb-ext:disassemble-annotate default to NIL, due to its poor reliability.
new feature: SB-LINKABLE-RUNTIME, allowing linking with extra object files to help with delivery of executables. (Thanks to François-René Rideau)
bug fix: data race in GENTEMP fixed - it can no longer return the same interned symbol to multiple threads if called concurrently
bug fix: interrupting LOADing of FASLs does not leave functions without source locations. (#540276)
bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were treated as if they were actually stack allocated (#1659964)
bug fix: correctly handle the case of a non-local exit within a function terminating the extent of dynamic-extent, dynamic-bound variables in the presence of multiple-values (#1655011)
bug fix: handling of SB-SYS:WITH-PINNED-OBJECTS in the interpreters (both sb-eval and sb-fasteval) now actually pins objects on gencgc.
bug fix: AVX registers are preserved during exceptions on x86-64 macOS.
bug fix: (directory "SOMETHING/*//MORE") is no longer equivalent to (directory "SOMETHING//MORE")
bug fix: better console IO on Windows (#1660906)
New in version 1.3.14, 2017-01-22
Back to top
minor incompatible change: the SB-PCL walker no longer recognizes macros expanding into a DECLARE expression. This is not a language change, since ANSI forbids such usage (X3J13 issue DECLARE-MACROS:FLUSH).
enhancement: for several macros such as MULTIPLE-VALUE-{BIND,SETQ}, COND, DO{,*,LIST}, {RESTART,HANDLER}-{BIND,CASE}, *CASE, conditions signaled during macroexpansion point to the form that caused the problem more accurately.
enhancement: the "--noinform" command-line option inhibits output from save-lisp-and-die in addition to removing the startup banner.
bug fix: PROCESS-KILL failed to return errno if the system call failed
optimization: slightly more comprehensive treatment of the keyword arguments to MAKE-ARRAY in compiler transformations.
New in version 1.3.13, 2016-12-31
Back to top
enhancement: SET triggers package locks on undefined variables. (#1645152)
enhancement: new Windows specific option to run-program, :escape-arguments (#1503496)
enhancement: recompiling a MAKE-INSTANCE form with an initarg :INITARG CONSTANT where CONSTANT names a constant variable picks up the new value of CONSTANT in case it has been redefined. (#1644944)
optimization: faster TYPEP on undefined at compile-time types and upcoming class definitions. (#1082967)
optimization: memory consumption of each STANDARD-OBJECT instance is reduced by 2 words if the compact-instance-header feature is enabled.
optimization: CONDITION instances are quicker to allocate.
optimization: unoptimized calls to FILL on specialized vectors are now just as fast as T vectors.
bug fix: get-timezone returns corret DST on 64-bit Windows. (#1641058)
bug fix: cross reference information in fasls is no longer incompatible between different cores (#1648186)
New in version 1.3.12, 2016-11-29
Back to top
enhancement: on x86-64, compiled functions loaded from fasl files can not be moved, but can be freed, by GC. Additionally, COMPILE will produce immobile code if SB-C::COMPILE-TO-MEMORY-SPACE is set to :IMMOBILE. (Caution: the flag is experimental and subject to change.) The benefits are better physical separation of code from data, and potentially easier examination of live images by external tools.
enhancement: the docstring for SAVE-LISP-AND-DIE has been amended to say that the :ROOT-STRUCTURES parameter is not meaningless on gencgc, depending on the platform.
bug fix: calling a named function (e.g. a DEFUN) concurrently with redefining that same function could lead to execution of random bytes.
bug fix: yes-or-no-p accepts formatter functions (#1639490)
bug fix: better handling of exceptions on macOS.
New in version 1.3.11, 2016-10-30
Back to top
minor incompatible change: SB-EXT:INTEXP-MAXIMUM-EXPONENT is removed.
enhancement: TRACE ... :REPORT {TRACE,NIL} now work as advertised in the documentation string (based on patch by Patrick Stein)
enhancement: support unboxed signed-word structure slots on x86, x86-64 and ARM64. (#377616)
optimization: faster logical bit-array operations on multidimensional arrays.
optimization: better GC performance in the presence of many threads. (patch by Ilya Perminov, #1339924)
optimization: multiple-value-call is optimized with multiple argument forms, not just one. (#753803)
bug fix: MAKE-ALIEN-STRING returns the number of allocated bytes as a second value as advertised (reported by Johann 'Myrkraverk' Oskarsson)
bug fix: when TO-READTABLE is supplied to COPY-READTABLE, it will contain only the macros in FROM-READTABLE and no others. (#1631506)
enhancement: gencgc has been modified for x86-64 on Linux and macOS to a support mark-and-sweep as well as the traditional copying strategy. It is conceivable that some applications might be adversely affected. Please see ':immobile-space' in 'base-target-features.lisp-expr' for further details, and possible reasons to disable this feature.
enhancement: x86-64 supports shrinking the fixed overhead in a structure from 2 words to 1 word, reducing memory consumption in applications which create many small structures.
New in version 1.3.10, 2016-09-30
Back to top
enhancement: more compact low-level error signaling code
enhancement: more compact encoding of cross-reference information
optimization: faster out of line fixnum-float comparisons.
optimization: filling a known simple-vector with a constant value is about as fast in unoptimized code as in code compiled with (SPEED 3), and the x86-64 implementation is able to use SSE instructions.
bug fix: correctly handle the case of a non-local exit within a function terminating the extent of dynamic-extent functions and variables in the presence of multiple-values (#1563127)
bug fix: restore builds on the latest OSX with the latest Xcode (#1470996)
New in version 1.3.9, 2016-08-30
Back to top
minor incompatible change: NAMESTRING prefers to return a BASE-STRING instead of (ARRAY CHARACTER (*)) when possible.
enhancement: cached make-instance/allocate-instance constructors can now get garbage collected.
optimization: better performance for some unoptimized operations on complex numbers.
bug fix: using the options :LOCAL-NICKNAMES and :LOCK in the same DEFPACKAGE form no longer signals a bogus error
New in version 1.3.8, 2016-07-31
Back to top
minor incompatible change: the system now understands that the CONDITION type is disjoint with many other system types.
minor incompatible change: argument types in condition report functions are now declared (in combination with the above change, this can result in early detection of erroneous code).
enhancement: simple arrays of any rank can be stack-allocated on platforms supporting stack allocation of vectors.
optimization: improved type derivation for FIND, POSITION, COUNT, SEARCH, MISMATCH and other array and sequence functions.
optimization: ALLOCATE-INSTANCE is now as fast as MAKE-INSTANCE.
optimization: more efficient CHANGE-CLASS.
bug fix: versions of getresuid() and getresgid() in SB-POSIX no longer cause memory faults, and should work properly (#1603806, reported by Kieran Grant)
bug fix: handle ENOENT from getprotobyname() (#1596043, reported by Stephen Hassard)
New in version 1.3.7, 2016-06-30
Back to top
bug fix: preserve the name of the destructive function for the destroyed constant and important result warnings, even when declared NOTINLINE.
optimization: faster operations on list-sets.
optimization: better type derivation of set functions. (#1592152)
optimization: load-time TLS-INDEX assignment, and other microoptimizations, on x86.
optimizations in:
APPEND;
ECASE/ETYPECASE;
ARRAY-DIMENSIONS;
ARRAY-TOTAL-SIZE;
REMOVE, REMOVE-DUPLICATES, DELETE and DELETE-DUPLICATES on lists.
New in version 1.3.6, 2016-05-28
Back to top
bug fix: do not insert conditional newlines in print-unreadable-object (#1398290). This reverses a change made in #488979 which reversed a fix advertised in release 0.8.14 to pass the GCL ANSI Test Suite.
bug fix: constant negative rotations of 32-bit quantities are compiled correctly on x86-64 and arm. (#1586614, reported by Guillaume Le Vaillant)
New in version 1.3.5, 2016-04-28
Back to top
enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD
enhancement: speed up debug info creation for highly nested functions. (#1563355)
enhancement: the interleaved structure slot optimization from release 1.2.6 has been ported to all architectures.
enhancement: support run-program I/O redirection into lisp streams on Windows.
bug fix: better wording in missed optimization note. (#1003265)
bug fix: interpreted (CAS SVREF) was broken
bug fix: support CLISP as build host for ARM (#1568256, thanks to Tomas Hlavaty)
New in version 1.3.4, 2016-03-31
Back to top
enhancement: who-sets and who-references work on DEFGLOBAL. (#1552997)
enhancement: CONSTANTP understands backquote. e.g. (CONSTANTP '`(0 (,CHAR-CODE-LIMIT))) => T
optimization: improvements to sequence functions: CONCATENATE, SUBSTITUTE, REVERSE.
bug fix: SB-EVAL does not signal an error for (THE KEYWORD :FOO)
bug fix: a DEFTYPE name that is redefined into a DEFSTRUCT name is less likely to cause confusion in the compiler.
bug fix: DOCUMENTATION works as intended for classes with non-standard metaclasses
bug fix: (TYPEP ) no longer returns NIL in certain situations
bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE accept class objects as result-type
bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE expand DEFTYPEs in result-type
New in version 1.3.3, 2016-02-29
Back to top
enhancement: warn about argument mismatch for functions passed as arguments to other functions (e.g. REDUCE, MAP) at compile-time.
optimization: functions accepting other functions (e.g. REDUCE, FIND) can now be constant-folded if all function arguments are declared as foldable.
optimization: improved logical operations on integers of unknown type.
bug fix: exception handling no longer leaks memory on OS X. (#326238)
New in version 1.3.2, 2016-01-31
Back to top
enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations of short sequences and stream types
enhancement: MAKE-LIST's result can be stack-allocated on x86-64
bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers to bivalent streams
bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum arguments and small bit positions. (#1277690)
bug fix: READ-FROM-STRING compiler-macro does not permute its arguments
bug fix: DEFUN of a function name that collides with a system-generated structure accessor does not confuse the runtime. (#540063)
bug fix: heap corruption from miscompiled RESTART-BIND. (#1530390)
New in version 1.3.1, 2015-11-27
Back to top
enhancement: SB-THREAD support for ARM64.
enhancement: compiling an out-of-line DEFSTRUCT constructor call will warn if a defaulted value is incompatible with its slot type.
enhancement: a local INLINE declaration on a structure constructor will work as intended, subject to any other factors that inhibit inlining, even if the DEFSTRUCT was not itself within a global INLINE proclamation for the named constructor
enhancement: SB-EXT:DYNAMIC-SPACE-SIZE is now defined for cheneygc.
enhancement: x86[-64] platforms support SB-EXT:CAS on structure slots of type SB-EXT:WORD
enhancement: the interleaved structure slot optimization from release 1.2.6 has been ported to 32-bit x86, Sparc, PowerPC, ARM64.
enhancement: SB-THREAD:JOIN-THREAD signals a proper error when an attempt is made to join the current thread
bug fix: NTH-VALUE does not cause stack overflow. (#1511419)
bug fix: structure constructor type checking is better. (#1508735)
bug fix: supplied-p variables for unused optional or keyword variables no longer confuse SB-DI:PARSE-COMPILED-DEBUG-FUN-LAMBDA-LIST (and thus the backtrace machinery) (#1498644)
bug fix: Backtrace correctly handles undefined-function frames on MIPS.
bug fix: WITH-FLOAT-TRAPS-MASKED correctly clears accrued traps on MIPS (fixes issues with floating-point type derivation in the compiler).
bug fix: FLOAT-NAN-P and FLOAT-TRAPPING-NAN-P now work correctly on MIPS and HPPA.
bug fix: MIPS context register access now masks to 32 bits (fixing issues parsing negative-fixnum values for internal-error arguments and escaped debug variables on 64-bit CPUs).
bug fix: (SETF SAP-REF-DOUBLE) with constant offset on big-endian MIPS now works correctly.
bug fix: Callback parameter (argument) handling on MIPS is now vastly more correct.
bug fix: %DECREMENT-SEMAPHORE adjusts the remaining timeout after a spurious wakeup
New in version 1.3.0, 2015-10-31
Back to top
minor incompatible change: the environment passed to a macro/setf/deftype expander is not always an object of type SB-KERNEL:LEXENV. It can be nil, as is permissible by the standard.
enhancement: ported to ARM64 Linux.
enhancement: a new interpreter is included which has many benefits over sb-eval. It is disabled by default. See src/interpreter/README for instructions to enable it, and further details.
bug fix: calling COMPILE when SB-EXT:EVALUATOR-MODE was :INTERPRET would fail to perform "normal semantic processing such as macro expansion" as stipulated by X3J13 issue LOAD-TIME-EVAL.
bug fix: SB-UNICODE:CONFUSABLE-P no longer treats "<" and the empty string as confusable. (#1504739)
bug fix: (ASSERT (COMPUTE-IT ...)) would expand incorrectly if COMPUTE-IT was a local macro that shadowed a global function.
bug fix: SB-POSIX:CFSETISPEED and SB-POSIX:CFSETOSPEED now work properly on platforms that use only the minimum specified set of fields in struct termios (verified on Linux, still known not to work on FreeBSD and NetBSD, very probably others). (partial fix for #1500951)
New in version 1.2.16, 2015-09-30
Back to top
enhancement: by default, timers with a repeat interval do not "catch up" by repeatedly calling their function after a clock discontinuity such as a suspend and resume cycle
bug fix: correctly restore multiple values on the stack in the presence of alien calls. (#1489590)
bug fix: MAKE-STRING-OUTPUT-STREAM enforces that :ELEMENT-TYPE is a subtype of CHARACTER.
bug fix: an EQL method specializer no longer causes garbage retention if there are no extant methods using the specializer. (#492851)
New in version 1.2.15, 2015-08-30
Back to top
new feature: DEPRECATION declaration for functions, variables and types causes {EARLY,LATE,FINAL}-DEPRECATION-WARNING to be signaled when subject of the declaration is used. Integrated with DESCRIBE, DOCUMENTATION and SB-CLTL2:{VARIABLE,FUNCTION}-INFORMATION. Documented in the "Deprecation" section of the manual.
enhancement: ASDF updated to 3.1.5. (#1476867)
enhancement: definitions within PROGN get proper source locations when compiled (needs latest Slime to take advantage of this). (#1473147)
enhancement: source locations for DEFCLASS slots now point directly to the slot definitions, not the whole DEFCLASS form.
bug fix: better source location in the presence of quoted forms. (#1370561)
bug fix: better source locations inside backqoute. (#1361502)
bug fix: HANDLER-BIND requires that the handler-function be a function designator at the time of binding establishment. (#1480679)
bug fix: inlined functions surrounded by nested macrolets are properly inlined. (#309123)
New in version 1.2.14, 2015-07-29
Back to top
minor incompatible change: The name of a compiled anonymous lambda as returned by the third value of FUNCTION-LAMBDA-EXPRESSION can have a lambda-list-like list following the introductory LAMBDA that is not in general a syntactically valid lambda list. Specifically, it won't retain default values, supplied-p variables, or &KEY or &AUX bindings.
enhancement: DESTRUCTURING-BIND has been totally reimplemented from scratch to address a handful of performance and correctness issues. Some minor behavioral differences exist regarding order of evaluation of default forms for unsupplied &OPTIONAL and &KEY arguments when nested destructuring patterns are involved. (#707556, #707573, #707578, #708051)
enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (#1186238, #1036716)
enhancement: sb-unicode:normalize-string has a new optional argument, FILTER, a callback which controls which decomposed characters are collected. Useful for stripping away diacritics more efficiently.
bug fix: (TYPE-OF ARRAY) for a non-simple array is subject to change after a call of ADJUST-ARRAY. (#1333731)
bug fix: Dynamic-extent allocation with a loop between allocating a value and the start of its environment no longer discards the allocated data when the loop is taken. (#1472785)
bug fix: Variable-reference elimination no longer generates incorrect code under certain circumstances. (#1446891)
bug fix: variables with EQL types are no longer treated as constants by VOPs, which caused problems with closures being allocated for such variables, but they remained unused. (#1390149)
bug fix: Windows installer generates registry key name correctly. (#1476447)
New in version 1.2.13, 2015-06-28
Back to top
incompatible change: on success, TRY-SEMAPHORE and WAIT-ON-SEMAPHORE return the new count
enhancement: WAIT-ON-SEMAPHORE accepts a decrement parameter
enhancement: JOIN-THREAD allows distinguishing timeout vs. abort in all situations
enhancement: On Windows DBG_PRINTEXCEPTION_C is handled and its message is printed. (#1437947)
bug-fix: TRUENAME works properly on broken symlinks presented as directories. (#1400003)
bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right order of argument evaluation. (#1458190)
bug fix: (SETF (LDB (BYTE 1 2 JUNK) X) 0) is rightly rejected.
bug fix: DEFSETF lambda lists should not permit argument destructuring.
bug fix: calls to (SETF SLOT-VALUE) on a missing slot would in certain situations incorrectly return the result of a SLOT-MISSING method instead of always returning the new value. (#1460381)
bug fix: a DEFMACRO occurring not at toplevel and capturing parts of its lexical environment (thus being a closure) caused expressions involving the macro name to cause corruption in the pretty-printer due to faulty introspection of the lambda list of a closure.
bug fix: out of line MAP/MAP-INTO check that the results produced by the function are of the matching sequence type. (#1459581)
bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.
New in version 1.2.12, 2015-05-30
Back to top
minor incompatible change: the SB-C::POLICY variable is no longer a list. Code which manipulated it as such (including but not limited to non-bundled releases of ASDF) will need to be revised.
enhancement: The input stream for COMPILE-FILE implements STREAM-LINE-COLUMN.
enhancement: EVAL errors that occur by way of LOAD report the starting line and column number of the erring toplevel form. (#565247)
optimization: better MAP and MAP-INTO on known vector result types.
bug fix: Read/modify/write macros accessing a place which is a composition of CAR+CDR operations, such as (SHIFTF (CADR X) (ELT V 0)), do not access subforms more than once. (#1450968)
bug fix: short form of DEFSETF no longer allows trailing junk.
bug fix: DEFINE-MODIFY-MACRO respects the provisions of CLHS 5.1.3 regarding argument evaluation order. (#1452539)
bug fix: POP works as specified in CLHS if the setter for its argument has a side-effect on the existing CAR value. (#1454021)
bug fix: Reading "#()" with a positive numeric argument signals a reader error. As specified, reading "#1()" has undefined consequences, so correct portable code should be indifferent to this. (#1252100)
bug fix: Malformed reader conditionals such as "(#-no-such-feature)" and "(#+sbcl)" no longer parse as NIL. (#1454400)
New in version 1.2.11, 2015-04-27
Back to top
enhancement: SET-PPRINT-DISPATCH will warn when given an expression in which any part is unrecognizable as a legal type-specifier. The dispatch table will be altered, but the new entry is disabled. Subsequent type-defining forms will cause pprint-dispatch tables to re-examine whether any disabled entries should be enabled. (#1429520)
enhancement: Loading code containing calls to a deprecated function will, under most circumstances, signal warnings similar to compiling such code. The usual caveat holds about not detecting calls through a computed name, as in (funcall (intern "DEPRECATED-FUN" "SB-EXT")).
enhancement: (SB-EXT:COMPILE-FILE-LINE) is a new macro that expands to a constant (VALUES integer integer) indicating the source line/column from which it was read, intended for logging Lisp runtime errors in a style similar to that afforded by the C preprocessor LINE macro. Similarly (SB-EXT:COMPILE-FILE-POSITION) returns a position in characters.
enhancement: improved source locations for VOPs, alien types and declarations.
bug fix: functions in :FINAL deprecation have the correct docstring. No visible change, as no such functions presently exist. (#1439151)
bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error if OTHER names either a macro or special-operator. (#1439921)
New in version 1.2.10, 2015-03-28
Back to top
minor incompatible change: all SOCKINT::WIN32-* functions have been deprecated with EARLY deprecation state
minor incompatible change: performing introspection via the system-internal SB-INT:INFO function could expose that :TYPE :TRANSLATOR is not necessarily a function, as it always was before. (Affects swank-fancy-inspector)
enhancement: The value of SXHASH on bit-vectors of length equal to the word size now depends on the vector's contents instead of being constant; its value on bit-vectors of length divisible by the word size now depends also on the contents of the vector's last word.
bug-fix: sb-bsd-sockets on win32 uses proper C function declarations. (#1426667)
bug fix: A new dead code elimination phase removes dead code loops that confuse stack analysis. (#1255782, #308914)
bug fix: A toplevel form which was simple enough to bypass the main compiler in COMPILE-FILE, and which contained an empty SETQ or PROGN would produce an invalid fasl file. (#1427050)
bug fix: The compiler no longer signals an internal error when encountering invalid FUNCTION forms like (function 1)
bug fix: express proper dependencies in the ASDF contrib, to support systems where make runs in parallel. (#1434768; thanks to Nikhil Benesch)
New in version 1.2.9, 2015-02-27
Back to top
minor incompatible change and bug fix: unboxed numeric constants on x86oids are arranged in memory differently, and the disassembler does not show them separately in DISASSEMBLE, but does if DISASSEMBLE-CODE-COMPONENT is used. (#1421987)
optimization: The compiler's treatment of type specifiers makes it slightly faster and more memory-efficient. Portable code should be indifferent to this change, however, users of SB-INTROSPECT:FUNCTION-TYPE might notice that (MEMBER T NIL) and (MEMBER NIL T) are both internally collapsed to the former, so that the latter can never be obtained as part of an FTYPE.
optimization: a TYPEP call in which the second argument is not a QUOTE form but nevertheless recognized as a compile-time constant might open-code the test. One scenario for this involves backquote, such as (TYPEP x `(my-type ,some-arg)). Code which relied upon deferring until runtime should declare (NOTINLINE TYPEP). [Due to the sematic constraints of DEFTYPE etc in in CLHS 3.2.2.3, code requiring delayed evaluation could be unportable though.]
enhancement: unused variables at the top-level are now reported. (#492200)
bug fix: DEFCLASS handles cyclic {super,meta}class relations better (#1418883)
bug fix: compiler no longer signals an error when compiling certain function calls. (#1416704, #404441, #1417822, #1234919)
bug fix: compiler doesn't stumble on a LOGIOR transform. (#1389433)
bug fix: more robust debugger and backtraces. (#1413850, #1099500, #1412881, #945261, #1419205, #1409402)
bug fix: files larger than 4GB can now be compiled.
bug fix: x86 truncated results from 64-bit foreign functions to 32 bits.
bug fix: file-position didn't work on large files on win32. (#1271545)
bug fix: callbacks from foreign threads can work without enabling sb-safepoint.
bug fix: sb-introspect:function-lambda-list works properly on interpeted macros. (#1387404)
bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (#886418)
bug fix: compiler no longer fails to dump a multidimensional array constant involving a circular reference to itself
bug fix: conditional and nested DX allocation no longer confuse the compiler in STACK analysis. (#1044465)
bug fix: sb-rotate-byte constant folding bug fixed. (#1423682)
New in version 1.2.8, 2015-01-31
Back to top
enhancement: better error and warning messages. (#1314767, #736383)
enhancement: backtrace for invalid argument count produces the exact supplied arguments including the extra ones, on x86, x86-64 and ARM.
enhancement: a STYLE-WARNING is signaled for DEFSTRUCT accessors which are used before the structure is defined; similarly for the predicate.
optimization: FORMAT NIL with only ~a and string arguments is transformed into CONCATENATE.
optimization: POSITION and FIND when inlined into code that is compiled with qualities of safety < 2 and speed > space will no longer signal an error on circular lists, but will potentially loop forever if given no :END constraint. As was always the case, calls that are not inlined are safe regardless of lexical policy.
bug fix: CLOS methods compiled with (OPTIMIZE (DEBUG 0)) no longer cause debugger failure when printing a backtrace
bug fix: more resilience to deleted code. (#1308328, #1390544)
bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT did not work, and now it does.
New in version 1.2.7, 2014-12-31
Back to top
optimization: returning constant values refers to preboxed constants more reliably. (#1398785)
enhancement: a STYLE-WARNING is produced if a compiler-macro is defined for a function after at least one ordinary (not inlined) call to that function was compiled, indicating a likely compilation order problem. Likewise a warning ensues if a call is compiled to a function that is subsequently proclaimed INLINE.
enhancement: always lose() when something goes wrong while saving a core (instead of just printing an error on stderr in some situations).
enhancement: frames in the debugger are now restartable by default.
bug fix: restore error handling on Windows x86.
bug fix: MAKE-SEQUENCE detects type errors in its :INITIAL-ELEMENT at compile-time when possible. (#330299)
bug fix: parsing of malformed type specifiers no longer results in a memory-fault-error.
bug fix: LOOP properly destructures nested lists in WITH.
bug fix: MACROEXPANDing the redefinition of an alien structure type no longer signals the wrong error.
bug fix: PROGV doesn't get confused by forced DEBUG 3 (#1405456).
New in version 1.2.6, 2014-11-29
Back to top
enhancement: SERVE-EVENTS uses the poll() system call in lieu of select() if the OS has the former. Previously poll() was used only if waiting on exactly one file descriptor.
enhancement: efficiency of access to untagged structure slots is improved on x86-64, and the order of slots in memory is exactly as specified by defstruct, simplifying use of structures as arguments to foreign calls.
bug fix: SB-DEBUG:ARG now works in all TRACE options which evaluate forms. (#1357826)
bug fix: GC memory corruption during internal memory handling.
bug fix: duplicate effective-slot-definition objects as compared by EQ on name could be present in CLASS-SLOTS of a class whose metaclass was structure-class or condition-class. (#1049423)
bug fix: HANDLER-BIND with empty bindings works again; regression in 1.2.5. (#1388707)
bug fix: ATOMIC-INCF works on structure slots in interpreted code. (#1381867)
bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and (member #\a #\c). (#1392068)
bug fix: READ sometimes accidentally preserved a whitespace character after a token when it should not have. (#327790)
New in version 1.2.5, 2014-10-28
Back to top
enhancement: sb-bsd-sockets now has basic support for IPv6
enhancement: An sb-unicode package has been added, containing many functions related to handling Unicode text
enhancement: The reader now normalizes symbols to Normalization Form KC (NFKC). This behavior can be disabled with SB-EXT:READTABLE-NORMALIZATION
enhancement: a style-warning is signaled if OPTIMIZE declarations multiply specify a quality with differing values. (#310267)
bug fix: conservatively pointed to pages wipe out unused dwords so that they cannot act as false roots in turn.
bug fix: the walker's handling of lexical variable and symbol-macro bindings is improved (#375326, #1368305)
bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause contains an undefined condition type; regression in 1.1.19 (#1378939)
bug fix: in interpreted code, inequality predicates did not type-check arguments that weren't examined, and a 1-argument use of MIN or MAX accepted a complex number. (#1373702)
bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly. (#1364413, thanks to Zach Beane)
New in version 1.2.4, 2014-09-27
Back to top
enhancement: the sequence functions MAP, CONCATENATE and MERGE now call the new generic functions SEQUENCE:MAP, SEQUENCE:CONCATENATE and SEQUENCE:MERGE respectively when the specified result type designates an extended sequence.
bug fix: Wrong binding order of supplied-p parameters in macro lambda lists. (#721135)
bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the universal superclass (#1332983)
bug fix: reading an uninterned symbol whose print name has the syntax of an integer signals an error. (#310062)
bug fix: the walker is less likely to be confused when walking LET* forms with special bindings and use of those bindings and others of the same name.
bug fix: a rare bug affecting 32-bit platforms resulting in a fatal condition with the message "Globaldb rehash failure" has been fixed.
New in version 1.2.3, 2014-08-29
Back to top
enhancement: DOCUMENTATION works on instances of FUNCALLABLE-STANDARD-CLASS
enhancement: ASSERT reports arguments of calls to lexical functions in additional to global functions.
enhancement: ASDF updated to 3.1.3
enhancement: UIOP can be loaded without ASDF.
bug fix: some methods on CHANGE-CLASS did not finalize the new class before accessing its class-precedence list.
bug fix: CHANGE-CLASS no longer fails on unbound slots in the source object.
bug fix: CHANGE-CLASS signals an appropriate error when the destination class is a FORWARD-REFERENCED-CLASS.
bug fix: CHANGE-CLASS no longer signals bogus TYPE-ERRORs for slots for which initargs have been supplied.
bug fix: saving cores on ARM was broken since the introduction of GENCGC. (#1349795)
bug fix: macroexpanding a backquoted expression involving ",." outside of the compiler failed. (#1354623)
New in version 1.2.2, 2014-07-28
Back to top
incompatible change: the #` ("backquote") reader macro was reimplemented to support robust pretty-printing. Reading a form involving #` produces an invocation of the QUASIQUOTE ordinary macro which may contain subforms that are not lists. Code that unportably attempts operations on un-evaluated forms resulting therefrom, e.g. (SUBST a b (read-from-string "`(x (,y))")) might generate incorrect results and/or errors.
enhancement: support for GNU/kFreeBSD x86.
enhancement: ATOMIC-INCF and ATOMIC-DECF can operate on (CAR x), (CDR x) and DEFGLOBAL variables of type fixnum.
enhancement: arithmetic constant reduction is now performed on defconstant constants too. (#1337069).
bug fix: certain ftype proclamations containing &optional t &rest t no longer cause subsequent definitions to signal bogus style-warnings.
bug fix: #\Bell and #\Bel now read to different characters. (#1319452).
bug fix: CAS SYMBOL-VALUE on locally special variables didn't work. (#1098355)
New in version 1.2.1, 2014-06-28
Back to top
enhancement: GENCGC is enabled on ARM.
enhancement: better error reporting for invalid calls to local functions.
enhancement: support for GNU/kFreeBSD distributions. (#1079954, thanks to Christoph Egger)
enhancement: experimental support for threads on NetBSD/x86-64. (thanks to Robert Swindells)
enhancement: support for DragonFly BSD. (#1292845, thanks to Vasily Postnicov)
bug fix: TYPE-OF must not return AND/OR/NOT expressions. (#1317308)
bug fix: accessing NIL arrays stopped producing errors. (#1311421)
bug fix: DISASSEMBLE no longer prints unwanted stuff. (#1251861)
bug fix: compiling SVREF on unknown types no longer produces scary errors. (#1258716)
bug fix: assorted LOOP fixes and enhancements. (#645534, #1322923, #700538, #613876, #695286, #798388)
bug fix: silence compiler notes from the SEARCH transform. (#1071310)
bug fix: array type intersection handles T and unknown element types correctly. (#1258716)
bug fix: fix a corner case in array type unparsing that would result in misleading translations from our internal type representation.
bug fix: array-rank now sees through union and intersection types. (#1310574)
bug fix: when DECLARE expressions are in the wrong place, be careful not to attempt to evaluate the subforms. (#573747; thanks to Roman Marynchak)
bug fix: misplaced and missing declarations in DEFTRANSFORM. (#1066451)
bug fix: FBOUNDP returned NIL for a class of incorrect function names instead of signaling an error. (#1095483)
bug fix: fix a compile-time AVER in regalloc: lifetime analysis used to (rarely) introduce duplicate conflict markers in a single TN/block pair. (#1327008)
New in version 1.2.0, 2014-05-27
Back to top
bug fix: read-time-eval backquote context mixup. (#1321047)
enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the report of the signaled conditions lists currently running threads.
enhancement: ported to ARM linux.
enhancement: sb-gmp contrib has been updated. (#1305266)
enhancement: new contrib sb-mpfr by Stephan Frank.
bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE (#1315846, thanks to Mark Cox)
bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic function-designator to a function only as needed. (#1012335)
bug fix: remove references to asdf-install from the manual. (#1207544, thanks to Thomas Hlavaty)
bug fix: handle --without-xxx options to make.sh more carefully. (#1246665, thanks to Richard M Kreuter)
bug fix: prevent maybe-delete-exit from doing semantically broken things with local exits. (#309099, #518099, #533930)
bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required by AMOP. (#861004)
New in version 1.1.18, 2014-04-28
Back to top
optimization: COERCE is now more effecient for more cases when the type is known at compile-time. (#1309815)
bug fix: correctly inherit condition initforms. (#1300904)
bug fix: properly pprint literal functions inside nested lists. (#1300716)
bug fix: more-correctly handle array-type unity (broken for ages, causing compilation problems since 1.1.13.x due to smarter TYPEP type propagation, reported by jasom in #lisp).
New in version 1.1.17, 2014-03-30
Back to top
enhancement: printing backtraces respects SB-DEBUG:DEBUG-PRINT-VARIABLE-ALIST when printing call arguments (#1261646)
optimization: defstruct out-of-line accessor are now as fast as inlined. (#1264924)
bug fix: INVOKE-RESTART-INTERACTIVELY no longer refuses to invoke RESTART instances with a test-function (reported by Vivitron in #sbcl)
bug fix: STREAM-ERROR-POSITION-INFO fails in fewer situations (#1264902)
bug fix: Change COND error message (#1254511)
bug fix: LOAD is no longer confused when called on a directory. (#1077996)
bug fix: MAKE-CONDITION reports names of missing condition classes properly (#1199223)
bug fix: restore building with clang. (#1293643)
bug fix: restore building on SPARC (broken since 1.1.15).
bug fix: improved FreeBSD support.
bug fix: PPC floating point conversion corrupted stack.
New in version 1.1.16, 2014-02-28
Back to top
minor incompatible change: improve read/print consistency for pathnames on Win32, by using the circumflex character #^ as the escape character. (#673625)
enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (#1253688)
enhancement: Loading fasls with symbols from an undefined package includes the name of the symbol in the error message.
bug fix: problems when redefining classes and doing TYPEP on classes concurrently. (#1272742)
bug fixes to the x86-64 XCHG instruction:
it was misencoded when used with RAX, R8-R15 registers. (reported by Eric Marsden)
it was misencoded when used to exchange EAX with itself.
the disassembler wrongly printed XCHG RAX, R8 and the corresponding 32- and 16-bit variations as NOP.
bug fix: the disassembler outputs source annotations in the right place and no longer randomly drops some of them. (#1249205)
bug fix: fix commutative-arg-swap from introducing undumpable structures into code, prevent code with errors from being compiled. (#1276282)
bug fix: pathnames with :back in their directory component are succeffully resolved.
bug fix: the deterministic profiler now uses ENCAPSULATE functionality to wrap functions around. (#309086)
New in version 1.1.15, 2014-01-29
Back to top
new feature: the iterative spilling/coloring register allocator developed by Alexandra Barchunova during Google Summer of Code 2013 is now merged in. By default, it only activates for functions that optimize with (speed 3) and (> speed compilation-speed), but setting sb-regalloc:register-allocation-method to :iterative forces its execution. The previous behaviour can be obtained by instead setting that variable to :greedy. Thanks again to Google for their support, and, more crucially, to Alexandra Barchunova for her hard work.
optimization: make-array with known element-type and unknown dimensions is much faster.
optimization: make-array with unknown element-type is faster as well. (#1004501)
enhancement: sb-ext:save-lisp-and-die on Windows now accepts :application-type argument, which can be :console or :gui. :gui allows having GUI applications without an automatically appearing console window.
enhancement: reduced conservativism on GENCGC platforms: conservative roots must be valid-looking tagged pointers or point within a code object, not merely point to within the allocated part of a page, in order to pin a page.
enhancement: support for "Mac Roman" external format.
enhancement: encapsulation of named generic functions now happens without altering the identity of the function bound to the name.
bug fix: Windows applications without the console window no longer misbehave. (patch by Wilfredo Velazquez, #1256034).
bug fix: modular arithmetic optimizations do not stumble on dead branches with bad constants. (reported by Douglas Katzman)
bug fix: CLISP can be used again as a cross-compilation host. (Thanks to Vasily Postnicov, #1261451)
bug fix: run-program crashed with :directory nil. (#1265077)
New in version 1.1.14, 2013-11-30
Back to top
optimization: complicated TYPEP tests are less opaque to the type propagation pass. (#1229340)
optimization: [N]BUTLAST perform a single pass over the list. (#1245697)
optimization: EQUALP on structures with raw slots (double-float/complex) no longer conses and is faster.
optimization: RESTART-CASE expands to more compact code. Thanks to Jan Moringen. (#1249055)
enhancement: Top-level defmethod without defgeneric no longer causes undefined-function warnings in subsequent forms. (#503095)
enhancement: Better error messages for system errors on Windows.
enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William Cushing. (#1249183)
enhancement: new function SB-EXT:ASSERT-VERSION->= accepts a version specification (multiple integer arguments) and signals a continuable error if the current SBCL version is lower (older) than the specification. (#674372)
enhancement: better ARRAY-RANK result derivation. (#1252108)
bug fix: EQUALP now compares correctly structures with raw slots larger than a single word.
bug fix: contribs couldn't be built on Windows with MinGW.
bug fix: Better pathname handling on Windows. (#922117)
bug fix: OPEN reports a more meaningful error when an existing file is opened for output with :if-exists :new-version. Thanks to Philip Munksgaard. (#455381)
bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange CLOS-related errors. (#633911)
bug fix: GC deadlocks caused by concurrent consing on Windows.
New in version 1.1.13, 2013-10-31
Back to top
optimization: better distribution of SXHASH over small conses of related values. (#309443)
other improvements to SXHASH:
- use the whole of the positive-fixnum range for SXHASH of fixnums
enhancement: The error message when calling an undefined alien function includes the name of the function on x86-64.
enhancement: sb-ext:run-program now supports :environment on Windows.
enhancement: ASDF is no longer required to load contribs at runtime. (#1132254)
enhancement: when called with a symbol, FIND-RESTART no longer calls COMPUTE-RESTARTS, making it faster and cons less (#769615)
enhancement: FIND-RESTART and COMPUTE-RESTARTS handle huge restart clusters better in some cases
enhancement: SOME/ANY/other quantification higher-order functions no longer cons. (#1070635)
bug fix: forward references to classes in fasls can now be loaded. (#746132)
bug fix: don't warn on a interpreted->compiled function redefinition from the same location. (patch by Douglas Katzman, #1042405)
bug fix: Create vectors of proper internal length when reading literal vectors from FASLs. (Reported by Jan Moringen)
bug fix: COMPILE can now successfully compile setf functions. (Reported by Douglas Katzman)
bug fix: run-program performs more correct escaping of arguments on Windows. (#1239242)
bug fix: function-lambda-expression on generic functions returns the actual name.
bug fix: (the [type] [constant]) now warns when [constant] matches [type] except for the number of values. (Reported by Nathan Trapuzzano on sbcl-help)
bug fix: signal errors in required cases of slot-definition initialization protocol. (#309072)
bug fix: run-sbcl.sh works better in the presence of symlinks on OS X. (thanks to Stelian Ionescu, #1242643)
bug fix: when given a restart object, FIND-RESTART checks whether the restart is active and, when a condition is supplied, whether the restart is associated to a different condition (#774410)
New in version 1.1.12, 2013-09-30
Back to top
enhancement: Add sb-bsd-sockets:socket-shutdown, for calling shutdown(3). (thanks to Jan Moringen, #1207483)
enhancement: document extensible sequences. (thanks to Jan Moringen, #994528)
optimization: EQUAL and EQUALP transforms are smarter. (thanks to Elias Martenson, #1220084)
optimization: CHAR-EQUAL is faster for constant and base-char arguments.
bug fix: probe-file now can access symlinks to pipes and sockets in /proc/pid/fd on Linux. (reported by Eric Schulte)
bug fix: SBCL can now be built on Solaris x86-64.
bug fix: Floating point exceptions do not persist on Solaris anymore.
bug fix: (setf . a) is pprinted correctly (reported by Douglas Katzman).
bug fix: handle compiler-error in LOAD when it's not run from inside EVAL. (#1219601)
bug fix: SB-GMP:MPZ-POW no longer segfaults given a non-bignum base. (thanks to Stephan Frank)
bug fix: space allocation of result bignums in SB-GMP is more accurate. (thanks to Stephan Frank, #1206191)
bug fix: sb-safepoint can now reliably handle signal interruptions of foreign code. (#1133018)
bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback" constructors no longer fails to merge actual and default initargs (thanks to Jan Moringen, #1179858)
bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback" constructors handles non-KEYWORD initialization arguments more correctly.
bug fix: loading the SB-SIMPLE-STREAMS contributed module no longer clobbers FILE-NAMESTRING. (thanks to Anton Kovalenko, #884603)
bug fix: class definitions with CPLs inconsistent with their metaclasses are less likely to destroy the object system's integrity. (#309076)
bug fix: restart clause parsing in RESTART-CASE is more in line with the standard. (#1203585, thanks to Jan Moringen)
bug fix: silence a note from RESTART-CASE under high-SPEED optimization settings. (#1023721)
bug fix: getting the order of arguments to SB-MOP:SET-FUNCALLABLE-INSTANCE-FUNCTION wrong produces a sensible error rather than a failed AVER. (reported by Paul Nathan)
bug fix: Parsing of &optional/&key/&rest arguments now never overwrites arguments during copying on x86 and x86-64; it may still happen on other platforms when there are more fixed arguments than stack slots. (reported by Jan Moringen)
New in version 1.1.11, 2013-08-28
Back to top
enhancement: support building the manual under texinfo version 5. (#1189146)
enhancement: Windows builds no longer display the "Kitten of Death" message. A warning is instead appended to the regular banner, and may be muted with --noinform. (#728247)
enhancement: support building under new linker handling of syscalls under NetBSD. (thanks to Robert Swindells)
bug fix: undefined function errors are now properly reported on PPC and MIPS. (regression since 1.1.9)
bug fix: (funcall (function X junk)) didn't causes an error when X had a compiler macro. (thanks to Douglas Katzman).
bug fix: signal a warning when defining a setf-function when a setf-expander is already present. (thanks to Douglas Katzman).
bug fix: improved threading on PPC.
bug fix: ROOM works again on Windows. (#1206456)
bug fix: Streams were flushed even when there was one byte still left in the buffer. (#910213)
bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are either NIL or :ERROR. (reported by Jan Moringen)
New in version 1.1.10, 2013-07-28
Back to top
enhancement: ASDF has been updated to 3.0.2.
optimization: stack frames are packed more efficiently on x86oids, which ought to reduce the frequency of Methuselahn conservative references (it certainly helps with gc.impure.lisp / BUG-936304 on x86).
optimization: on x86 and x86-64, integer negation forms like (- x) are now recognized in modular arithmetic contexts, and compile to native negate, rather than going through bignums only to keep the low bits.
bug fix: Compiling potential modularic arithmetic forms does not cause type errors when some integer types lack lower or upper bounds. (#1199127)
bug fix: Non-trivial modular arithmetic forms are always cut to the right bitwidth before being used in a non-modular context. (#1199428)
bug fix: Multiple catch/unwind blocks in a single function are now allocated in the right stack order on win32. (#1072739)
New in version 1.1.9, 2013-07-04
Back to top
new feature: the contrib SB-GMP links with libgmp at runtime to speed up arithmetic on bignums and ratios. (contributed by Stephan Frank)
enhancement: disassemble now annotates some previously missing static functions, like LENGTH.
enhancement: clean.sh now also cleans doc/internals.
enhancem
这条对你有帮助吗?