misc/123250: [PATCH] lang/sbcl: add lutex support
bf
bf2006a at yahoo.com
Wed Apr 30 08:10:02 UTC 2008
>Number: 123250
>Category: misc
>Synopsis: [PATCH] lang/sbcl: add lutex support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 30 08:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 7-STABLE i386
>Organization:
-
>Environment:
>Description:
.. , enable memory usage limits on bootstrap, re-add distinfo on x86-64 binary, and sort pkg-plist. New boostrap binaries should be made for i386 and x86-64, and sent upstream to Sourceforge (they stopped making them at version 1.0.6 for FreeBSD, although they've continued for Linux), or hosted on our servers, especially if we are going to discontinue support for FreeBSD 5.x in ports after it's upcoming security end-of-life (in which case we'd then make binaries for 6.x and switch the build dependency to compat 6.x).
b.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN sbcl.orig/Makefile sbcl/Makefile
--- sbcl.orig/Makefile 2008-04-29 21:55:54.000000000 -0400
+++ sbcl/Makefile 2008-04-12 23:24:12.827020000 -0400
@@ -2,7 +2,7 @@
# Date created: 2002-11-26
# Whom: des
#
-# $FreeBSD: ports/lang/sbcl/Makefile,v 1.57 2008/04/30 01:55:54 edwin Exp $
+# $FreeBSD: ports/lang/sbcl/Makefile,v 1.55 2008/03/19 12:47:18 lippe Exp $
#
PORTNAME= sbcl
@@ -48,7 +48,10 @@
BOOT_ARCH_OS_LIST= x86-freebsd x86-64-freebsd
.elif ${ARCH} == "i386"
BOOT_ARCH_OS_LIST= x86-freebsd
-LISP_EXTRA_ARG= --dynamic-space-size 512
+#users may set the following variable (the MB of memory to be reserved for the bootstrap
+#on startup) to an appropriate value, which may be useful on low-memory systems
+MEMORY?= 512
+LISP_EXTRA_ARG= --dynamic-space-size ${MEMORY}
.elif ${ARCH} == "amd64"
BOOT_ARCH_OS_LIST= x86-64-freebsd
LISP_EXTRA_ARG=
diff -ruN sbcl.orig/distinfo sbcl/distinfo
--- sbcl.orig/distinfo 2008-04-29 21:55:54.000000000 -0400
+++ sbcl/distinfo 2008-04-12 23:30:15.847815000 -0400
@@ -4,3 +4,6 @@
MD5 (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 5bab7372003ae385d436bec88443c897
SHA256 (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 0e6a0befbbd5da42a02a8d280836814433f544d57b2b425291b03afa37f1f6f5
SIZE (sbcl-1.0.6-x86-freebsd-binary.tar.bz2) = 7860437
+MD5 (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 1b4aa3a600a1ce2d00dfebd73a5f00ed
+SHA256 (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 154277a45531c60294c03d93b2f6509bd622f863f10c65cd079ee3f007a92de0
+SIZE (sbcl-1.0.6-x86-64-freebsd-binary.tar.bz2) = 7634730
diff -ruN sbcl.orig/files/customize-target-features.lisp sbcl/files/customize-target-features.lisp
--- sbcl.orig/files/customize-target-features.lisp 2006-12-01 19:20:41.000000000 -0500
+++ sbcl/files/customize-target-features.lisp 2008-03-21 16:34:24.807778000 -0400
@@ -4,4 +4,5 @@
(disable (x)
(setf features (remove x features))))
(enable :sb-thread)
+ (enable :sb-lutex)
features))
diff -ruN sbcl.orig/pkg-plist sbcl/pkg-plist
--- sbcl.orig/pkg-plist 2008-04-23 16:37:58.000000000 -0400
+++ sbcl/pkg-plist 2008-03-21 18:33:21.156494000 -0400
@@ -84,20 +84,20 @@
lib/sbcl/sb-cltl2/tests.lisp
lib/sbcl/sb-cover/.cvsignore
lib/sbcl/sb-cover/Makefile
+lib/sbcl/sb-cover/cover.fasl
lib/sbcl/sb-cover/cover.lisp
lib/sbcl/sb-cover/sb-cover.asd
-lib/sbcl/sb-cover/sb-cover.texinfo
-lib/sbcl/sb-cover/test-data-1.lisp
-lib/sbcl/sb-cover/test-data-2.lisp
-lib/sbcl/sb-cover/tests.lisp
-lib/sbcl/sb-cover/cover.fasl
-lib/sbcl/sb-cover/tests.fasl
lib/sbcl/sb-cover/sb-cover.fasl
+lib/sbcl/sb-cover/sb-cover.texinfo
lib/sbcl/sb-cover/test-data-1.fasl
+lib/sbcl/sb-cover/test-data-1.lisp
lib/sbcl/sb-cover/test-data-2.fasl
+lib/sbcl/sb-cover/test-data-2.lisp
lib/sbcl/sb-cover/test-data-3.fasl
lib/sbcl/sb-cover/test-data-3.lisp
lib/sbcl/sb-cover/test-passed
+lib/sbcl/sb-cover/tests.fasl
+lib/sbcl/sb-cover/tests.lisp
lib/sbcl/sb-executable/sb-executable.fasl
lib/sbcl/sb-grovel/.cvsignore
lib/sbcl/sb-grovel/Makefile
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list