stassats | 26 Apr 22:53 2015
Picon
Picon

master: Use `undefine' instead of `unset' in asdf-module.mk

The branch "master" has been updated in SBCL:
       via  1830176417adac41d9c4c5894b1dce2c10280dcb (commit)
      from  faf9cd25760ff05063fa1cf2340e14193dcb9eab (commit)

- Log -----------------------------------------------------------------
commit 1830176417adac41d9c4c5894b1dce2c10280dcb
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Sun Apr 26 23:52:55 2015 +0300

    Use `undefine' instead of `unset' in asdf-module.mk

    This a makefile, not a shell script.
---
 contrib/asdf-module.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk
index 1329134..fa1f7c7 100644
--- a/contrib/asdf-module.mk
+++ b/contrib/asdf-module.mk
 <at>  <at>  -10,7 +10,7  <at>  <at>  DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
 FASL=$(DEST)/$(SYSTEM).fasl
 ASD=$(DEST)/$(SYSTEM).asd

-unset EXTRA_CFLAGS
+undefine EXTRA_CFLAGS

 ifeq (SunOS,$(UNAME))
   EXTRA_CFLAGS=-D_XOPEN_SOURCE=500 -D__EXTENSIONS__

(Continue reading)

stassats | 26 Apr 22:26 2015
Picon
Picon

master: unset EXTRA_CFLAGS when building contribs.

The branch "master" has been updated in SBCL:
       via  faf9cd25760ff05063fa1cf2340e14193dcb9eab (commit)
      from  88d1c28806352ee474a2a6f9de5fc91d4fbdb98b (commit)

- Log -----------------------------------------------------------------
commit faf9cd25760ff05063fa1cf2340e14193dcb9eab
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Sun Apr 26 23:26:43 2015 +0300

    unset EXTRA_CFLAGS when building contribs.

    The user supplied EXTRA_CFLAGS may interfere with contrib building.
---
 contrib/asdf-module.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/asdf-module.mk b/contrib/asdf-module.mk
index df134ea..1329134 100644
--- a/contrib/asdf-module.mk
+++ b/contrib/asdf-module.mk
 <at>  <at>  -10,6 +10,8  <at>  <at>  DEST=$(SBCL_PWD)/obj/sbcl-home/contrib/
 FASL=$(DEST)/$(SYSTEM).fasl
 ASD=$(DEST)/$(SYSTEM).asd

+unset EXTRA_CFLAGS
+
 ifeq (SunOS,$(UNAME))
   EXTRA_CFLAGS=-D_XOPEN_SOURCE=500 -D__EXTENSIONS__
   PATH:=/usr/xpg4/bin:${PATH}

(Continue reading)

stassats | 26 Apr 22:06 2015
Picon
Picon

master: Don't report sb-sprof as failing on Windows.

The branch "master" has been updated in SBCL:
       via  88d1c28806352ee474a2a6f9de5fc91d4fbdb98b (commit)
      from  6d29a65afa98f36a19b58831a01453d23d8708db (commit)

- Log -----------------------------------------------------------------
commit 88d1c28806352ee474a2a6f9de5fc91d4fbdb98b
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Sun Apr 26 23:06:25 2015 +0300

    Don't report sb-sprof as failing on Windows.

    It just doesn't work on Windows yet, no reason to treat it as if it's
    broken.
---
 contrib/sb-sprof/sb-sprof.lisp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/contrib/sb-sprof/sb-sprof.lisp b/contrib/sb-sprof/sb-sprof.lisp
