Skip to content

Commit

Permalink
0.8.14.9:
Browse files Browse the repository at this point in the history
	fixes for build on my old Debian system...
	...added missing #!+LINKAGE-TABLE
	...converted "cd foo" to "cd ./foo" so that CDPATH-based logic
		won't helpfully announce the name of the new dir to
 		stdout (and thus into local-target-features.lisp-expr);
		then "cd ./foo > /dev/null" for overkill
	generally grepped for and changed "cd foo" to "cd ./foo" to
		reduce the amount of CDPATH ambiguity involved and
		the amount of stdout noise generated
  • Loading branch information
William Harold Newman committed Sep 10, 2004
1 parent 2759752 commit eb5265a
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 18 deletions.
8 changes: 4 additions & 4 deletions base-target-features.lisp-expr
Expand Up @@ -107,10 +107,10 @@
;; readtable configured so that the system sources can be read.
; :sb-show

;; Build SBCL with the old CMU CL low level debugger, "ldb". If
;; are aren't messing with CMU CL at a very low level (e.g.
;; trying to diagnose GC problems, or trying to debug assembly
;; code for a port to a new CPU) you shouldn't need this.
;; Build SBCL with the old CMU CL low level debugger, "ldb". If are
;; aren't messing with SBCL at a very low level (e.g., trying to
;; diagnose GC problems, or trying to debug assembly code for a port
;; to a new CPU) you shouldn't need this.
; :sb-ldb

;; This isn't really a target Lisp feature at all, but controls
Expand Down
6 changes: 3 additions & 3 deletions clean.sh
Expand Up @@ -29,14 +29,14 @@ find_gnumake
# Ask some other directories to clean themselves up.
original_pwd=`pwd`
for d in tools-for-build; do
cd $d > /dev/null
cd ./$d > /dev/null
# I hope the -s option is standard. At least GNU make and BSD make
# support it. It silences make, since otherwise the output from
# this script is just the operations done by these make's, which
# is misleading when this script does lotso other operations too.
# -- WHN
$GNUMAKE -I ../src/runtime -s clean
cd $original_pwd > /dev/null
cd $original_pwd > /dev/null
done

# Within all directories, remove things which don't look like source
Expand Down Expand Up @@ -111,4 +111,4 @@ find . \( \
-name 'test-passed' -o \
-name 'local-target-features.lisp-expr' \) -print | xargs rm -f

cd doc && sh ./clean.sh
cd ./doc && sh ./clean.sh
4 changes: 2 additions & 2 deletions make-config.sh
Expand Up @@ -58,7 +58,7 @@ printf ":%s" "$sbcl_arch" >> $ltf
for d in src/compiler src/assembly; do
echo //setting up symlink $d/target
original_dir=`pwd`
cd $d
cd ./$d
if [ -h target ] ; then
rm target
elif [ -w target ] ; then
Expand All @@ -85,7 +85,7 @@ ln -s ../assembly src/compiler/assembly

echo //setting up OS-dependent information
original_dir=`pwd`
cd src/runtime/
cd ./src/runtime/
rm -f Config target-arch-os.h target-arch.h target-os.h target-lispregs.h
# KLUDGE: these two logically belong in the previous section
# ("architecture-dependent"); it seems silly to enforce this in terms
Expand Down
6 changes: 3 additions & 3 deletions make-target-1.sh
Expand Up @@ -23,21 +23,21 @@ echo //entering make-target-1.sh
# could come either before or after running the cross compiler; that
# doesn't matter.)
echo //building runtime system and symbol table file
cd src/runtime
cd ./src/runtime
$GNUMAKE clean || exit 1
$GNUMAKE depend || exit 1
$GNUMAKE all || exit 1
cd ../..

# Use a little C program to grab stuff from the C header files and
# smash it into Lisp source code.
cd tools-for-build
cd ./tools-for-build
$GNUMAKE -I../src/runtime grovel-headers || exit 1
cd ..
tools-for-build/grovel-headers > output/stuff-groveled-from-headers.lisp

# after-grovel-headers may not exist for all platforms (used for
# Darwin hacks)
cd src/runtime
cd ./src/runtime
$GNUMAKE after-grovel-headers || true
cd ..
4 changes: 3 additions & 1 deletion src/compiler/generic/genesis.lisp
Expand Up @@ -156,7 +156,7 @@
bigvec)

;;;; looking up bytes and multi-byte values in a BIGVEC (considering
;;;; it as an image of machine memory)
;;;; it as an image of machine memory on the cross-compilation target)

;;; BVREF-32 and friends. These are like SAP-REF-n, except that
;;; instead of a SAP we use a BIGVEC.
Expand Down Expand Up @@ -2489,6 +2489,7 @@
(do-cold-fixup code-object offset value kind))
code-object))

#!+linkage-table
(define-cold-fop (fop-foreign-dataref-fixup)
(let* ((kind (pop-stack))
(code-object (pop-stack))
Expand Down Expand Up @@ -2566,6 +2567,7 @@
(format t "/*~%")
(dolist (line
'("This is a machine-generated file. Please do not edit it by hand."
"(As of sbcl-0.8.14, it came from WRITE-CONFIG-H in genesis.lisp.)"
""
"This file contains low-level information about the"
"internals of a particular version and configuration"
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/x86-arch.h
Expand Up @@ -5,11 +5,11 @@
#ifndef _X86_ARCH_H
#define _X86_ARCH_H
#ifndef SBCL_GENESIS_CONFIG
#error genesis/config.h (or sbcl.h) must be incuded before this file
#error genesis/config.h (or sbcl.h) must be included before this file
#endif

#ifndef SBCL_GENESIS_CONFIG
#error genesis/config.h (or sbcl.h) must be incuded before this file
#error genesis/config.h (or sbcl.h) must be included before this file
#endif

#define ARCH_HAS_STACK_POINTER
Expand Down
2 changes: 1 addition & 1 deletion tools-for-build/grovel-features.sh
@@ -1,5 +1,5 @@
# Automated platform feature testing
cd tools-for-build
cd ./tools-for-build > /dev/null

# FIXME: Use this to test for dlopen presence and hence
# load-shared-object buildability
Expand Down
2 changes: 1 addition & 1 deletion tools-for-build/sparc-funcdef.sh
@@ -1,4 +1,4 @@
cd tools-for-build
cd ./tools-for-build

TMP=sparc-funcdef.S

Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; 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.8.14.8"
"0.8.14.9"

0 comments on commit eb5265a

Please sign in to comment.