summaryrefslogtreecommitdiff
path: root/lang/sbcl
AgeCommit message (Collapse)AuthorFilesLines
2018-10-17sbcl: Honor UNLIMIT_RESOURCES and address PaX problemsleot3-8/+49
- Due custom do-{build,test,install} UNLIMIT_RESOURCES were not honored leading to: //slurp-ucd *** - No more room for LISP objects errors. Adjust these target to honor UNLIMIT_RESOURCES. - sbcl does not work with PaX MPROTECT because mmap()s by OR'ing all PROT_{EXEC,READ,WRITE}. Unfortunately src/runtime/sbcl is also used as part of building needing also `${PAXCTL} +m' in the middle of the build. Introduce an SBCL_PAXCTL variable (by default `:') via patch-src_runtime_GNUmakefile that execute a program against src/runtime/sbcl and define it for platforms that have a paxctl tool. Mark bin/sbcl with NOT_PAX_MPROTECT_SAFE too. - Refactor the environment variables injection logic in do-{build,test,install} to honor MAKE_ENV and INSTALL_ENV. - Minor mostly cosmetic adjustments (use ${RM}, not rm) Bump PKGREVISION
2018-01-04sbcl: Update to 1.4.3. Changes since 1.3.21:jperkin3-8/+9
changes in sbcl-1.4.3 relative to sbcl-1.4.2: * 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) (lp#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 (lp#1424031, lp#1268710) * bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or unspecialized parameters are mutated now uses the original (non-mutated) parameter values (lp#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). (lp#309068) * bug fix: pathnames with a directory component of the form (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse. (lp#1738775) * bug fix: more reliable signal handling on macOS. changes in sbcl-1.4.2 relative to sbcl-1.4.1: * 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. (lp#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. (lp#1731503, lp#1730699, lp#1723993, lp#1730434, lp#1661911, lp#1729639, lp#1729471, lp#1728692) * bug fix: better errors from NAMESTRING and friends on pathnames with no namestrings. (lp#792154) * bug fix: EQUAL and EQUALP compiler transforms were too confident in deriving a result. (lp#1732277, lp#1732225) * bug fix: FILL sometimes returned the underlying data vector rather than the given array. (lp#1732553) * bug fix: SEARCH returned the wrong answer in some cases. (lp#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, lp#1733400) changes in sbcl-1.4.1 relative to sbcl-1.4.0: * 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 lp#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 (lp#1722715) * bug fix: RUN-PROGRAM doesn't leak handles on win32 and PROCESS-CLOSE doesn't crash. (lp#1724472) changes in sbcl-1.4.0 relative to sbcl-1.3.21: * 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 lp#1624941, based on patch by Elias Pipping). * bug fix: INSPECT handles errors signaled while printing slot values. (lp#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.
2018-01-01Replaced $(ROUND) with ${CURLY} variable references.rillig1-4/+4
This has been a pkglint warning for several years now, and pkglint can even fix it automatically. And it did for this commit. Only in lang/mercury, two passes of autofixing were necessary because there were nested variables.
2017-09-17Disassociate myself from NetBSD project.asau1-2/+2
2017-09-16Update to SBCL 1.3.21asau2-7/+7
New in version 1.3.21 - 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 - 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 - 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)
2017-06-17Update to SBCL 1.3.18asau2-7/+7
changes in sbcl-1.3.18 relative to sbcl-1.3.17: * minor incompatible change: existing values of CFLAGS, ASFLAGS, CPPFLAGS, and LINKFLAGS will be incorporated into C compiler invocations when building from source. * minor incompatible change: the result of WRITE-TO-STRING may be a BASE-STRING if all characters written are of type BASE-CHAR. * minor incompatible change: the broadcast stream with no output streams is a singleton object. That object satisfies OPEN-STREAM-P regardless of how many times CLOSE is invoked on it. * enhancement: x86[-64] backends contain an experimental feature which aids in demonstrating reachability of any object starting from a tenured object or a thread stack by producing a proof as a sequence of pointers to follow. The file "tests/traceroot.test.sh" contains an example usage. * enhancement: if the alien symbol "gc_coalesce_string_literals" is set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants loaded from different fasl files may be collapsed to one object. If the variable is set to 2, then additionally strings which are STRING= in code resulting from COMPILE can be coalesced. For instance, two functions returning the literal string "HI" might return EQ strings after collapsing, which may be undesired in a particular use. The flag pertains to gencgc only. * enhancement: SXHASH values on pathnames are better distributed * bug fix: MAKE-PATHNAME removes empty strings as components of a directory, as is permitted: "Whenever a pathname is constructed the components may be canonicalized if appropriate." * optimization: various printer and FORMAT performance enhancements. * bug fix: GET-FOREGROUND no longer fails in case all other interactive threads exit (lp#1682671, reported by Syll) * bug fix: RELEASE-FOREGROUND always removes the current thread from the list of interactive threads. (lp#1682867, reported by Syll)
2017-04-30Update to SBCL 1.3.17asau3-13/+13
changes in sbcl-1.3.17 relative to sbcl-1.3.16: * enhancement: memory overhead from the garbage collector's metadata is reduced on 64-bit architectures; no change for 32-bit. * enhancement: further garbage collector speedups affecting pinned objects on conservative backends, and simple-vectors. * enhancement: on Linux a custom handler for SIGSEGV can be called for page faults outside of dynamic space by changing the C symbol "sbcl_fallback_sigsegv_handler". * bug fix: sb-cover does not lose source positions for AND/OR/COND. * bug fix: random disassembler failures. (lp#1527931) * The bundled sb-md5 contrib has been updated to release 2.0.4 which is licensed under Creative Commons CC0 per author's statement https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589 (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory)
2017-04-13Update to SBCL 1.3.16asau2-7/+7
changes in sbcl-1.3.16 relative to sbcl-1.3.15: * 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. (lp#1668619) * bug fix: stronger attempts to disable position-independent executable building. (lp#1668986, patch from Mark Wright) * bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows. (lp#1674437, reported by Jan Idzikowski) changes in sbcl-1.3.15 relative to sbcl-1.3.14: * 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 Francois-Rene 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. (lp#540276) * bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were treated as if they were actually stack allocated (lp#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 (lp#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 (lp#1660906) changes in sbcl-1.3.14 relative to sbcl-1.3.13: * 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. changes in sbcl-1.3.13 relative to sbcl-1.3.12: * enhancement: SET triggers package locks on undefined variables. (lp#1645152) * enhancement: new Windows specific option to run-program, :escape-arguments (lp#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. (lp#1644944) * optimization: faster TYPEP on undefined at compile-time types and upcoming class definitions. (lp#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. (lp#1641058) * bug fix: cross reference information in fasls is no longer incompatible between different cores (lp#1648186)
2016-12-05Update to SBCL 1.3.12asau3-13/+13
New in version 1.3.12 * 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 * 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.
2016-10-21Update to SBCL 1.3.10.asau2-7/+7
New in version 1.3.10 * 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 * 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 * 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 * 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 * 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)
2016-10-12Needs _KERNTYPES on NetBSD.asau26-2/+384
2016-05-06Update to SBCL 1.3.5asau3-13/+13
New in version 1.3.5 * enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD * enhancement: speed up debug info creation for highly nested functions. * 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. * bug fix: interpreted (CAS SVREF) was broken * bug fix: support CLISP as build host for ARM
2016-04-14Update to SBCL 1.3.4asau2-7/+7
New in version 1.3.4 * enhancement: who-sets and who-references work on DEFGLOBAL. * 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 <extended-sequence> <extended-sequence-class>) 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
2016-03-01Update to SBCL 1.3.3asau2-7/+7
changes in sbcl-1.3.3 relative to sbcl-1.3.2: * 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. (lp#326238)
2016-02-01Update to SBCL 1.3.2asau2-6/+7
changes in sbcl-1.3.2 relative to sbcl-1.3.1: * 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. (lp#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. (lp#540063) * bug fix: heap corruption from miscompiled RESTART-BIND. (lp#1530390)
2016-01-24Attempt to bring sanity to how ABI and MACHINE_ARCH are set.jperkin1-2/+2
Previously there were at least 5 different ways MACHINE_ARCH could be set, some statically and some at run time, and in many cases these settings differed, leading to issues at pkg_add time where there was conflict between the setting encoded into the package and that used by pkg_install. Instead, move to a single source of truth where the correct value based on the host and the chosen (or default) ABI is determined in the bootstrap script. The value can still be overridden in mk.conf if necessary, e.g. for cross-compiling. ABI is now set by default and if unset a default is calculated based on MACHINE_ARCH. This fixes some OS, e.g. Linux, where the wrong default was previously chosen. As a result of the refactoring there is no need for LOWER_ARCH, with references to it replaced by MACHINE_ARCH. SPARC_TARGET_ARCH is also removed.
2015-12-29Add patch comments.dholland2-3/+5
2015-12-09Update to SBCL 1.3.1asau2-7/+6
changes in sbcl-1.3.1 relative to sbcl-1.3.0: * 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. (lp#1511419) * bug fix: structure constructor type checking is better. (lp#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) (lp#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
2015-11-14Update to SBCL 1.3.0asau2-7/+7
changes in sbcl-1.3.0 relative to sbcl-1.2.16: * 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. (lp#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 lp#1500951) changes in sbcl-1.2.16 relative to sbcl-1.2.15: * 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. (lp#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. (lp#492851) changes in sbcl-1.2.15 relative to sbcl-1.2.14: * 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. (lp#1476867) * enhancement: definitions within PROGN get proper source locations when compiled (needs latest Slime to take advantage of this). (lp#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. (lp#1370561) * bug fix: better source locations inside backqoute. (lp#1361502) * bug fix: HANDLER-BIND requires that the handler-function be a function designator at the time of binding establishment. (lp#1480679) * bug fix: inlined functions surrounded by nested macrolets are properly inlined. (lp#309123) changes in sbcl-1.2.14 relative to sbcl-1.2.13: * 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. (lp#707556, lp#707573, lp#707578, lp#708051) * enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (lp#1186238, lp#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. (lp#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. (lp#1472785) * bug fix: Variable-reference elimination no longer generates incorrect code under certain circumstances. (lp#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. (lp#1390149) * bug fix: Windows installer generates registry key name correctly. (lp#1476447)
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+2
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-07-09Update to SBCL 1.2.13.asau2-6/+6
changes in sbcl-1.2.13 relative to sbcl-1.2.12: * 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. (lp#1437947) * bug-fix: TRUENAME works properly on broken symlinks presented as directories. (lp#1458164) * bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right order of argument evaluation. (lp#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. (lp#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. (lp#1459581) * bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.
2015-06-11Remove stub patch, not needed anymore.asau2-17/+1
Tested on NetBSD 7 i386/amd64.
2015-06-10Update to SBCL 1.2.12asau3-23/+6
changes in sbcl-1.2.12 relative to sbcl-1.2.11: * 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. (lp#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. (lp#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. (lp#1452539) * bug fix: POP works as specified in CLHS if the setter for its argument has a side-effect on the existing CAR value. (lp#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. (lp#1252100) * bug fix: Malformed reader conditionals such as "(#-no-such-feature)" and "(#+sbcl)" no longer parse as NIL. (lp#1454400) changes in sbcl-1.2.11 relative to sbcl-1.2.10: * 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. (lp#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. (lp#1439151) * bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error if OTHER names either a macro or special-operator. (lp#1439921) changes in sbcl-1.2.10 relative to sbcl-1.2.9: * 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. (lp#1426667) * bug fix: A new dead code elimination phase removes dead code loops that confuse stack analysis. (lp#1255782, lp#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. (lp#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. (lp#1434768; thanks to Nikhil Benesch)
2015-03-17Avoid hardcoded ggrep on SunOS.jperkin1-6/+7
2015-03-10Update to SBCL 1.2.9asau5-23/+25
changes in sbcl-1.2.9 relative to sbcl-1.2.8: * 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. (lp#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. (lp#492200) * bug fix: DEFCLASS handles cyclic {super,meta}class relations better (lp#1418883) * bug fix: compiler no longer signals an error when compiling certain function calls. (lp#1416704, lp#404441, lp#1417822, lp#1234919) * bug fix: compiler doesn't stumble on a LOGIOR transform. (lp#1389433) * bug fix: more robust debugger and backtraces. (lp#1413850, lp#1099500, lp#1412881, lp#945261, lp#1419205, lp#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. (lp#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. (lp#1387404) * bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (lp#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. (lp#1044465) * bug fix: sb-rotate-byte constant folding bug fixed. (lp#1423682) changes in sbcl-1.2.8 relative to sbcl-1.2.7: * enhancement: better error and warning messages. (lp#1314767, lp#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. (lp#1308328, lp#1390544) * bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT did not work, and now it does. changes in sbcl-1.2.7 relative to sbcl-1.2.6: * optimization: returning constant values refers to preboxed constants more reliably. (lp#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. (lp#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 (lp#1405456). changes in sbcl-1.2.6 relative to sbcl-1.2.5: * 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. (lp#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. (lp#1049423) * bug fix: HANDLER-BIND with empty bindings works again; regression in 1.2.5. (lp#1388707) * bug fix: ATOMIC-INCF works on structure slots in interpreted code. (lp#1381867) * bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and (member #\a #\c). (lp#1392068) * bug fix: READ sometimes accidentally preserved a whitespace character after a token when it should not have. (lp#327790) changes in sbcl-1.2.5 relative to sbcl-1.2.4: * 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. (lp#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 (lp#375326, lp#1368305) * bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause contains an undefined condition type; regression in 1.1.19 (lp#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. (lp#1373702) * bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly. (lp#1364413, thanks to Zach Beane) changes in sbcl-1.2.4 relative to sbcl-1.2.3: * 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. (lp#721135) * bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the universal superclass (lp#1332983) * bug fix: reading an uninterned symbol whose print name has the syntax of an integer signals an error. (lp#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. changes in sbcl-1.2.3 relative to sbcl-1.2.2: * 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. (lp#1349795) * bug fix: macroexpanding a backquoted expression involving ",." outside of the compiler failed. (lp#1354623) changes in sbcl-1.2.2 relative to sbcl-1.2.1: * 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. (lp#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. (lp#1319452). * bug fix: CAS SYMBOL-VALUE on locally special variables didn't work. (lp#1098355) changes in sbcl-1.2.1 relative to sbcl-1.2.0: * enhancement: GENCGC is enabled on ARM. * enhancement: better error reporting for invalid calls to local functions. * enhancement: support for GNU/kFreeBSD distributions. (lp#1079954, thanks to Christoph Egger) * enhancement: experimental support for threads on NetBSD/x86-64. (thanks to Robert Swindells) * enhancement: support for DragonFly BSD. (lp#1292845, thanks to Vasily Postnicov) * bug fix: TYPE-OF must not return AND/OR/NOT expressions. (lp#1317308) * bug fix: accessing NIL arrays stopped producing errors. (lp#1311421) * bug fix: DISASSEMBLE no longer prints unwanted stuff. (lp#1251861) * bug fix: compiling SVREF on unknown types no longer produces scary errors. (lp#1258716) * bug fix: assorted LOOP fixes and enhancements. (lp#645534, lp#1322923, lp#700538, lp#613876, lp#695286, lp#798388) * bug fix: silence compiler notes from the SEARCH transform. (lp#1071310) * bug fix: array type intersection handles T and unknown element types correctly. (lp#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. (lp#1310574) * bug fix: when DECLARE expressions are in the wrong place, be careful not to attempt to evaluate the subforms. (lp#573747; thanks to Roman Marynchak) * bug fix: misplaced and missing declarations in DEFTRANSFORM. (lp#1066451) * bug fix: FBOUNDP returned NIL for a class of incorrect function names instead of signaling an error. (lp#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. (lp#1327008)
2014-12-01Works with IAS now.joerg1-7/+1
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-2/+1
2014-06-01Update to SBCL 1.2.0asau3-7/+9
changes in sbcl-1.2.0 relative to sbcl-1.1.18: * bug fix: read-time-eval backquote context mixup. (lp#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. (lp#1305266) * enhancement: new contrib sb-mpfr by Stephan Frank. * bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE (lp#1315846, thanks to Mark Cox) * bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic function-designator to a function only as needed. (lp#1012335) * bug fix: remove references to asdf-install from the manual. (lp#1207544, thanks to Thomas Hlavaty) * bug fix: handle --without-xxx options to make.sh more carefully. (lp#1246665, thanks to Richard M Kreuter) * bug fix: prevent maybe-delete-exit from doing semantically broken things with local exits. (lp#309099, lp#518099, lp#533930) * bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required by AMOP. (lp#861004)
2014-05-14Fix build on SunOS. We can't rely on PATH to find nm as sbcl uses argumentsjperkin1-3/+15
only supported by the native version, so ensure /usr/bin/nm is called. Also explicitly pass the --arch flag to ensure the correct compiler flags are used.
2014-05-02Update to SBCL 1.1.18asau2-6/+6
changes in sbcl-1.1.18 relative to sbcl-1.1.17: * optimization: COERCE is now more effecient for more cases when the type is known at compile-time. (lp#1309815) * bug fix: correctly inherit condition initforms. (lp#1300904) * bug fix: properly pprint literal functions inside nested lists. (lp#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).
2014-04-11Update to SBCL 1.1.17asau2-6/+6
changes in sbcl-1.1.17 relative to sbcl-1.1.16: * enhancement: printing backtraces respects SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* when printing call arguments (lp#1261646) * optimization: defstruct out-of-line accessor are now as fast as inlined. (lp#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 (lp#1264902) * bug fix: Change COND error message (lp#1254511) * bug fix: LOAD is no longer confused when called on a directory. (lp#1077996) * bug fix: MAKE-CONDITION reports names of missing condition classes properly (lp#1199223) * bug fix: restore building with clang. (lp#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. changes in sbcl-1.1.16 relative to sbcl-1.1.15: * minor incompatible change: improve read/print consistency for pathnames on Win32, by using the circumflex character #\^ as the escape character. (lp#673625) * enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (lp#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. (lp#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. (lp#1249205) * bug fix: fix commutative-arg-swap from introducing undumpable structures into code, prevent code with errors from being compiled. (lp#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. (lp#309086) changes in sbcl-1.1.15 relative to sbcl-1.1.14: * 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. (lp#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, lp#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, lp#1261451) * bug fix: run-program crashed with :directory nil. (lp#1265077)
2013-12-03Update to SBCL 1.1.14asau4-289/+42
changes in sbcl-1.1.14 relative to sbcl-1.1.13: * optimization: complicated TYPEP tests are less opaque to the type propagation pass. (lp#1229340) * optimization: [N]BUTLAST perform a single pass over the list. (lp#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. (lp#1249055) * enhancement: Top-level defmethod without defgeneric no longer causes undefined-function warnings in subsequent forms. (lp#503095) * enhancement: Better error messages for system errors on Windows. * enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William Cushing. (lp#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. (lp#674372) * enhancement: better ARRAY-RANK result derivation. (lp#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. (lp#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. (lp#455381) * bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange CLOS-related errors. (lp#633911) * bug fix: GC deadlocks caused by concurrent consing on Windows. changes in sbcl-1.1.13 relative to sbcl-1.1.12: * optimization: better distribution of SXHASH over small conses of related values. (lp#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. (lp#1132254) * enhancement: when called with a symbol, FIND-RESTART no longer calls COMPUTE-RESTARTS, making it faster and cons less (lp#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. (lp#1070635) * bug fix: forward references to classes in fasls can now be loaded. (lp#746132) * bug fix: don't warn on a interpreted->compiled function redefinition from the same location. (patch by Douglas Katzman, lp#1042405) * bug fix: Create vectors of proper internal length when reading literal vectors from FASLs. (Reported by Jan Moringen) * bug fix: COMPILE can now succefully compile setf functions. (Reported by Douglas Katzman) * bug fix: run-program performs more correct escaping of arguments on Windows. (lp#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. (lp#309072) * bug fix: run-sbcl.sh works better in the presence of symlinks on OS X. (thanks to Stelian Ionescu, lp#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 (lp#774410) changes in sbcl-1.1.12 relative to sbcl-1.1.11: * enhancement: Add sb-bsd-sockets:socket-shutdown, for calling shutdown(3). (thanks to Jan Moringen, lp#1207483) * enhancement: document extensible sequences. (thanks to Jan Moringen, lp#994528) * optimization: EQUAL and EQUALP transforms are smarter. (thanks to Elias Martenson, lp#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. (lp#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, lp#1206191) * bug fix: sb-safepoint can now reliably handle signal interruptions of foreign code. (lp#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, lp#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, lp#884603) * bug fix: class definitions with CPLs inconsistent with their metaclasses are less likely to destroy the object system's integrity. (lp#309076) * bug fix: restart clause parsing in RESTART-CASE is more in line with the standard. (lp#1203585, thanks to Jan Moringen) * bug fix: silence a note from RESTART-CASE under high-SPEED optimization settings. (lp#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)
2013-08-30Don't use LLVM's assembler parser, the .end directive is not supported.joerg1-1/+7
2013-08-28Update to SBCL 1.1.11asau3-8/+15
Note that contrary to last month's message, the increased type opacity in the compiler has not been fixed in this release cycle. changes in sbcl-1.1.11 relative to sbcl-1.1.10: * enhancement: support building the manual under texinfo version 5. (lp#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. (lp#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. (lp#1206456) * bug fix: Streams were flushed even when there was one byte still left in the buffer. (lp#910213) * bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are either NIL or :ERROR. (reported by Jan Moringen) As well as the release notes, appended below, it is worth noting that some internal changes related to the optimization of type tests for bounded positive integers might cause performance regressions in code that dispatches based on the type of objects, as in for example (typecase x ((unsigned-byte 24) ...[1]) (t ...)) where in the region of code marked ...[1] the compiler could be expected to infer that x was of type (unsigned-byte 24), but currently fails to do so. This can be worked around by inserting an explicit declaration, and the developers hope to address this in the next release cycle. changes in sbcl-1.1.10 relative to sbcl-1.1.9: * 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. (lp#1199127) * bug fix: Non-trivial modular arithmetic forms are always cut to the right bitwidth before being used in a non-modular context. (lp#1199428) * bug fix: Multiple catch/unwind blocks in a single function are now allocated in the right stack order on win32. (lp#1072739) changes in sbcl-1.1.9 relative to sbcl-1.1.8: * 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. * enhancement: SB-EXT:PRINT-SYMBOL-WITH-PREFIX can be used within ~// to print a symbol with a package prefix. * enhancement: The debugger and backtracing are more robust against buggy PRINT-OBJECT methods. * optimization: calls to static functions on x86-64 use less instructions. * optimization: compute encode-universal-time at compile time when possible. * optimization: when referencing internal functions as #'x, don't go through an indirect fdefn structure. * optimization: SLEEP doesn't cons on non-immediate floats and on ratios. * optimization: (mod fixnum) type-checks are performed using one unsigned comparison, instead of two. * optimization: enable more modular arithmetic transforms in the presence of conditionals. * optimization: bitwise OR forms can now trigger modular arithmetic as well, when the result is known to be negative. * optimization: recognize more cases of useless LOGAND/LOGIOR with constants. * optimization: comparisons between rationals and constant floats or between integers and constant ratios are now converted to rationals/integers at compile time. * optimization: Smaller and faster DOUBLE-FLOAT-LOW-BITS on x86-64. * bug fix: problems with NCONC type derivation (reported by Jerry James). * bug fix: EXPT type derivation no longer constructs bogus floating-point types. (reported by Vsevolod Dyomkin) * bug fix: sb-bsd-sockets has correct declaration of the canonname field of addrinfo. (lp#1187041, patch by Jerry James) * bug fix: uninitialized type-error conditions can now be printed. (lp#1184586) * bug fix: tests for sb-bsd-sockets no longer use a predefined port for listening, allowing several tests to run in parallel. * bug fix: during disassembly to *COMPILER-TRACE-OUTPUT* instruction prefixes as used on x86 and x86-64 no longer sometimes print incorrectly. (lp#1085729) * bug fix: Specialised SIMD-PACK types can be negated. * bug fix: Modular arithmetic is more robust. (incidentally fixes another bug reported by Eric Marsden) * bug fix: FP return values from foreign calls are always rounded to single or double float precision on x87. * bug fix: Known-safe vector access on x86oids should not fail spuriously when the index is of the form (+ x constant-positive-integer). * bug fix: Remove GPL-licensed files from source distribution. (lp#1185668) * bug fix: backtrace printer no longer tries to create very large lists when the arg-count register is clobberred by other code. (lp#1192929) * bug fix: x86 should never signal an FP exception while boxing an FP value, a situation that lands us into ldb.
2013-06-15Revert only introduction of build-time test.asau3-550/+6
2013-06-11Update to SBCL 1.1.8asau3-6/+567
changes in sbcl-1.1.8 relative to sbcl-1.1.7: * notice: The implementation of MAP-ALLOCATED-OBJECTS (the heart of ROOM, plus a few SB-INTROSPECT functions) has been completely rewritten; it may now exhibit different bugs than before. * new feature: minimal runtime/compiler intrastructure support for SSE SIMD values, as SB-EXT:SIMD-PACK. Enabled on x86-64 via the build-time feature :sb-simd-pack. This should enable intrinsics extensions as libraries, without patching SBCL itself. Thanks to Alexander Gavrilov for maintaining a branch for so long. * enhancement: RUN-PROGRAM supports a :DIRECTORY argument to set the working directory of the spawned process. (lp#791800) (patch by Matthias Benkard) * enhancement: boxed vectors (vectors of T or of FIXNUM) can now be stack-allocated on PPC. * enhancement: "fixed objects" can now be stack-allocated on PPC. * enhancement: WITH-PINNED-OBJECTS no longer conses on PPC/GENCGC. * enhancement: (sb-introspect:find-definition-sources-by-name x :vop) now also returns VOPs which do not translate any functions, and finds defoptimizer types ir2convert and stack-allocate-result. * enhancement: better type derivation for APPEND, NCONC, LIST. (lp#538957) * enhancement: MAP-ALLOCATED-OBJECTS (the heart of ROOM) now walks the heap in a manner similar to the GC rather than its previous ad-hoc scheme, and is therefore no less and possibly more accurate. * fixes and enhancements related to Unicode: ** the character database information has been updated to Unicode 6.2; ** support for canonical and compatibility decomposition of characters has been added, along with support for primary composition; ** support for Unicode normalization forms of strings (NFC, NFKC, NFD and NFKD) has been included; ** querying the character database for code points not defined by Unicode gives less wrong answers (lp#1178038, reported by Ken Harris) * enhancement: print intermediate evaluation results for some ASSERTed expressions. (lp#789497) (patch by Alexandra Barchunova) * enhancement: x86-64 disassemblies are annotated with unboxed constant values when there are references to (RIP-relative) unboxed constants. * bug fix: type derivation for LOG{AND,IOR,XOR} scales linearly instead of quadratically with the size of the input in the worst case. (lp#1096444) * bug fix: handle errors when initializing *default-pathname-defaults*, sb-ext:*runtime-pathname*, sb-ext:*posix-argv* on startup, like character decoding errors, or directories being deleted. * bug fix: Loading a core with a discontiguous dynamic space now correctly computes the amount of dynamic space used. * bug fix: disassembler missing ",8" on SHLD * bug fix: backtracing through INTERNAL-ERROR signal handlers on systems that provide an "invalid" stack frame link for the signal handler itself now use the saved-fp-and-pc mechanism to pick up from the stack frame in the interrupt (signal) context. This is known to affect threaded FreeBSD/x86-64. * bug fix: some LOOP statements couldn't be compiled. (lp#1178989) * bug fix: sb-sequence:dosequence works on literal vectors. * bug fix: errors in generic arithmetic show the assembly routine's caller on x86 and x86-64. (lp#800343) * bug fix: Compile-time type errors should never result in COMPILE-FILE failure. (lp#943953) * bug fix: Known bad local calls do not cause strange failures when emitting or dumping code. (lp#504121) * bug fix: Multiply-inlined structure constructor don't cause IR2-time codegen errors: type checks are inserted as necessary. (lp#1177703) * bug fix: Unsigned modular arithmetic is correctly converted into signed modular arithemtic (mostly to exploit fixnum-width VOPs). (lp#1026634) * bug fix: a combination of inlined local function with &optional and recursion no longer causes undescriptive compiler errors. (lp#1180992) * bug fix: sub-word BOOLEAN alien types now disregard higher order bits when testing for non-zero-ness. * bug fix: (CONCATENATE 'null ...) no longer fails for generic sequences. (lp#1162301) * bug fix: Type mismatch for the value of conditional expressions are correctly reported when detected at compile-time, instead of complaining about a constant NIL (similar for non-EQ-comparable catch tags). * bug fix: Referring to INLINE global functions as values should not result in a compilation failure. (lp#1035721) * optimization: faster ISQRT on fixnums and small bignums * optimization: faster and smaller INTEGER-LENGTH on fixnums on x86-64. * optimization: On x86-64, the number of multi-byte NOP instructions used for code alignment is now always minimal. * optimization: On 64-bit targets, the compiler generates much faster code for type checks for types known at compile time that are smaller than (SIGNED-BYTE 64) or (UNSIGNED-BYTE 64) and larger than FIXNUM, and their COMPLEX variants. * optimization: On x86 targets, more uses of ALIEN-FUNCALL during cross compilation now inline the INVOKE-WITH-SAVED-FP-AND-PC dance. * optimization: ROOM no longer conses so egregiously on non-x86oid systems. * optimization: associative bitwise operations reassociate patterns like (f (f x k1) k2) to expose (f x (f k1 k2)). Same for + and * of rational values. * optimization: quasiquote expressions now perform more constant folding, instead of consing equal lists at runtime. (lp#1026439) * optimization: local call analysis of inlined higher-order function should converge more quickly, resulting in better code for complex functions. * optimization: On x86-64, medium (word-sized but wider than 32 bits) integer constants are handled more cleverly, especially when they can be represented as sign-extended (signed-byte 32). (Based on a patch by Douglas Katzman) * optimization: IF/IF conversion should reliably result in sane code when (some of) the results of the inner IF are always false or always true. * optimization: On x86oids, variable right shifts of machine words are compiled into straight SAR/SHR, instead of going through the generic VOP. (lp#1066204) changes in sbcl-1.1.7 relative to sbcl-1.1.6: * enhancement: TRACE :PRINT-ALL handles multiple-valued forms. (lp#457053) * bug fix: :allocation slot option works for condition slots (lp#1049404) * bug fix: redefining conditions does not lead to multiple evaluations of hairy slot initfunctions anymore (lp#1164969) * bug fix: CLASS-DIRECT-DEFAULT-INITARGS now works for condition classes (lp#1164970) * bug fix: function constants now work as initforms and default initarg values of conditions (lp#539517) * bug fix: svref/(setf svref) on symbol macros don't crash the compiler anymore. (Minimal test case provided by James M. Lawrence on sbcl-devel) * bug fix: no more bogus ## references when pretty printing backquoted forms with non-trivial structure sharing. (lp#1161218) * bug fix: Don't signal an error on (setf (documentation nil 'function) "doc"). Signal a style-warning instead when trying to set documentation of NIL for all other documentation types. (Reported by Zach Beane; regression since 2e52fa05.) * bug fix: modular arithmetic involving large constants and conditionals should no longer result in spurious dead code elimination. (Reported by Eric Marsden). * bug fix: our mach exception handler can seemingly called very early in the program execution process on OS X 10.8.0. Try and handle that case robustly, without potentially leaking mach ports too much. * optimization: LOGBITP and LOGTEST optimizations from x86 ported to x86_64. changes in sbcl-1.1.6 relative to sbcl-1.1.5: * enhancement: the continuable error when defknown-ing over extant fndb entries can be ignored by passing :overwrite-fndb-silently t as a keyword argument to sb-c:defknown (after attributes). Useful to allow defknown to be re-loaded. Use with :allow-other-keys t for backward compatibility. * optimization: compiler is much faster in compiling SVREF and (SETF SVREF) forms. * bug fix: Prevent a make-array transform from modifying source forms causing problems for inlined code. Thanks to Bart Botta. (regression since 1.0.42.11-bis) * bug fix: clear-output calls the correct gray stream routine, sb-gray:stream-clear-output. (lp#1153257) * bug fix: an error is signalled for an invalid format modifier: ~<~@>. (lp#1153148) * bug fix: Better error messages for package operations (lp#1154776) * bug fix: delete-package on a nonexistent package should signal a cerror. (regression since 1.0.37.44). * bug fix: accessing &MORE (stack allocated &REST) arguments checks bounds. (lp#1154946, lp#1072112) * bug fix: compiling make-array no longer signals an error when the element-type is an uknown type, a warning is issued instead. Thanks to James Kalenius (lp#1156095) * bug fix: SEARCH on generic (non-VECTOR non-LIST) sequence types no longer produces wrong results for some inputs. (Thanks to Jan Moringen.) (lp#1153312) changes in sbcl-1.1.5 relative to sbcl-1.1.4: * minor incompatible change: SB-SPROF:WITH-PROFILING no longer loops by default. * new feature: package local nicknames. See manual for details. * new feature: SB-EXT:MAP-DIRECTORY provides a powerful interface for directory traversal: it is the backend used by SBCL for CL:DIRECTORY. * enhancement: easier to use restarts for resolving name-conflicts resulting from IMPORT, EXPORT, or USE-PACKAGE. * enhancement: variant DEFPACKAGE forms now signal a full error with restarts provided for resolving the situation. (lp#891351) * enhancement: by setting SB-EXT:*ON-PACKAGE-VARIANCE* appropriately variant DEFPACKAGE forms can now signal a full error with restarts provided for resolving the situation. See manual for details. (lp#891351) * enhancement: make-random-state now uses CryptGenRandom as a seed on Windows. (Thanks to Anton Kovalenko.) (lp#1102748) * enhancement: backtrace improvements ** secondary CLOS dispatch functions have better debug names (lp#503081) ** easier to read method names in backtraces. See SB-DEBUG:*METHOD-FRAME-STYLE*. ** SB-DEBUG:PRINT-BACKTRACE and SB-DEBUG:LIST-BACKTRACE are available as forwards-compatible replacements for SB-DEBUG:BACKTRACE and SB-DEBUG:BACKTRACE-AS-LIST. ** SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS** has been deprecated, as the same information is available in less intrusive form as frame annotations. * enhancement: SB-POSIX now provides MAP-ANON. * enhancement: test-suite results are colorized, failures in red, unexpected success in green. Works on Windows and on terminals with ANSI escape code support. Can be disabled with --no-color. * optimization: SB-CONCURRENCY:QUEUE implementation is more efficient. (thanks to James M. Lawrence) * bug fix: no more unused variable style warnings from RESTART-CASE macroexpansion (lp#1113859) * bug fix: no more unused variable style warnings when loading sb-bsd-sockets.asd (lp#1114681) * bug fix: deleting a package removes it from implementation-package lists of other packages. * bug fix: SB-SPROF:WITH-PROFILING is now usable in the Slime REPL on Darwin. This does not fix the occasional "interrupt already pending" issue, though. * bug fix: (setf (documentation 'x 'function)) and (setf (documentation #'x t)) set documentation in different places. (regression since 1.0.43.63) * bug fix: build on newer glibc. (lp#1095036) changes in sbcl-1.1.4 relative to sbcl-1.1.3: * optimization: LOOP expressions using "of-type character" have slightly more efficient expansions. * bug fix: very long (or infinite) constant lists in DOLIST do not result in very long compile times or heap exhaustion anymore. (lp#1095488) * bug fix: `#3(1) is read as #(1 1 1), not as #(1). (lp#1095918) * bug fix: adjust-array ignored :initial-element for simple-vectors. (lp#1096359) * bug fix: optimizations to MAKE-INSTANCE with literal list initargs no longer cause infinite loops (on circular data) or violate eqlity constraints. (lp#1099708) * bug fix: FIRST was not being open coded. (regression from 1.1.0) changes in sbcl-1.1.3 relative to sbcl-1.1.2: * enhancement: warnings about bad locale settings, LANG, LC_CTYPE, etc. (lp#727625) * enhancement: support for C-c to interrupt the foreground thread on Windows. (Thanks to Anton Kovalenko.) * enhancement: STDCALL alien callbacks. (Thanks to Anton Kovalenko.) * enhancement: Safepoint builds on POSIX platforms can now optionally be built without pseudo-atomic sequences and their run-time overhead. * enhancement: Threads created outside of Lisp can enter Lisp through alien callbacks and appear as Lisp threads for the duration of that function invocation. On safepoint builds only. * enhancement: Miscellaneous improvements to namestrings and underlying calls to OS functions for file system access on Windows. (Thanks to Anton Kovalenko.) * enhancement: The MSI installer support for Windows now uses Windows Installer XML at least version 3.5 and includes various usability improvements. (Thanks to Dmitry Kalyanov and Anton Kovalenko.) * enhancement: The sb-bsd-sockets contrib now supports non-blocking-mode on Windows. (Thanks to Anton Kovalenko.) * enhancement: The Windows backend now supports the x86-64 platform. (Thanks to Anton Kovalenko.) * bug fix: fasls are now once again directly executable (on platforms supporting shebang lines, with a suitably-installed sbcl). * bug fix: make.sh --help no longer runs clean.sh. (lp#937001) * bug fix: Fix CAS access to slots of direct instances of structure classes in the presence of subclasses sharing the same conc-name. * bug fix: Logical pathname namestrings on Windows have been changed to be lower-case, to minimize differences between POSIX and Windows.
2012-12-08Update to SBCL 1.1.2asau3-7/+11
changes in sbcl-1.1.2 relative to sbcl-1.1.1: * notice: System requirements for SBCL on Microsoft Windows: Windows NT 5.1 or newer (Windows XP, Server 2003) is required. Support for Windows 2000 (NT 5.0) is no longer being maintained. * notice: Starting with this version, SBCL on Windows no longer supports building with disabled thread support. * enhancement: frlocks have been added to SB-CONCURRENCY contrib module. * enhancement: New feature sb-dynamic-core allows the runtime to be rebuilt or relocated without requiring changes to the core file on all linkage table platforms. Required on Windows. (Thanks to Anton Kovalenko.) * enhancement: Console I/O streams use UCS-2. (Thanks to Anton Kovalenko.) * enhancement: I/O on Windows unnamed pipes is interruptible asynchronously using interrupt-thread, timers when running on Windows NT version 6.1 or newer (Windows 7, Server 2008 R2). (Thanks to Anton Kovalenko.) * enhancement: Support for the experimental safepoint-based stop-the-world protocol on the PowerPC platform. * bug fix: Non-blocking reads from the Windows console were not necessarily non-blocking. Thanks to Anton Kovalenko. (lp#308923) * bug fix: stability of threads on Windows has been improved upon through an updated stop-the-world protocol (thanks to Anton Kovalenko).
2012-11-02Update to SBCL 1.1.1asau3-13/+13
changes in sbcl-1.1.1 relative to sbcl-1.1.0: * enhancement: WITH-COMPILATION-UNIT no longer grabs the world-lock. (COMPILE and COMPILE-FILE still do.) * optimization: the SPARC backend now supports the precise generational (GENCGC) garbage collection. Enabled by default on Solaris/SPARC and Linux/SPARC. Thanks to Raymond Toy (via CMUCL). * enhancement: add experimental support for the SB-THREAD feature and the timer facility on Windows. Thanks to Dmitry Kalyanov and Anton Kovalenko. Threads are enabled by default, and this version of SBCL is considered to be the last and final release to officially support building with threads disabled. * optimization: The compiler no longer rotates loops in some cases where this transformation actually lead to worse code being generated. * bug fix: SB-CLTL2:MACROEXPAND-ALL correctly handles shadowing of symbol-macros by lexical bindings. * bug fix: stack allocation was prevented by high DEBUG declaration in several cases. * bug fix: SB-EXT:GC-LOGFILE signaled an error when no logfile was set. (thanks to SANO Masatoshi) * bug fix: PARSE-NATIVE-NAMESTRING performed non-native parsing when :JUNK-ALLOWED was true. * bug fix: type derivation inferred overly conservative types for unions of array types. (lp#1050768)
2012-10-02Update to SBCL 1.1.0asau2-7/+6
pkgsrc changes: * "user-destdir" is default these days, remove setting. Changes in sbcl-1.1.0 relative to sbcl-1.0.58: * enhancement: New variable, sb-ext:*disassemble-annotate* for controlling source annotation of DISASSEMBLE output. Defaults to T. * enhancement: TIMEOUT arguments added to WITH-MUTEX and WITH-RECURSIVE-LOCK, and WAIT-P argument added to WITH-RECURSIVE-LOCK. * enhancement: SB-EXT:ATOMIC-PUSH and SB-EXT:ATOMIC-POP allow atomic operations on list heads. * enhancement: Optional features (not enabled by default) allow the use of signals for inter-thread synchronization to be reduced on certain supported platforms (currently Linux, Solaris, and FreeBSD on x86 and x86-64). Set (and :sb-thread :sb-safepoint :sb-thruption :sb-wtimer) to test these experimental features. Known remaining bugs include minor thread safety issues, less timely freeing of memory by GC, and certain (not yet optimally low) runtime overhead. Thanks to Anton Kovalenko. * optimization: CL:SORT and CL:STABLE-SORT of lists are faster and use fewer comparisons, particularly on almost-sorted inputs. * bug fix: Reading floats with large exponents no longer takes too much time before reporting that the exponent is too large. * bug fix: SB-BSD-SOCKETS:SOCKET-RECEIVE with a UDP socket now works correctly when the received datagram is larger than the provided buffer. (lp#1023438, thanks to Robert Uhl) * bug fix: SB-EXT:GET-CAS-EXPANSION returned a bogus read-form when given a SYMBOL-VALUE form with a constant symbol argument. * bug fix: SB-EXT:GET-CAS-EXPANSION signaled an error when a macro expanding into a DEFCAS defined place was used as the place. * bug fix: FIND and POSITION signaled a type-error when non-bits where looked for from bit-vectors. * bug fix: a race condition around thread creation could (in SBCL 1.0.57) lead to internal errors or crashes (lp#1058799). * documentation: a section on random number generation has been added to the manual. (lp#656839)
2012-08-07Update to SBCL 1.0.58.asau2-6/+6
Changes in sbcl-1.0.58 relative to sbcl-1.0.57: * enhancement: implicit generic function warnings now specify the package in which the new generic function is being created. * enhancement: SB-EXT:ATOMIC-UPDATE makes it easy to perform non-destructive updates of CAS-able places (similar to Clojure's swap!). * enhancement: run-program no longer decodes and re-encodes environment when :environment argument is not provided. (lp#985904) * enhancement: errors during compiler-macro expansion no longer cause runtime errors, only a compile-time warning, otherwise behaving as if the compiler macro had declined to expand. * optimization: On x86-64, code alignment of block headers is done with multi-byte NOPs now instead of repetitions of the single-byte NOP. * optimization: MAP-INTO is substantially faster when the target sequence is of unknown type; mapping into lists is no longer O(N^2). (thanks to James M. Lawrence) * optimization: the compiler no longer heap-conses to check exits in cases where the exit function is dynamic extent, or when it can prove the exit function cannot escape. * optimization: SB-SEQUENCE:DOSEQUENCE is faster on vectors of unknown element type, and vectors that aren't SIMPLE-ARRAYs. * optimization: CL:SORT and CL:STABLE-SORT are more efficient in execution speed (around 1/3 the time in some cases), and a little better in terms of comparison calls. (Thanks to Takeru Ohta) * bug fix: On SPARC, a limitation on the number of code constants emittable by the compiler has been lifted, allowing certain long functions to compiled and assembled which had previously been unsupported; fixes cl-bench on this ISA (lp#1008996). * bug fix: potential for infinite recursion during compilation of CLOS slot typechecks when dependency graph had loops. (lp#1001799) * bug fix: error forms reported with some program-errors were not escaped properly. * bug fix: functions from EVAL are now on more equal footing with functions from COMPILE. (lp#1000783, lp#851170, lp#922408) * bug fix: ENSURE-GENERIC-METHOD-COMBINATION accepts method combination objects as its :METHOD-COMBINATION argument, not just lists designating method combinations. (lp#936513) * bug fix: run-program no longer unconditionally uses /tmp/ for temporary files. (lp#968837). * bug fix: restore build on solaris/sparc. (lp#1008506) * bug fix: an issue with LDB in the PowerPC backend has been resolved; this fixes an issue found with cl-postgres (thanks to Tomas Hlavaty). * bug fix: compiler-macro lambda-lists specifying non-keyword symbols as keyword arguments no longer accidentally match unevaluated symbols against them. * bug fix: FORMAT used to loop infinitely in some cases when a COLINC parameter was zero, now it signals an error. (lp#905817, fixed since 1.0.56.19) * bug fix: run-program with :pty t no longer makes the pty as the process's controling terminal.
2012-05-23Update to SBCL 1.0.57asau2-6/+6
changes in sbcl-1.0.57 relative to sbcl-1.0.56: * RANDOM enhancements and bug fixes: ** bug fix: the range and distribution of random integers could be catastrophically wrong when the compiler derived the type of its argument as a disjoint set of small integers. ** bug fix: the distribution of random integers is now completely uniform even when the specified limit is not a power of two. (Previously some values could be about 0.1 % more probable than others in the worst case.) ** RANDOM on large integer arguments is generally faster and conses less than before; this is visible for fixnums above a length of about 24 bits, but extremely so for bignums: the old implementation used time and space quadratical in the size of the argument there, the new one is linear. * enhancement: redesigned protocol for quitting SBCL. SB-EXT:EXIT is the new main entry point, SB-EXT:QUIT is deprecated. * enhancement: additions to the SB-THREAD API: RETURN-FROM-THREAD, ABORT-THREAD, MAIN-THREAD-P, and MAIN-THREAD. * enhancement: FASL loading no longer grabs the world-lock. * enhancement: GENCGC reclaims space more aggressively when objects being allocated are a large fraction of the total available heap space. (lp#936304) * enhancement: backtraces show the correct number of arguments for frames called with too many arguments. * enhancement: support for abort(3), exit(3), and _exit(2) has been added to SB-POSIX. * enhancement: ASDF has been updated 2.21. * optimization: fewer uses of full calls to signed modular functions. (lp#903821) * optimization: typechecking alien values is typically 5 x faster. * optimization: FDEFINITION, SYMBOL-FUNCTION, MACRO-FUNCTION, and FBOUNDP are 20% faster. * bug fix: file compilation performance issues when dumping subtypes of CHARACTER (lp#994487) * bug fix: fixed disassembly of some SSE instructions on x86-64. * bug fix: SB-SIMPLE-STREAMS signals an error for bogus :CLASS arguments in OPEN. (lp#969352, thanks to Kambiz Darabi) * bug fix: CASE normal-clauses do not allow T and OTHERWISE as keys. (lp#959687) * bug fix: (SETF (FIND-CLASS X) NIL) removed proper name of the underlying classoid even if X was not the proper name of the class. (lp#941102) * bug fix: declaration leakage between lexical environments due to careless use of NCONC in MAKE-LEXENV. (lp#924276) * bug fix: ENSURE-DIRECTORIES-EXIST now works when *default-pathname-defaults* contains NAME or TYPE components. * bug fix: PPRINT couldn't print improper lists with CARs being some symbols from CL package, e.g. (loop . 10). * bug fix: run-program with existent or non-existent files for :output or :input when :if-output-exists or :if-input-does-not-exist are NIL properly returns NIL instead of signalling an obscure error. * bug fix: fix miscompilation of some logand forms with large constant arguments. (lp#974406) * bug fix: account for funcallable-instance objects properly in ROOM. * bug fix: incorrect octets reported for c-string decoding errors. (lp#985505) * bug fix: miscompilation of LDB on the PowerPC platform. (thanks to Bruce O'Neel) * bug fix: better input error reporting for COMPILE-FILE. (lp#493380) * bug fix: default size of non-nursery generations has been shrunk on GENCGC, allowing faster release of memory back to the OS. (lp#991293) * bug fix: WITH-DEADLINE (:SECONDS NIL :OVERRIDE T) now drops any existing deadline for the dynamic scope of its body. * bug fix: compiler-internal interval arithmetic needed to be more conservative about open intervals when operated on by monotonic but not strictly-monotonic functions. (lp#975528) * bug fix: copy-tree caused stack exhaustion on long linear lists, and now it's also slightly faster. (lp#998926) * bug fix: better error messages for malformed declarations. (lp#1000239) * bug fix: define-condition didn't return the name of the defined condition. * documentation: ** improved docstrings: REPLACE (lp#965592)
2012-04-13Update to SBCL 1.0.56asau2-6/+6
New in version 1.0.56 * bug fix: fix copy-structure. When copying from stack to heap, garbage could end up in the heap making GC unhappy. (Thanks to James Knight, #911027) * enhancements + SBCL can now be built using Clang. + ASDF has been updated 2.20. * bug fix: compiler errors when weakening hairy integer types. (#913232) * bug fix: don't complain about a too-hairy lexical environment for inlining when the function has never been requested for inlining. (#963530)
2012-01-10Update to SBCL 1.0.55asau3-8/+7
New in version 1.0.55 * enhancements to building SBCL using make.sh: + --fancy can be specified to enable all supported feature enhancements. + --with-<feature> and --without-<feature> can be used to specify which features to build with. + --arch option can be used to specify the architecture to build for. (Mainly useful for building 32-bit SBCL's on x86-64 hosts, not full-blows cross-compilation.) * enhancement: extended package prefix syntax <pkgname>::<form-in-package> which allows specifying name of the default interning package for the whole form. * enhancement: when *READ-EVAL* is true, arrays with element type other than T can be printed readably using #.-based syntax. (Thanks to Robert Brown) * enhancement: MAKE-ALIEN signals a storage-condition instead of returning a null alien when malloc() fails. (#891268) * enhancement: SB-EXT:PRINT-UNREADABLY restart for PRINT-NOT-READABLE conditions can be conveniently accessed through function with the same name, analogously to CONTINUE. * enhancement: SB-EXT:*SUPPRESS-PRINT-ERRORS* can be used to suppress errors from the printer by type, causing an error marker to be printed instead. (Thanks to Attila Lendvai) * enhancement: BACKTRACE and DESCRIBE now bind *PRINT-CIRCLE* to T, and generally behave better when errors occur during printing. * enhancement: the test runner now takes a --report-skipped-tests argument to report the individual tests skipped as well as the number of skipped tests. * enhancement: undefined functions now appear in backtraces as ("undefined function") instead of ("bogus stack frame") on x86oids. * enhancement: detected deadlocks no longer cause stderr to be spammed, and deadlock errors are reported in an easier-to-decipher manner. * enhancement: DESCRIBE on type designators reports the expansion in more cases. * enhancement: SBCL now provides either an explicit :BIG-ENDIAN or :LITTLE-ENDIAN in *FEATURES*, instead of :BIG-ENDIAN being implied by lack of the :LITTLE-ENDIAN feature. (Thanks to Luis Oliveira, #901661) * enhancement: better disassembly of segment-prefixes on x86 and other instruction prefixes (e.g. LOCK) on x86 and x86-64. * optimization: FIND and POSITION on bit-vectors are orders of magnitude faster (assuming KEY and TEST are not used, or are sufficiently trivial.) * optimization: SUBSEQ on vectors of unknown element type is substantially faster. (#902537) * optimization: specialized arrays with non-zero :INITIAL-ELEMENT can be stack-allocated. (#902351) * optimization: the compiler is smarter about representation selection for floating point constants used in full calls. * optimization: the compiler no longer refuses to coerce large fixnums to single floats inline, except on x86 where this limitation is still necessary. * bug fix: deadlock detection could report the same deadlock twice, for two different threads. Now a single deadlock is reported exactly once. * bug fix: interval-arithmetic division during type derivation did not account for signed zeros. * bug fix: compiler error when typechecking a call to a function with non-constant keyword arguments. * bug fix: misoptimization of TRUNCATE causing erratic behaviour. * bug fix: condition slot accessors no longer cause undefined function style-warnings when used in the :REPORT clause of the DEFINE-CONDITION form that defines them. (#896379) * bug fix: DEFGENERIC warns about unsupported declarations, as specified by ANSI. (#894202) * bug fix: SUBTYPEP tests involving forward-referenced classes no longer bogusly report NIL, T. * bug fix: bogus style-warnings for DEFMETHOD forms that both declared some required arguments ignored and performed assignments to others. (#898331) * bug fix: *EVALUATOR-MODE* :COMPILE treated (LET () ...) identically to (LOCALLY ...) leading to internally inconsistent toplevel-formness. * bug fix: non-toplevel DEFSTRUCT signaled a style warning for unknown type. * bug fix: redefining a function whose previous definition contained an unknown type no longer causes a style-warning. (#806243) * bug fix: undefined functions now appear in backtraces as ("undefined function") instead of ("bogus stack frame") on non-x86oids. * bug fix: backtraces are no longer cut off at ("undefined function") when called under certain circumstances (involving a caller-allocated stack frame) on PPC. * bug fix: RUN-PROGRAM leaked a file-descriptor per call on non-Windows systems. (regression since 1.0.53) * bug fix: GC deadlocks from dladdr() on certain platforms. * bug fix: broken standard streams no longer automatically cause recursive errors on debugger entry. * bug fix: build ignored --dynamic-space-size=<size> argument to make.sh (regression since 1.0.53) * bug fix: attempts to stack allocate a required argument to a function with an external entry point caused compiler-errors. * bug fix: compiler notes for failed stack allocation for a function argument no longer claim to be unable to stack allocate the function. * bug fix: COERCE now signals a type-error on several coercions to subtypes of CHARACTER that are forbidden according to ANSI. (#841312) * bug fix: missing failure-to-stack-allocate compiler notes for some forms of MAKE-ARRAY with dynamic-extent. (#902351) * bug fix: some of the compile-time side-effects of DEFCLASS were not caught by package locks.
2011-12-05Update to SBCL 1.0.54asau4-27/+13
changes in sbcl-1.0.54 relative to sbcl-1.0.53: * minor incompatible changes: ** RENAME-FILE on a symbolic links used to rename the linked-to file instead of the link. ** DELETE-DIRECTORY on symbolic link to a directory used to delete the directory, but now signal an error instead. Use TRUENAME to resolve the pathname if you wish to delete the linked directory, and DELETE-FILE if you wish to delete the ** The internal SB-THREAD::SPINLOCK API has been deprecated, and using symbols associated with it will trigger a compile-time warning. * thread-related enhancements: (This work has been funded by the SBCL Threading 2011 IndieGoGo campaign. Many thanks to generous donors!) ** Threading is now more reliable on non-Linux platforms. We still don't consider threads on non-Linux platforms good enough to enable them by default, but they're in a clearly better shape now. ** Deadlines supported now on all platforms. ** All blocking functions in the threading API now have a :TIMEOUT argument. ** Semaphore notification objects have been added to SB-THREAD. ** SB-CONCURRENCY contrib now includes Allegro-style GATE objects. ** SB-EXT:COMPARE-AND-SWAP has been extended to support SLOT-VALUE, STANDARD-INSTANCE-ACCESS, and FUNCALLABLE-STANDARD-INSTANCE-ACCESS. ** Users can now defined new places usable with SB-EXT:COMPARE-AND-SWAP using an API anologous to defining new SETFable places. * GC-related enhancements and bug fixes: ** --dynamic-space-size and --control-stack-size now understand Kb, Mb, and Gb suffixes. Default is megabytes as before. ** on GENCGC targets, the default dynamic space size is now 512Mb for 32-bit systems, and 1Gb for 64-bit systems. (OpenBSD/x86-64 is the only exception, defaulting to mere 444Mb to fit under default ulimits.) The new defaults are in place to prevent hitting swap on low-end systems. Use build-time option --dynamic-space-size to build an SBCL with another default, or the runtime option to adjust the size at startup: a good size is at most equal to the amount of physical memory the system has. ** on GENCGC targets, nursery and generation sizes now default to 5% of dynamic-space size. ** on GENCGC targets, SB-KERNEL:MAKE-LISP-OBJ no longer categorically refuses to create SIMPLE-FUN objects. ** on 64-bit GENCGC targets, setting the nursery size above 4Gb now works. (lp#870868) ** on CHENEYGC targets, SB-KERNEL:MAKE-LISP-OBJ now does the same validation of pointer objects as GENCGC does, instead of a comparatively weak bounds-check against the heap spaces. * SB-BSD-SOCKETS bug fixes: ** GET-PROTOCOL-BY-NAME had a significant memory leak. ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS small amounts of memory on systems with getaddrinfo(). ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS weren't thread or interrupt safe outside systems with getaddrinfo(). * enhancement: ASDF has been updated 2.019. * enhancement: special-case TCO prevention for functions which never return extended to untrusted types, keeping one more frame's worth of debug information around in many cases. * enhancement: debug-names of anonymous and local function are more descriptive. Affects backtraces and SB-SPROF results. (lp#805100) * enhancement: on win32, ABS of complex floats guards better against overflows. (lp#888410) * enhancement: RUN-PROGRAM now distinguishes exec() failing from child process exiting with code 1. (lp#676987) * enhancement: convenience function SET-SBCL-SOURCE-LOCATION for informing the system where on the filesystem the SBCL sources themselves are located. (Thanks to Zach Beane) * enhancement: the compiler is now able to derive tighter bounds for floating point numbers in some cases. (Thanks to Lutz Euler, lp#894498) * bug fix: on 64-bit targets, atomic-incf/aref does index computation correctly, even on wide-fixnum builds. (lp#887220) * bug fix: (DIRECTORY "foo/*/*.*") did not follow symlinks in foo/ that resolved to directories. * bug fix: type mismatch when assigning to lexical variables no longer result in fasl-dumping internal type objects. (lp#890750) * bug fix: type mismatch on (SETF AREF) and function return values no longer result in fasl-dumping internal type objects. * bug fix: With several combinations of argument types, for example (EXPT <integer> <(complex double)>), EXPT now uses double-precision throughout instead of partially calculating only to single-precision. (lp#741564; thanks to Lutz Euler) * bug fix: SYMBOL-VALUE-IN-THREAD is no longer able to construct bogus objects when interrupted by GC on PPC.
2011-11-08Update to SBCL 1.0.53asau2-6/+6
changes in sbcl-1.0.53 relative to sbcl-1.0.52: * enhancement: on 64-bit targets, in src/compiler/generic/early-vm.lisp, the parameter n-fixnum-tag-bits may now vary from 1 (fixnum = (signed-byte 63)) to 3 (fixnum = (signed-byte 61)) at build-time. * enhancement: SB-EXT:WAIT-FOR allows waiting for arbitrary events. * minor(?) incompatible(?) change: The default fixnum width on 64-bit targets is now 63 bits (up from 61). * enhancement: DESCRIBE now reports a lambda-list and source location for complext setf-expanders. * bug fix: PUSH, PUSHNEW, POP, REMF, INCF, DECF, DEFINE-MODIFY-MACRO, GETF, LOGBITP, LDB, and MASK-FIELD now arrange for non-primary values of multiple-valued places to be set to NIL, instead of signalling an error (per a careful reading of CLHS 5.1.2.3). * bug fix: floating-point traps now work on darwin/x86 and /x86-64. * bug fix: repair crash in x86oid darwin signal handling emulation when built with certain compilers. * bug fix: SB-ROTATE-BYTE misrotated to the right when using constant rotation arguments on x86-64. (lp#882151) * bug fix: low-level control flow optimisations could result in bogus code in functions with tail and non-tail calls to local functions on x86oids. (lp#883500) * bug fix: on SPARC/:sb-unicode, avoid crashing the assembler by trying to emit literal characters > (code-char 4095), for comparisons with constant characters. * bug fix: ROOM reported only the low 32 bits of dynamic space usage on 64 bit platforms. (lp#881445) * bug fix: DELETE-FILE did not MERGE-PATHNAMES, making it possible to delete the wrong file when using relative pathnames. (lp#882877) * bug fix: optimized SEARCH of vectors-on-vectors mishandled zero-length sequences and :KEY NIL. changes in sbcl-1.0.52 relative to sbcl-1.0.51: * enhancement: ASDF has been updated to version 2.017. * enhancement: the --core command line option now accepts binaries with an embedded core. * enhancement: when built with :sb-core-compression, core files (regular or executable) can be compressed with zlib. Use the :COMPRESSION argument to SAVE-LISP-AND-DIE to specify a compression level. * enhancement: --[no-]merge-core-pages determines whether the runtime hints the operating system that identical core pages between SBCL processes should share the same physical memory. Default is to only enable this for compressed cores. * optimization: SLEEP no longer conses. * optimization: *PRINT-PRETTY* no longer slows down printing of strings or bit-vectors when using the standard pretty-print dispatch table. * bug fix: non-function FTYPE declarations no longer cause a compiler-error. (lp#738464) * bug fix: compiler-errors causes by MEMBER types in conjunction with with AREF, CHAR, etc. (lp#826971) * bug fix: compiler-errors causes by integer arguments with composed of multiple ranges to ARRAY-IN-BOUNDS-P. (lp#826970) * bug fix: ,@ and ,. now signal a read-time error for certain non-list expressions. (lp#770184) * bug fix: complex single float literals are correctly aligned when used as arguments of arithmetic operators. * bug fix: on 32-bit platforms, rounding of double floats larger than a fixnum is correct. (reported by Peter Keller) * bug fix: stray FD-HANDLERs are no longer left lying around after unwinds from RUN-PROGRAM. (lp#840190, reported by Dominic Pearson; fix from Max Mikhanosha) * bug fix: redefining classes such that slots with custom allocation are added or removed works again.
2011-08-21Assume maintainership, approved by previous maintainer.asau1-2/+2
2011-08-21Update to SBCL 1.0.51asau2-6/+6
changes in sbcl-1.0.51 relative to sbcl-1.0.50: * minor incompatible change: SB-BSD-SOCKET socket streams no longer participate in SERVE-EVENT by default: pass :SERVE-EVENTS T to MAKE-SOCKET-STREAM if using SERVE-EVENT. * enhancement: added support for socket keepalive timeout intervals and probe counts on Linux. * enhancement: building 32-bit SBCL on Linux/x86-64 now works without a chroot. (Use "SBCL_ARCH=x86 sh make.sh" to build.) * enhancement: added new toplevel options --quit and --non-interactive (lp#822712). * enhancement: the Windows port of SBCL now builds and runs on Wine (thanks to Anton Kovalenko). * enhancement: more, and more correct, SSE instruction definitions on x86-64 (thanks to Alexander Gavrilov). * enhancement: SB-EXT:SPIN-LOOP-HINT assembles to an instruction designed to help the processor execute spin loops, when applicable. Currently implemented for x86 and x86-64. * optimization: unsigned integer divisions by a constant are implemented using multiplication (affects CEILING, FLOOR, TRUNCATE, MOD, and REM.) * optimization: improved type-derivation for LOAD-TIME-VALUE. * bug fix: correct RIP offset calculation in SSE comparison and shuffle instructions. (lp#814688) * bug fix: COERCE to unfinalized extended sequence classes now works. (reported by Jan Moringen; lp#815155) * bug fix: a compiler error during typecheck generation, reported by Eric Marsden. (lp#816564) * bug fix: obsolete instance protocol fires when shared slots are added or removed. * bug fix: fixed-format floating point printing with scaling factors. (lp#811386) * bug fix: using GCC >= 4.6 to build SBCL on x86 no longer breaks backtraces. (lp#818460) * bug fix: better backtraces for interrupted syscall frames on x86. (lp#549673) * bug fix: SSE comparison instructions can be disassembled even when one operand is in memory. (lp#814702) * bug fix: incomplete writes when not using SERVE-EVENTS. (lp#820599) * bug fix: MULTIPLE-VALUE-BIND + VALUES -> LET conversion could lose derived type information associated with the VALUES form. * bug fix: broken warnings/errors for type-errors involving LOAD-TIME-VALUE forms. (lp#823014) * bug fix: OPEN :IF-EXISTS :APPEND now returns correct FILE-POSITION before first write (lp#561642). * bug fix: compiled closures from EVAL could not be DESCRIBEd. (lp#824974) * bug fix: bound propagation involving conversion of large bignums to floats no longer signals a SIMPLE-TYPE-ERROR, reported by Lutz Euler. (lp#819269) * bug fix: &REST to &MORE conversion still works in unsafe call to known functions; reported by Lutz Euler (lp#826459). * bug fix: bogus deadlocks from interrupts and GCs. (lp#807475, regression since 1.0.48) changes in sbcl-1.0.50 relative to sbcl-1.0.49: * enhancement: errors from FD handlers now provide a restart to remove the offending handler. * enhancement: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works on structure copiers as well. * enhancement: location of user or system initialization file can now easily be customized for saved cores. See: SB-EXT:*USERINIT-PATHNAME-FUNCTION* and SB-EXT:*SYSINIT-PATHNAME-FUNCTION*. * enhancement: SB-EXT:MAKE-THREAD accepts an argument list designator for the thunk, as a keyword argument, :arguments. * enhancement: constraint propagation is simplified (and sped up) when COMPILATION-SPEED > SPEED. * enhancement: SB-ALIEN exports alien type specifiers SIZE-T and OFF-T. * enhancement: debugger understands &MORE arguments better. * optimization: extracting bits of a single-float on x86-64 has been optimized. (lp#555201) * optimization: MAP and MAP-INTO are more efficient for non-simple vectors, when (> SPEED SPACE). * optimization: local call trampolines (x86 and x86-64) are emitted inline. * optimization: implicit value cells for dynamic-extent closed-over bindings on x86 and x86-64 can hold unboxed values as well. * meta-optimization: improved compilation speed, especially for large functions. (lp#792363 and lp#394206) * bug fix: bound derivation for floating point operations is now more careful about rounding possibly closing open bounds. (lp#793771) * bug fix: SB-POSIX:SYSCALL-ERROR's argument is now optional. (accidental backwards incompatible change in 1.0.48.27) * bug fix: occasional debugger errors in when a type-error occured in a function with dynamic-extent &rest list. * bug fix: &optional and &key supplied-p arguments in DEFSTRUCT boa-construtors can be used to initialized structure slots. * bug fix: FMAKUNBOUND removes the MACRO-FUNCTION, should one exist. (lp#795705, regression) * bug fix: DIRECTORY works better on logical pathnames. * bug fix: RUN-PROGRAM no longer fails spuriously when argument strings are of the order of ARRAY-TOTAL-SIZE-LIMIT. (lp#787237) * bug fix: the compiler no longer constant-folds NaNs in MAKE-{SINGLE,DOUBLE}-FLOAT. (lp#486812) * bug fix: FORMAT now handles floating point rounding correct, eg. (format nil "~,1F" 0.01) => "0.0" instead of "0.01" as previously. (lp#308961) * bug fix: style warning during lambda-list introspection of generic functions with both optional and key argments. * bug fix: regalloc doesn't barf on unused TNs due to type-directed constant folding. (lp#729765) * bug fix: Fixed an off-by-one in MAP-ALLOCATED-OBJECTS that might have caused infinite loops.
2011-06-11Update to SBCL 1.0.49asau3-7/+8
changes in sbcl-1.0.49 relative to sbcl-1.0.48: * minor incompatible change: WITH-LOCKED-HASH-TABLE no longer disables interrupts for its body. * enhancement: source locations are now available for files loaded as source, compile-time-too evaluation, and initialization files. * enhancement: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING allows providing virtual source-file information, eg. overriding input-file of COMPILE-FILE when a temporary file is used for compilation. * enhancement: ASDF has been updated to version 2.015.3. * enhancement: backtraces involving frames from the default evaluator are more readable. * enhancement: RUN-PROGRAM works with user-defined binary input and output streams. * enhancement: more informative compile-time warnings and runtime errors for type-errors detected at compile-time. * enhancement: deadlock detection for mutexes and spinlocks. * enhancement: dynamic-extent for &rest lists stack allocate only their spines, not their argumets. While portable code should not rely on this, particularly in combination with inlining, it should make dynamic-extent easier to use safely. * enhancement: SB-POSIX improvements: ** WNOHANG and WUNTRACED are exported. ** SYSCALL-ERROR now also provides the name of the failing system call. * enhancement: --script improvements: ** errors on standard input, output, and error streams are handled and cause scripts to exit silently, making them easier to use in shell pipelines. ** backtraces from scripts now go to standard error instead of the terminal even if one is available. ** --script can be an argument, causing the script to be loaded from standard input. * enhancement: MAKE-ALIEN-STRING provides an easy way to transport lisp strings to foreign memory. * enhancement: (SETF GC-LOGFILE) allows logging garbage collections to a file, making it easier to understand heap dynamics. * optimization: using a &REST argument only in APPLY or VALUES-LIST calls allows the compiler to automatically elide rest-list allocation so long as the call sites are in functions that the compiler knows cannot escape. (lp#504575) * optimization: CALL-NEXT-METHOD using explicit arguments is faster, especially in safe code when none of the required arguments have changed their identities. * bug fix: blocking reads from FIFOs created by RUN-PROGRAM were uninterruptible, as well as blocking reads from socket streams created with for which :SERVE-EVENTS NIL. (regression from 1.0.42.43) * bug fix: SET-SYNTAX-FROM-CHAR now removes dispatch-macro character syntax from the to-char if the from-char is not a dispatch-macro character. * bug fix: references to undefined variables in function calls that are optimized away now signal a runtime error. (lp#722734) * bug fix: miscompilation of MULTIPLE-VALUE-CALL when asserting derived types from a function defined in the same file. (regression from 1.0.43.57) * bug fix: TRULY-THE forms are now macroexpandable and setf-expandable. (lp#771673) * bug fix: spurious errors during QUIT when standard streams were closed.
2011-05-09Update SBCL to version 1.0.48asau2-6/+8
changes in sbcl-1.0.48 relative to sbcl-1.0.47: * incompatible change: SB!KERNEL:INSTANCE-LAMBDA, deprecated for over five years, is now no longer supported. * enhancement: read() and write() have been added to SB-POSIX. * enhancement: types of DEFSTRUCT constructors are proclaimed more accurately, allowing better typechecking of call-sites. * enhancement: errors during compile-time-too processing (i.e. EVAL-WHEN) are no longer caught. (reverted to pre 1.0.34 behaviour) * optimization: slightly faster ISQRT. (lp#713343) * bug fix: better support for Solaris /bin/sh in sh-based tests. * bug fix: TRACE behaves better when attempting to trace undefined functions. (lp#740717) * bug fix: missed optimizations for (FUNCALL (LAMBDA ...) ...) in comparison to (FUNCALL #'(LAMBDA ...) ...). * bug fix: ((LAMBDA ...) ...) forms with invalid argument counts resulted in a compile-time error. (lp#720382) * bug fix: forms such as (FUNCALL (FUNCTION NAME OOPS) ...) were compiled without complaints. * bug fix: less verbose source forms for functions from EVAL. (lp#747485) * bug fix: sense of SLOT-BOUNDP-USING-CLASS was inverted in a MAKE-INSTANCE optimization. (regression from 1.0.45.18/1.0.46.15) * bug fix: package locks did not protects against compile-time side-effects of DEFUN. (lp#675584) * bug fix: --dynamic-space-size argument is validated more carefully. (lp#721457) * bug fix: memory fault from printing a malformed simple-condition. (lp#705690) * bug fix: redefining classes so that slot-definition classes change now engages the obsolete instance protocol. (lp#766271) * bug fix: constant improper lists could break source coverage recording. (lp#767959) * bug fix: compiling calls to eg. MEMBER with massive constant list arguments could exhaust stack.
2011-04-20Update to SBCL 1.0.47asau2-6/+6
changes in sbcl-1.0.47 relative to sbcl-1.0.46: * bug fix: fix mach port rights leaks in mach exception handling code on darwin/x86 and /x86-64. (thanks to Willem Oudshoorn for motivation and the initial patch) * enhancement: --script muffles style-warnings and compiler notes. (lp#677779) * enhancement: redefinition warnings for macros from different files. (lp#434657) * enhancement: better MACHINE-VERSION on Darwin x86 and x86-64. (lp#668332) * enhancement: (FORMAT "foo" ...) and similar signal a compile-time warning. (lp#327223) * enhancement: no more "in: LAMBDA NIL" messages from the compiler for forms processed using EVAL -- now the appropriate toplevel form is reported instead. * enhancement: more legible style-warnings for inappropriate IGNORE and IGNORABLE declarations. (lp#726331) * enhancement: :NOT-NULL option has been added to alien C-STRING type to indicate that NIL/NULL is excluded from the type. * enhancement: SB-INTROSPECT:MAP-ROOT allows mapping over pointers contained in arbitrary objects. * optimization: SLOT-VALUE &co are faster in the presence of SLOT-VALUE-USING-CLASS and its compatriots. * optimization: core startup time is reduced by 30% on x86-64. (lp#557357) * bug fix: SB-DEBUG:BACKTRACE-AS-LIST guards against potentially leaking stack-allocated values out of their dynamic-extent. (lp#310175) * bug fix: attempts to use SB-SPROF for wallclock profiling on threaded x86-64 builds caused a type-error. * bug fix: calling COMPILE with something else than a lambda-expression as the second argument reports a more sensible error. (lp#718905) * bug fix: invalid combinations of :PREDICATE and :TYPE options in DEFSTRUCT are detected. (lp#520607) * bug fix: constant keyword argument checking didn't take :ALLOW-OTHER-KEYS into account. * bug fix: SLOT-BOUNDP information is correct during MAKE-INSTANCE in the presence of (SETF SLOT-VALUE-USING-CLASS) and SLOT-BOUNDP-USING-CLASS methods. (regression from 1.0.45.18) * bug fix: INITIALIZE-INSTANCE :AROUND methods supplying initargs via CALL-NEXT-METHOD work correctly. (regression from 1.0.45.19) * bug fix: several foreign functions accepting string also accepted NIL and consequently caused a memory fault at 0 now signal a type-error instead. (lp#721087) * bug fix: under rare circumstances, constraint propagation could rewrite a variable reference to refer to a variable not in scope, causing an error during physical environment analysis when attempting to close over the variable. (lp#551227) * bug fix: SIMPLE-CONDITION :FORMAT-CONTROL defaults to NIL.