[cmucl-commit] [git] CMU Common Lisp branch master updated. snapshot-2013-11-11-gd669c12

Raymond Toy rtoy at common-lisp.net
Sun Dec 8 17:26:39 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  d669c129619ad3952fcabb263e307e3d48b12969 (commit)
      from  06300c812a5dfeecc9afd43d45608356f7c80dd6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d669c129619ad3952fcabb263e307e3d48b12969
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Sun Dec 8 09:26:24 2013 -0800

    Update for ppc/darwin 10.5 and gcc 4.8.
    
    o Remove -no-cpp-precomp, which isn't recognized by gcc 4.8.
    o Add -static-libgcc so lisp doesn't need to have a compatible version
      of libgcc on the target system.
    o e_rem_pio2.c doesn't have aliasing issues, so remove the compiler
      flags.

diff --git a/src/lisp/Config.ppc_darwin b/src/lisp/Config.ppc_darwin
index e999827..0902b89 100644
--- a/src/lisp/Config.ppc_darwin
+++ b/src/lisp/Config.ppc_darwin
@@ -11,12 +11,12 @@ CPPFLAGS = -I. -I$(PATH1)
 # think gcc 4 is wrong.  However, to work around this, we use /**/ to 
 # concatenate tokens which reguires the -traditional flag.
 
-# Build for OSX 10.2.8 or later.  (Is this what we want?)
+# Build for OSX 10.4 or later.  (Is this what we want?)
 OSX_VERSION=-mmacosx-version-min=10.4
 CC = gcc
 LD = ld
 NM = $(PATH1)/darwin-nm
-CPP = cpp -no-cpp-precomp
+CPP = cpp
 DEPEND_FLAGS = -MM
 
 ifdef FEATURE_LINKAGE_TABLE
@@ -34,8 +34,8 @@ ifdef FEATURE_UNICODE
 UNICODE = -DUNICODE
 endif
 
-CFLAGS = $(OSX_VERSION) -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)
-ASFLAGS = $(OSX_VERSION) -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
+CFLAGS = $(OSX_VERSION) -g -O3 -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)
+ASFLAGS = $(OSX_VERSION) -traditional -g -O3 -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
 
 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
 ASSEM_SRC = ppc-assem.S linux-stubs.S
@@ -52,10 +52,15 @@ endif
 # that the segaddr for CMUCLRO should be the READ_ONLY_SPACE_START.
 # The seg1addr should be somewhere above our spaces.  This is where
 # the C runtime code goes, I think.
-
+#
 # OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
-OS_LINK_FLAGS = $(OSX_VERSION)
+
+# gcc 4.8, (used on zombie) needs -static-libgcc so that the gcc
+# library is staticly linked into lisp so that the user doesn't need a
+# matching version of libgcc.
+OS_LINK_FLAGS = $(OSX_VERSION) -static-libgcc
 OS_LIBS = -lSystem -lc -lm
+
 #all: adjustlisp
 #adjustlisp: lisp darwin-lispadjuster
 #	./darwin-lispadjuster lisp
@@ -64,6 +69,7 @@ OS_LIBS = -lSystem -lc -lm
 
 #darwin-lispadjuster: darwin-lispadjuster.c
 
-# This has aliasing problems, so turn off aliasing.
+# According to Config.x86_common, this no longer has aliasing
+# problems, so we don't need any additional compilation options.
 e_rem_pio2.o : e_rem_pio2.c
-	$(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS)  $<
+	$(CC) -c $(CFLAGS)  $<

-----------------------------------------------------------------------

Summary of changes:
 src/lisp/Config.ppc_darwin |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list