rpms/sbcl/devel sbcl-1.0.28-optflags.patch, NONE, 1.1 sbcl-1.0.28-x86_64_ADDR_NO_RANDOMIZE-2.patch, NONE, 1.1 .cvsignore, 1.46, 1.47 sbcl.spec, 1.105, 1.106 sources, 1.47, 1.48 sbcl-1.0.16-optflags.patch, 1.1, NONE

Rex Dieter rdieter at fedoraproject.org
Sat May 2 22:38:15 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/sbcl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22446

Modified Files:
	.cvsignore sbcl.spec sources 
Added Files:
	sbcl-1.0.28-optflags.patch 
	sbcl-1.0.28-x86_64_ADDR_NO_RANDOMIZE-2.patch 
Removed Files:
	sbcl-1.0.16-optflags.patch 
Log Message:
* Thu Apr 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.0.28-1
- sbcl-1.0.28


sbcl-1.0.28-optflags.patch:

--- NEW FILE sbcl-1.0.28-optflags.patch ---
diff -up sbcl-1.0.28/contrib/asdf-module.mk.optflags sbcl-1.0.28/contrib/asdf-module.mk
--- sbcl-1.0.28/contrib/asdf-module.mk.optflags	2009-04-28 11:02:13.000000000 -0500
+++ sbcl-1.0.28/contrib/asdf-module.mk	2009-04-30 12:22:56.509637395 -0500
@@ -20,6 +20,8 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME
   CC:=$(shell cygpath -m $(shell readlink -fn $(shell which $(CC))))
 endif
 
+EXTRA_CFLAGS += $(RPM_OPT_FLAGS)
+
 export CC SBCL EXTRA_CFLAGS EXTRA_LDFLAGS
 
 all: $(EXTRA_ALL_TARGETS)
diff -up sbcl-1.0.28/src/runtime/Config.ppc-linux.optflags sbcl-1.0.28/src/runtime/Config.ppc-linux
--- sbcl-1.0.28/src/runtime/Config.ppc-linux.optflags	2006-11-19 05:26:16.000000000 -0600
+++ sbcl-1.0.28/src/runtime/Config.ppc-linux	2009-04-30 12:21:36.861636752 -0500
@@ -9,7 +9,7 @@
 # provided with absolutely no warranty. See the COPYING and CREDITS
 # files for more information.
 
-CFLAGS = -g
+CFLAGS += $(RPM_OPT_FLAGS)
 LINKFLAGS += -v -rdynamic
 NM = ./linux-nm
 
diff -up sbcl-1.0.28/src/runtime/Config.sparc-linux.optflags sbcl-1.0.28/src/runtime/Config.sparc-linux
--- sbcl-1.0.28/src/runtime/Config.sparc-linux.optflags	2005-09-16 08:26:39.000000000 -0500
+++ sbcl-1.0.28/src/runtime/Config.sparc-linux	2009-04-30 12:21:36.862636949 -0500
@@ -10,6 +10,7 @@
 # files for more information.
 
 ASFLAGS = -g -Wall
+CFLAGS += $(RPM_OPT_FLAGS)
 LINKFLAGS += -v -rdynamic
 NM = ./linux-nm
 
diff -up sbcl-1.0.28/src/runtime/Config.x86_64-linux.optflags sbcl-1.0.28/src/runtime/Config.x86_64-linux
--- sbcl-1.0.28/src/runtime/Config.x86_64-linux.optflags	2006-11-13 10:03:31.000000000 -0600
+++ sbcl-1.0.28/src/runtime/Config.x86_64-linux	2009-04-30 12:21:36.863636867 -0500
@@ -34,7 +34,7 @@ ifdef LISP_FEATURE_SB_THREAD
   OS_LIBS += -lpthread
 endif
 
-CFLAGS += -fno-omit-frame-pointer
+CFLAGS += -fno-omit-frame-pointer $(RPM_OPT_FLAGS)
 
 GC_SRC = gencgc.c
 
diff -up sbcl-1.0.28/src/runtime/Config.x86-linux.optflags sbcl-1.0.28/src/runtime/Config.x86-linux
--- sbcl-1.0.28/src/runtime/Config.x86-linux.optflags	2006-11-13 10:03:31.000000000 -0600
+++ sbcl-1.0.28/src/runtime/Config.x86-linux	2009-04-30 12:21:36.864637274 -0500
@@ -38,6 +38,8 @@ ifdef LISP_FEATURE_SB_THREAD
   OS_LIBS += -lpthread
 endif
 