index 6c3ee7c..3e84800 100644
--- a/contrib/sb-sprof/sb-sprof.lisp
+++ b/contrib/sb-sprof/sb-sprof.lisp
 <at>  <at>  -506,7 +506,7  <at>  <at>  profiling, and :TIME for wallclock profiling.")
              (not (eq *timer-thread* thread)))
         (member thread profiled-threads :test #'eq))))

-#+(or x86 x86-64)
+#+(and (or x86 x86-64) (not win32))
 (progn
   ;; Ensure that only one thread at a time will be doing profiling stuff.
   (defvar *profiler-lock* (sb-thread:make-mutex :name "Statistical Profiler"))
(Continue reading)

Douglas Katzman | 25 Apr 02:27 2015
Picon
Picon

master: x86-64: Fix MOVNTI encoder/printer which never worked right.

The branch "master" has been updated in SBCL:
       via  6d29a65afa98f36a19b58831a01453d23d8708db (commit)
      from  7014958ab489a3e77e7860d7860c2463820e417d (commit)

- Log -----------------------------------------------------------------
commit 6d29a65afa98f36a19b58831a01453d23d8708db
Author: Douglas Katzman <dougk <at> google.com>
Date:   Fri Apr 24 20:05:20 2015 -0400

    x86-64: Fix MOVNTI encoder/printer which never worked right.
---
 src/compiler/x86-64/insts.lisp |    5 +--
 tests/assembler.pure.lisp      |   42 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)

diff --git a/src/compiler/x86-64/insts.lisp b/src/compiler/x86-64/insts.lisp
index ff2940a..04f4812 100644
--- a/src/compiler/x86-64/insts.lisp
+++ b/src/compiler/x86-64/insts.lisp
 <at>  <at>  -3724,14 +3724,13  <at>  <at> 
   (define-sse-inst-implicit-mask blendvps #x66 #x38 #x14)
   (define-sse-inst-implicit-mask blendvpd #x66 #x38 #x15))

-;; FIXME: is that right!?
 (define-instruction movnti (segment dst src)
-  (:printer ext-reg-reg/mem-no-width ((op #xc3)))
+  (:printer ext-reg-reg/mem-no-width ((op #xc3)) '(:name :tab reg/mem ", " reg))
   (:emitter
    (aver (not (or (register-p dst)
                   (xmm-register-p dst))))
(Continue reading)

stassats | 23 Apr 20:08 2015
Picon
Picon

master: Fix sb-bsd-sockets on win32-x86.

The branch "master" has been updated in SBCL:
       via  7014958ab489a3e77e7860d7860c2463820e417d (commit)
      from  e6d051189f61a91b1c06601407caccb3487023d8 (commit)

- Log -----------------------------------------------------------------
commit 7014958ab489a3e77e7860d7860c2463820e417d
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Thu Apr 23 21:07:54 2015 +0300

    Fix sb-bsd-sockets on win32-x86.

    EAFNOSUPPORT isn't inclued in winsock2.h on x86 (but is on x86-64),
    include errno.h as well.
---
 contrib/sb-bsd-sockets/win32-constants.lisp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/sb-bsd-sockets/win32-constants.lisp b/contrib/sb-bsd-sockets/win32-constants.lisp
index 19fae1e..de823f5 100644
--- a/contrib/sb-bsd-sockets/win32-constants.lisp
+++ b/contrib/sb-bsd-sockets/win32-constants.lisp
 <at>  <at>  -4,7 +4,7  <at>  <at> 
 ;;; name it thus to avoid having to mess with the clc lpn translations

 ;;; first, the headers necessary to find definitions of everything
-("winsock2.h")
+("winsock2.h" "errno.h")

 ;;; then the stuff we're looking for
 ((:integer af-inet "AF_INET" "IP Protocol family")
(Continue reading)

stassats | 23 Apr 20:08 2015
Picon
Picon

master: Fix win32-x86 build.

The branch "master" has been updated in SBCL:
       via  e6d051189f61a91b1c06601407caccb3487023d8 (commit)
      from  b9e3180b4daf4835879937ce593dc2b9c8d8a0c6 (commit)

- Log -----------------------------------------------------------------
commit e6d051189f61a91b1c06601407caccb3487023d8
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Thu Apr 23 21:07:23 2015 +0300

    Fix win32-x86 build.

    Padding zeros between unwind and win32-unwind-tail interfered with
    their operation. Merging them into a single routine solves the
    problem.
---
 src/assembly/x86/assem-rtns.lisp |   21 ++-------------------
 1 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/src/assembly/x86/assem-rtns.lisp b/src/assembly/x86/assem-rtns.lisp
index 60a6ec4..d0ad391 100644
--- a/src/assembly/x86/assem-rtns.lisp
+++ b/src/assembly/x86/assem-rtns.lisp
 <at>  <at>  -326,12 +326,8  <at>  <at> 
   (dotimes (i 8)
     (inst fstp fr0-tn))

-  ;; I'm unlikely to ever forget this again.
+  ;; ABI requires this
   (inst cld)
-
(Continue reading)

stassats | 23 Apr 16:37 2015
Picon
Picon

master: Change the remaining pthread_sigmask to thread_sigmask on win32.

The branch "master" has been updated in SBCL:
       via  b9e3180b4daf4835879937ce593dc2b9c8d8a0c6 (commit)
      from  c2a4aec2a72566c6fbae566a4a8a8e5995b8803f (commit)

- Log -----------------------------------------------------------------
commit b9e3180b4daf4835879937ce593dc2b9c8d8a0c6
Author: Stas Boukarev <stassats <at> gmail.com>
Date:   Thu Apr 23 17:32:03 2015 +0300

    Change the remaining pthread_sigmask to thread_sigmask on win32.
---
 src/code/target-exception.lisp |    1 +
 src/runtime/win32-os.c         |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/code/target-exception.lisp b/src/code/target-exception.lisp
index 6f22232..14152ba 100644
--- a/src/code/target-exception.lisp
+++ b/src/code/target-exception.lisp
 <at>  <at>  -156,6 +156,7  <at>  <at> 
     void
     (mask unsigned))

+  ;; KLUDGE: unused, was intended for invoke-interruption below?
   (defmacro without-interrupts/with-deferrables-blocked (&body body)
     (let ((mask-var (gensym)))
       `(without-interrupts
diff --git a/src/runtime/win32-os.c b/src/runtime/win32-os.c
index 4b664db..8a5f6aa 100644
--- a/src/runtime/win32-os.c
(Continue reading)

Douglas Katzman | 23 Apr 00:22 2015
Picon
Picon

master: BARRIER can't be a DEF!MACRO nor twice defined (blame 7bb4c044).

The branch "master" has been updated in SBCL:
       via  c2a4aec2a72566c6fbae566a4a8a8e5995b8803f (commit)
      from  997a155d617c0a6a9d3c82236627a1585801388e (commit)

- Log -----------------------------------------------------------------
commit c2a4aec2a72566c6fbae566a4a8a8e5995b8803f
Author: Douglas Katzman <dougk <at> google.com>
Date:   Wed Apr 22 17:05:24 2015 -0400

    BARRIER can't be a DEF!MACRO nor twice defined (blame 7bb4c044).

    Otherwise it is impossible to comprehend the behavior of macros
    like DEFUN-CACHED which expand to macros which define functions.
    Just one definition for the host, and one for the target.
---
 build-order.lisp-expr          |    6 +++---
 src/code/barrier.lisp          |   14 ++++++--------
 src/code/early-extensions.lisp |    9 ++-------
 3 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/build-order.lisp-expr b/build-order.lisp-expr
index 1e92c5c..7dbbf59 100644
--- a/build-order.lisp-expr
+++ b/build-order.lisp-expr
 <at>  <at>  -117,6 +117,9  <at>  <at> 
  ;; to %OTHER-POINTER-WIDETAG, which is an ordinary inline function, and not
  ;; known to the cross-compiler until it has seen the DEFUN in 'kernel'
  ("src/code/kernel" :not-host)
+ ;; This has the BARRIER stuff that the threading support needs,
+ ;; required for some code in 'early-extensions'
(Continue reading)

Douglas Katzman | 22 Apr 14:29 2015
Picon
Picon

master: Report reader error position in LOAD of lisp files more accurately.

The branch "master" has been updated in SBCL:
       via  997a155d617c0a6a9d3c82236627a1585801388e (commit)
      from  fff145335f417c66f2856c27067409d8de40d096 (commit)

- Log -----------------------------------------------------------------
commit 997a155d617c0a6a9d3c82236627a1585801388e
Author: Douglas Katzman <dougk <at> google.com>
Date:   Wed Apr 22 08:24:57 2015 -0400

    Report reader error position in LOAD of lisp files more accurately.
---
 src/code/early-extensions.lisp |   18 +++++--------
 src/code/fd-stream.lisp        |    8 +++--
 src/code/target-load.lisp      |    5 ++-
 src/compiler/main.lisp         |   33 ++++++++---------------
 src/compiler/target-main.lisp  |   56 ++++++++++++++++++++-------------------
 tests/load.pure.lisp           |   15 ++++++++++
 6 files changed, 70 insertions(+), 65 deletions(-)

diff --git a/src/code/early-extensions.lisp b/src/code/early-extensions.lisp
index f552f17..6dbef43 100644
--- a/src/code/early-extensions.lisp
+++ b/src/code/early-extensions.lisp
 <at>  <at>  -1645,21 +1645,17  <at>  <at>  to :INTERPRET, an interpreter will be used.")
        (file-position stream))))

 (defun stream-error-position-info (stream &optional position)
-  (declare (special sb!c::*source-info*)) ; FIXME: disentangle from compiler
-  (when (and (not position)
-             (form-tracking-stream-p stream)
(Continue reading)

Douglas Katzman | 22 Apr 03:32 2015
Picon
Picon

master: By popular demand, rename COMPILE-FILE-POSITION to -LINE

The branch "master" has been updated in SBCL:
       via  fff145335f417c66f2856c27067409d8de40d096 (commit)
      from  11df74cf5a2665e51d2a0d725f89bfb466b6fffc (commit)

- Log -----------------------------------------------------------------
commit fff145335f417c66f2856c27067409d8de40d096
Author: Douglas Katzman <dougk <at> google.com>
Date:   Tue Apr 21 20:52:50 2015 -0400

    By popular demand, rename COMPILE-FILE-POSITION to -LINE

    and make COMPILE-FILE-POSITION return character position.
---
 NEWS                                     |    3 +-
 package-data-list.lisp-expr              |    1 +
 src/compiler/target-main.lisp            |   31 +++++++++++++++++++++--------
 tests/compiler-2.impure-cload.lisp       |   12 +++++-----
 tests/data/compile-file-pos-utf16be.lisp |  Bin 0 -> 424 bytes
 tests/data/compile-file-pos.lisp         |    6 +++++
 tests/octets.pure.lisp                   |   28 +++++++++++++++++++++++++++
 7 files changed, 65 insertions(+), 16 deletions(-)

diff --git a/NEWS b/NEWS
index a03eb81..6cf565b 100644
--- a/NEWS
+++ b/NEWS
 <at>  <at>  -9,10 +9,11  <at>  <at>  changes relative to sbcl-1.2.10:
     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")).
(Continue reading)

Douglas Katzman | 22 Apr 01:24 2015
Picon
Picon

master: DEFINE-HASH-CACHE is not needed in the target.

The branch "master" has been updated in SBCL:
       via  11df74cf5a2665e51d2a0d725f89bfb466b6fffc (commit)
      from  f29079d183f3bbcda9cf27c0de65d87ad67f075b (commit)

- Log -----------------------------------------------------------------
commit 11df74cf5a2665e51d2a0d725f89bfb466b6fffc
Author: Douglas Katzman <dougk <at> google.com>
Date:   Tue Apr 21 19:23:58 2015 -0400

    DEFINE-HASH-CACHE is not needed in the target.

    And there is no DEFINE-CACHED-SYNONYM.
---
 package-data-list.lisp-expr    |    2 --
 src/code/early-extensions.lisp |    9 ++++-----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/package-data-list.lisp-expr b/package-data-list.lisp-expr
index 8287aad..22b72fa 100644
--- a/package-data-list.lisp-expr
+++ b/package-data-list.lisp-expr
 <at>  <at>  -1186,9 +1186,7  <at>  <at>  possibly temporarily, because it might be used internally."
                "*LOAD-SOURCE-DEFAULT-TYPE*" "BASE-CHAR-CODE-LIMIT"

                ;; hash caches
-               "DEFINE-HASH-CACHE"
                "DEFUN-CACHED"
-               "DEFINE-CACHED-SYNONYM"
                "DROP-ALL-HASH-CACHES"

(Continue reading)


Gmane