-elif [ "$sbcl_arch" = "ppc" -a "$sbcl_os" = "linux" ]; then
- # Use a C program to detect which kind of glibc we're building on,
- # to bandage across the break in source compatibility between
- # versions 2.3.1 and 2.3.2
- #
- # FIXME: integrate to grovel-features, mayhaps
- printf ' :gencgc :stack-allocatable-closures :linkage-table' >> $ltf
- $GNUMAKE -C tools-for-build where-is-mcontext -I ../src/runtime
- tools-for-build/where-is-mcontext > src/runtime/ppc-linux-mcontext.h || (echo "error running where-is-mcontext"; exit 1)
-elif [ "$sbcl_arch" = "ppc" -a "$sbcl_os" = "darwin" ]; then
- printf ' :gencgc :stack-allocatable-closures' >> $ltf
- # We provide a dlopen shim, so a little lie won't hurt
- printf " :os-provides-dlopen :linkage-table :alien-callbacks" >> $ltf
- # The default stack ulimit under darwin is too small to run PURIFY.
- # Best we can do is complain and exit at this stage
- if [ "`ulimit -s`" = "512" ]; then
- echo "Your stack size limit is too small to build SBCL."
- echo "See the limit(1) or ulimit(1) commands and the README file."
- exit 1
+elif [ "$sbcl_arch" = "ppc" ]; then
+ printf ' :gencgc :stack-allocatable-closures :stack-allocatable-lists' >> $ltf
+ printf ' :linkage-table :raw-instance-init-vops :memory-barrier-vops' >> $ltf
+ printf ' :compare-and-swap-vops' >> $ltf
+ if [ "$sbcl_os" = "linux" ]; then
+ # Use a C program to detect which kind of glibc we're building on,
+ # to bandage across the break in source compatibility between
+ # versions 2.3.1 and 2.3.2
+ #
+ # FIXME: integrate to grovel-features, mayhaps
+ $GNUMAKE -C tools-for-build where-is-mcontext -I ../src/runtime
+ tools-for-build/where-is-mcontext > src/runtime/ppc-linux-mcontext.h || (echo "error running where-is-mcontext"; exit 1)
+ elif [ "$sbcl_os" = "darwin" ]; then
+ # We provide a dlopen shim, so a little lie won't hurt
+ printf " :os-provides-dlopen :alien-callbacks" >> $ltf
+ # The default stack ulimit under darwin is too small to run PURIFY.
+ # Best we can do is complain and exit at this stage
+ if [ "`ulimit -s`" = "512" ]; then
+ echo "Your stack size limit is too small to build SBCL."
+ echo "See the limit(1) or ulimit(1) commands and the README file."
+ exit 1
+ fi