sbcl-commits

Update of /cvsroot/sbcl/sbcl/tools-for-build
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6759/tools-for-build
Modified Files:
ldso-stubs.lisp
Log Message:
0.9.18.71: fix build on Darwin 7.9.0 (OS X 10.3)
* Unix98 pty api not supported here: don't add the ldso-stubs for it.
(Not needed in the presence of linkage-table anyways. After 1.0 the
conditionalization should be changed to :linkage-table.)
* ...which still leaves us with the alien definitions. They are
harmless even if the Unix98 api is not supported, as the code path
where they live is executed only if we can open /dev/ptmx. They
will, howver, cause undefined alien style-warnings on startup.
Since we presumably want to try to keep the same core working on
both older and newer Darwins, we must detect its support at
runtime.
So just muffle undefined alien style warnings from the linkage
table at startup -- presumably user-code can face similar
situations, so this is probably TRT anyways.
* Whitespace damage.
This commit message is longer then the patch.
Index: ldso-stubs.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/tools-for-build/ldso-stubs.lisp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ldso-stubs.lisp 15 Nov 2006 16:31:00 -0000 1.12
+++ ldso-stubs.lisp 23 Nov 2006 15:11:27 -0000 1.13
@@ -285,7 +285,11 @@
#!+alpha
'("ieee_get_fp_control"
"ieee_set_fp_control")
- #!-win32
+ ;; FIXME: After 1.0 this should be made
+ ;; #!-linkage-table, as we only need these stubs if
+ ;; we don't have linkage-table. Done this way now to
+ ;; cut down on the number of ports affected.
+ #!-(or win32 darwin)
'("ptsname"
"grantpt"
"unlockpt")