rpms/kdelibs/devel kdelibs-4.2.0-kjs-gcc44-crash.patch, 1.1, 1.2 kdelibs.spec, 1.439, 1.440

Kevin Kofler kkofler at fedoraproject.org
Wed Feb 18 18:49:39 UTC 2009


Author: kkofler

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

Modified Files:
	kdelibs-4.2.0-kjs-gcc44-crash.patch kdelibs.spec 
Log Message:
Add -fno-strict-aliasing at CMake level, the GCC #pragma seems to have no effect.

kdelibs-4.2.0-kjs-gcc44-crash.patch:

Index: kdelibs-4.2.0-kjs-gcc44-crash.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs-4.2.0-kjs-gcc44-crash.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kdelibs-4.2.0-kjs-gcc44-crash.patch	18 Feb 2009 17:17:41 -0000	1.1
+++ kdelibs-4.2.0-kjs-gcc44-crash.patch	18 Feb 2009 18:49:38 -0000	1.2
@@ -1,14 +1,12 @@
-diff -ur kdelibs-4.2.0/kjs/dtoa.cpp kdelibs-4.2.0-kjs-gcc44-crash/kjs/dtoa.cpp
---- kdelibs-4.2.0/kjs/dtoa.cpp	2008-05-21 13:06:47.000000000 +0200
-+++ kdelibs-4.2.0-kjs-gcc44-crash/kjs/dtoa.cpp	2009-02-18 17:45:52.000000000 +0100
-@@ -169,6 +169,10 @@
-  *	the result overflows to +-Infinity or underflows to 0.
-  */
+diff -ur kdelibs-4.2.0/kjs/CMakeLists.txt kdelibs-4.2.0-kjs-gcc44-crash/kjs/CMakeLists.txt
+--- kdelibs-4.2.0/kjs/CMakeLists.txt	2008-11-19 11:20:10.000000000 +0100
++++ kdelibs-4.2.0-kjs-gcc44-crash/kjs/CMakeLists.txt	2009-02-18 19:43:20.000000000 +0100
+@@ -183,6 +183,8 @@
+    CompileState.cpp
+    )
  
-+#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
-+#pragma GCC optimize("no-strict-aliasing")
-+#endif
++set_source_files_properties(dtoa.cpp PROPERTIES COMPILE_FLAGS -fno-strict-aliasing)
 +
- #include "dtoa.h"
- #include <config.h>
- 
+ if (NOT DEFINED QT_ONLY)
+    set(KJSLIBNAME kjs)
+ else (NOT DEFINED QT_ONLY)


Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.439
retrieving revision 1.440
diff -u -r1.439 -r1.440
--- kdelibs.spec	18 Feb 2009 17:41:56 -0000	1.439
+++ kdelibs.spec	18 Feb 2009 18:49:38 -0000	1.440
@@ -1,6 +1,6 @@
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.2.0
-Release: 12%{?dist}
+Release: 13%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -79,7 +79,7 @@
 Patch20: kdelibs-4.1.70-cmake.patch
 Patch22: kdelibs-4.1.96-cmake.patch
 Patch23: kdelibs-4.2.0-gcc44-workaround.patch
-# disable strict aliasing in kjs/dtoa.cpp for GCC 4.4 (#485968)
+# disable strict aliasing in kjs/dtoa.cpp (GCC 4.4 x86_64 crash) (#485968)
 Patch24: kdelibs-4.2.0-kjs-gcc44-crash.patch
 
 # upstream
@@ -398,8 +398,8 @@
 
 
 %changelog
-* Wed Feb 18 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.0-12
-- disable strict aliasing in kjs/dtoa.cpp for GCC 4.4 (#485968)
+* Wed Feb 18 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.0-13
+- disable strict aliasing in kjs/dtoa.cpp (GCC 4.4 x86_64 crash) (#485968)
 
 * Thu Feb 12 2009 Than Ngo <than at redhat.com> - 4.2.0-11
 - make plasma working better with qt4.5




More information about the fedora-extras-commits mailing list