[slime-devel] swank-sbcl fails on FreeBSD

Hello, swank-sbcl.lisp refers to the alien "linux_no_threads_p" which does not exist on my SBCL 0.8.17 (yeah, someone should probably update the ports :-/) on FreeBSD. The following patch fixes avoids this: Regards, -- Julian Stecklina "We were not out to win over the Lisp programmers; we were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp." - Guy Steele, Java spec co-author

Julian Stecklina <der_julian@web.de> writes:
swank-sbcl.lisp refers to the alien "linux_no_threads_p" which does not exist on my SBCL 0.8.17 (yeah, someone should probably update the ports :-/) on FreeBSD. The following patch fixes avoids this:
(if (and (member :sb-thread *features*) + #+linux (not (sb-alien:extern-alien "linux_no_threads_p" sb-alien:boolean)))
Have you actually managed to build sbcl on FreeBSD with :sb-thread? Does it work? Cheers, Christophe

Christophe Rhodes <csr21@cam.ac.uk> writes:
Julian Stecklina <der_julian@web.de> writes:
swank-sbcl.lisp refers to the alien "linux_no_threads_p" which does not exist on my SBCL 0.8.17 (yeah, someone should probably update the ports :-/) on FreeBSD. The following patch fixes avoids this:
(if (and (member :sb-thread *features*) + #+linux (not (sb-alien:extern-alien "linux_no_threads_p" sb-alien:boolean)))
Have you actually managed to build sbcl on FreeBSD with :sb-thread? Does it work?
No. I just tried 0.9.2 and the runtime does not build. For more info see the sbcl mailing list. Regards, -- Julian Stecklina LISP has survived for 21 years because it is an approximate local optimum in the space of programming languages. - John McCarthy (1980)
participants (2)
-
Christophe Rhodes
-
Julian Stecklina