[mesa/f15/master] Build without -fno-omit-frame-pointer to avoid gcc 4.6.0 issue

Jerome Glisse glisse at fedoraproject.org
Wed Feb 23 21:44:24 UTC 2011


commit 361cf9fbbe69c2e73d2b0e416609b114c393b4a6
Author: Jerome Glisse <jglisse at redhat.com>
Date:   Wed Feb 23 16:43:59 2011 -0500

    Build without -fno-omit-frame-pointer to avoid gcc 4.6.0 issue

 mesa.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/mesa.spec b/mesa.spec
index 56d1454..eba38a6 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -15,7 +15,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.10
-Release: 0.26%{?dist}
+Release: 0.27%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -231,8 +231,8 @@ Requires: Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires vide
 
 autoreconf --install  
 
-export CFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer"
-export CXXFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer"
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
 %ifarch %{ix86}
 # i do not have words for how much the assembly dispatch code infuriates me
 %define common_flags --enable-selinux --enable-pic --enable-udev --disable-asm
@@ -473,6 +473,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libOSMesa.so
 
 %changelog
+* Wed Feb 23 2011 Jerome Glisse <jglisse at redhat.com> 7.10-0.27
+- Build without -fno-omit-frame-pointer as gcc 4.6.0 seems to lead to
+  bogus code with that option (#679924)
+
 * Wed Feb 09 2011 Adam Jackson <ajax at redhat.com> 7.10-0.26
 - BuildRequires: libdrm >= 2.4.24-0 (#668363)
 


More information about the scm-commits mailing list