+CFLAGS += $(RPM_OPT_FLAGS)
+
 GC_SRC = gencgc.c
 
 # Nothing to do for after-grovel-headers.

sbcl-1.0.28-x86_64_ADDR_NO_RANDOMIZE-2.patch:

--- NEW FILE sbcl-1.0.28-x86_64_ADDR_NO_RANDOMIZE-2.patch ---
Index: src/runtime/linux-os.c
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/runtime/linux-os.c,v
retrieving revision 1.81
diff -u -r1.81 linux-os.c
--- src/runtime/linux-os.c	22 Mar 2009 19:07:09 -0000	1.81
+++ src/runtime/linux-os.c	23 Apr 2009 15:07:45 -0000
@@ -239,7 +239,7 @@
      * Since randomization is currently implemented only on x86 kernels,
      * don't do this trick on other platforms.
      */
-#ifdef LISP_FEATURE_X86
+#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64)
     if ((major_version == 2
          /* Some old kernels will apparently lose unsupported personality flags
           * on exec() */
@@ -283,11 +283,13 @@
             fprintf(stderr, "WARNING: Couldn't re-execute SBCL with the proper personality flags (maybe /proc isn't mounted?). Trying to continue anyway.\n");
         }
     }
+#ifdef LISP_FEATURE_X86
     /* Use SSE detector.  Recent versions of Linux enable SSE support
      * on SSE capable CPUs.  */
     /* FIXME: Are there any old versions that does not support SSE?  */
     fast_bzero_pointer = fast_bzero_detect;
 #endif
+#endif
 }
 
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/devel/.cvsignore,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- .cvsignore	4 Mar 2009 18:40:54 -0000	1.46
+++ .cvsignore	2 May 2009 22:37:44 -0000	1.47
@@ -1 +1 @@
-sbcl-1.0.26-source.tar.bz2
+sbcl-1.0.28-source.tar.bz2


Index: sbcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/devel/sbcl.spec,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -p -r1.105 -r1.106
--- sbcl.spec	4 Mar 2009 18:40:54 -0000	1.105
+++ sbcl.spec	2 May 2009 22:37:44 -0000	1.106
@@ -8,11 +8,11 @@
 %define sbcl_shell /bin/bash
 
 # threading support
-%{?!_without_threads:%define _with_threads --with-threads}
+%{?!_without_threads:%global _with_threads --with-threads}
 
 Name: 	 sbcl
 Summary: Steel Bank Common Lisp
-Version: 1.0.26
+Version: 1.0.28
 Release: 1%{?dist}
 
 License: BSD
@@ -83,12 +83,16 @@ Source202: sbcl-install-clc.lisp
 
 Patch1: sbcl-1.0.25-default_sbcl_home.patch
 Patch2: sbcl-0.9.5-personality.patch
-Patch3: sbcl-1.0.16-optflags.patch
+Patch3: sbcl-1.0.28-optflags.patch
 Patch4: sbcl-0.9.17-LIB_DIR.patch
 Patch6: sbcl-0.9.5-verbose-build.patch
 # Allow override of contrib test failure(s)
 Patch7: sbcl-1.0.2-permissive.patch
 
+## upstream patches
+# use ADDR_NO_RANDOMIZE on x86_64 too
+Patch100: sbcl-1.0.28-x86_64_ADDR_NO_RANDOMIZE-2.patch
+
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 # doc generation
@@ -119,6 +123,9 @@ fi
 %{?sbcl_verbose:%patch6 -p1 -b .verbose-build}
 %patch7 -p1 -b .permissive
 
+%patch100 -p0 -b .x86_64_ADDR_NO_RANDOMIZE-2
+
+
 %if 0%{?_with_threads:1}
 ## Enable sb-thread
 %ifarch %{ix86} x86_64
@@ -250,6 +257,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Apr 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.0.28-1
+- sbcl-1.0.28
+
 * Wed Mar 04 2009 Rex Dieter <rdieter at fedoraproject.org> - 1.0.26-1
 - sbcl-1.0.26
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/sbcl/devel/sources,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- sources	4 Mar 2009 18:40:55 -0000	1.47
+++ sources	2 May 2009 22:37:44 -0000	1.48
@@ -1 +1 @@
-b3550f4aa2db031b4630129dd0995f1b  sbcl-1.0.26-source.tar.bz2
+5e1bf7a9c008badb3f8765e11ab3e410  sbcl-1.0.28-source.tar.bz2


--- sbcl-1.0.16-optflags.patch DELETED ---




More information about the scm-commits mailing list