Add an explicit -fPIC to the gcc options for building a shared
library for x86-64 in threads.impure.lisp, as apparently required
for some versions of gcc. (thanks to Marco Monteiro)
(format o "void loop_forever() { while(1) ; }~%"))
(sb-ext:run-program
#-sunos "cc" #+sunos "gcc"
- (or #+(or linux freebsd sunos) '("-shared" "-o" "threads-foreign.so" "threads-foreign.c")
+ (or #+(or linux freebsd sunos) '(#+x86-64 "-fPIC"
+ "-shared" "-o" "threads-foreign.so" "threads-foreign.c")
#+darwin '("-dynamiclib" "-o" "threads-foreign.so" "threads-foreign.c")
(error "Missing shared library compilation options for this platform"))
:search t)
;;; 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.13.36"
+"0.9.13.37"