Page MenuHomeFreeBSD

No OneTemporary

Size
7 KB
Referenced Files
None
Subscribers
None
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index 12b01dc607d7..6426dad13f63 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -6 +6 @@ PORTNAME= sbcl
-DISTVERSION= 2.6.5
+DISTVERSION= 2.6.6
diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo
index 582c0daaf839..bd0cdd4ba722 100644
--- a/lang/sbcl/distinfo
+++ b/lang/sbcl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1780741067
-SHA256 (sbcl-2.6.5-source.tar.bz2) = 91ec75f647252ed6e6aeae9b1a13f47c7c6cfd9b68488dc69f1a6fea5accb440
-SIZE (sbcl-2.6.5-source.tar.bz2) = 8497853
+TIMESTAMP = 1783069472
+SHA256 (sbcl-2.6.6-source.tar.bz2) = a65a7a30812aaf54925d1192b9b9e810f527c79911c6000b7548105aef7da34b
+SIZE (sbcl-2.6.6-source.tar.bz2) = 8514421
diff --git a/lang/sbcl/files/patch-make-config.sh b/lang/sbcl/files/patch-make-config.sh
deleted file mode 100644
index 2b821e305daa..000000000000
--- a/lang/sbcl/files/patch-make-config.sh
+++ /dev/null
@@ -1,19 +0,0 @@
---- make-config.sh.orig
-+++ make-config.sh
-@@ -765,6 +765,16 @@
- fi
- ;;
- ppc64)
-+ # The ppc64 C calling convention is either ELFv1, which passes function
-+ # pointers as 3-word descriptors, or ELFv2, which branches to the entry
-+ # address directly. This is a property of the toolchain, independent of
-+ # endianness (ppc64le is always ELFv2; ppc64 big-endian may be either), so
-+ # ask the C compiler which ABI it targets via its _CALL_ELF predefine
-+ # (2 = ELFv2, 1 or undefined = ELFv1) and add :ppc64-elfv1 for the
-+ # descriptor ABI.
-+ if [ "`echo | ${CC:-cc} -E -dM - 2>/dev/null | grep -w _CALL_ELF | awk '{print $3}'`" != 2 ]; then
-+ printf ' :ppc64-elfv1' >> $ltf
-+ fi
- ;;
- riscv)
- if [ "$xlen" = "64" ]; then
diff --git a/lang/sbcl/files/patch-src_compiler_ppc64_c-call.lisp b/lang/sbcl/files/patch-src_compiler_ppc64_c-call.lisp
deleted file mode 100644
index 57d2e85ec47c..000000000000
--- a/lang/sbcl/files/patch-src_compiler_ppc64_c-call.lisp
+++ /dev/null
@@ -1,59 +0,0 @@
---- src/compiler/ppc64/c-call.lisp.orig
-+++ src/compiler/ppc64/c-call.lisp
-@@ -25,7 +25,7 @@
- ;;;; "The stack pointer (stored in r1) shall maintain quadword alignment."
- ;;;; (quadword = 16 bytes)
- (defconstant +stack-alignment-mask+ 15)
--(defconstant +stack-frame-size+ #+little-endian 12 #+big-endian 14)
-+(defconstant +stack-frame-size+ #-ppc64-elfv1 12 #+ppc64-elfv1 14)
-
- (defstruct arg-state
- (gpr-args 0)
-@@ -139,7 +139,7 @@
- (arg-tns (invoke-alien-type-method :arg-tn arg-type arg-state)))
- (values (make-wired-tn* 'positive-fixnum any-reg-sc-number nsp-offset)
- (let ((size (arg-state-stack-frame-size arg-state)))
-- (cond #+little-endian
-+ (cond #-ppc64-elfv1
- ((= size +stack-frame-size+)
- ;; no stack args
- 0)
-@@ -261,7 +261,7 @@
- (make-fpr (n)
- (make-random-tn (sc-or-lose 'double-reg) n)))
- (let* ((segment (make-segment))
-- #+big-endian
-+ #+ppc64-elfv1
- (function-descriptor-size 24))
- (assemble (segment 'nil)
- ;; Copy args from registers or stack to new position
-@@ -387,7 +387,7 @@
- (bug "Unknown alien floating point type: ~S" type))))))
- ;; Leave a gap for a PPC64ELF ABIv1 function descriptor,
- ;; to be filled in later relative to the SAP.
-- #+big-endian
-+ #+ppc64-elfv1
- (dotimes (k (/ function-descriptor-size 4)) ; nop is 4 bytes
- (inst nop))
- (mapc #'save-arg
-@@ -411,9 +411,9 @@
- (inst stdu stack-pointer stack-pointer (- frame-size))
-
- ;; And make the call.
-- #+little-endian
-+ #-ppc64-elfv1
- (load-address-into r0 (callback_wrapper_trampoline))
-- #+big-endian
-+ #+ppc64-elfv1
- (destructuring-bind (r2 r12) (mapcar #'make-gpr '(2 12))
- (load-address-into r12 (callback_wrapper_trampoline))
- (inst ld r0 r12 0)
-@@ -461,7 +461,7 @@
- ;; instruction of the wrapper. This assembler wrapper only
- ;; cares about the address, so leave the other descriptor
- ;; fields filled with no-op instructions.
-- #+big-endian
-+ #+ppc64-elfv1
- (setf (sap-ref-64 sap 0) (+ (sap-int sap) function-descriptor-size))
- (alien-funcall
- (extern-alien "ppc_flush_icache"
diff --git a/lang/sbcl/files/patch-src_compiler_ppc64_parms.lisp b/lang/sbcl/files/patch-src_compiler_ppc64_parms.lisp
deleted file mode 100644
index f3839b126d59..000000000000
--- a/lang/sbcl/files/patch-src_compiler_ppc64_parms.lisp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/compiler/ppc64/parms.lisp.orig
-+++ src/compiler/ppc64/parms.lisp
-@@ -80,7 +80,9 @@
- :dynamic-space-start #x1000000000)
-
- (defconstant alien-linkage-table-growth-direction :up)
--(defconstant alien-linkage-table-entry-size #+little-endian 28 #+big-endian 24)
-+;; ELFv2 uses a 7-instruction inline jump (28 bytes); the ELFv1 ABI uses
-+;; a 3-word function descriptor (24 bytes).
-+(defconstant alien-linkage-table-entry-size #-ppc64-elfv1 28 #+ppc64-elfv1 24)
-
-
- (defenum (:start 8)
diff --git a/lang/sbcl/files/patch-src_runtime_ppc-arch.c b/lang/sbcl/files/patch-src_runtime_ppc-arch.c
deleted file mode 100644
index 039a0841fb11..000000000000
--- a/lang/sbcl/files/patch-src_runtime_ppc-arch.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/runtime/ppc-arch.c.orig
-+++ src/runtime/ppc-arch.c
-@@ -616,7 +616,9 @@
- // but trick the compiler into thinking it isn't, so that it does not
- // indirect through a descriptor, but instead we get its logical address.
- if (target_addr != &call_into_c) {
--#ifdef LISP_FEATURE_LITTLE_ENDIAN
-+#ifndef LISP_FEATURE_PPC64_ELFV1
-+ /* ELFv2: no function descriptors, so the linkage entry is an inline
-+ * jump that materializes the target address in r12 and branches to it. */
- int* inst_ptr;
- unsigned long a0,a16,a32,a48;
- unsigned int inst;
-@@ -670,7 +672,7 @@
- os_flush_icache((os_vm_address_t) reloc_addr, (char*) inst_ptr - reloc_addr);
-
- #else
-- // Could use either ABI, but we're assuming v1
-+ /* ELFv1: function pointers are descriptors, as detailed below. */
- /* In the 64-bit v1 ABI, function pointers are alway passed around
- * as "function descriptors", not directly the jump target address.
- * A descriptor is 3 words:
diff --git a/lang/sbcl/files/patch-src_runtime_ppc64-assem.S b/lang/sbcl/files/patch-src_runtime_ppc64-assem.S
deleted file mode 100644
index fd5798afa5ac..000000000000
--- a/lang/sbcl/files/patch-src_runtime_ppc64-assem.S
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/runtime/ppc64-assem.S.orig
-+++ src/runtime/ppc64-assem.S
-@@ -259,7 +259,7 @@
-
- /* "When a function is entered through its global entry point,
- * register r12 contains the entry-point address." */
--#ifdef LISP_FEATURE_BIG_ENDIAN
-+#ifdef LISP_FEATURE_PPC64_ELFV1
- mfctr 11
- ld reg_CFUNC, 0(11)
- /* In the v1 64-bit ABI, a function pointer is a pointer to a
-@@ -273,6 +273,9 @@
- // ld 11, 16(11)
- mtctr reg_CFUNC
- #else
-+ /* ELFv2: the call target is the function's address itself; reg_CFUNC
-+ * is r12, which the global entry point uses to set up its own TOC.
-+ * No descriptor indirection. */
- mfctr reg_CFUNC
- #endif
- /* Into C we go. */

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jul 5, 9:14 AM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29011924
Default Alt Text
(7 KB)

Event Timeline