* 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.
#!+os-provides-dlopen
(reopen-shared-objects)
#!+linkage-table
- (update-linkage-table))
+ ;; Don't warn about undefined aliens on startup. The same core can
+ ;; reasonably be expected to work with different versions of the
+ ;; same library.
+ (handler-bind ((style-warning #'muffle-warning))
+ (update-linkage-table)))
;;; Cleanups before saving a core
#-sb-xc-host
;;; a double.
;;;
;;; gcc does:
-;;;
+;;;
;;; Excess floats stored on the stack are stored as floats.
;;;
;;; We follow gcc.
sched_yield();
}
}
-
+
#else
static void
free_thread_stack_later(struct thread *thread_to_be_cleaned_up)
(sb-ext:quit :unix-status 1)))))))
;; (nanosleep -1 0) does not fail on FreeBSD
-(let* (#-freebsd
+(let* (#-freebsd
(nanosleep-errno (progn
(sb-unix:nanosleep -1 0)
(sb-unix::get-errno)))
#!+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")
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.18.70"
+"0.9.18.71"