[mingw-gcc] Update to 4.8.2 and build with C++11 std::thread support (F21+ only)
Erik van Pienbroek
epienbro at fedoraproject.org
Sat Oct 19 21:05:56 UTC 2013
commit 9dd20b96e14ea456af0b993b9f2340afb2a958c7
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Sat Oct 19 23:05:57 2013 +0200
Update to 4.8.2 and build with C++11 std::thread support (F21+ only)
.gitignore | 1 +
gcc-bug-56742-seh-uncaught-throw.patch | 61 --------------------------------
mingw-gcc.spec | 16 +++++---
sources | 2 +-
4 files changed, 12 insertions(+), 68 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2a82ebd..4fc03d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ gcc-4.5.1.tar.bz2
/gcc-4.8-20130310.tar.bz2
/gcc-4.8.0.tar.bz2
/gcc-4.8.1.tar.bz2
+/gcc-4.8.2.tar.bz2
diff --git a/mingw-gcc.spec b/mingw-gcc.spec
index 363623f..bc5ad3b 100644
--- a/mingw-gcc.spec
+++ b/mingw-gcc.spec
@@ -4,7 +4,11 @@
%global bootstrap 0
# C++11 threads requires winpthreads so this can only be enabled once winpthreads is built
+%if 0%{?fedora} >= 21
+%global enable_winpthreads 1
+%else
%global enable_winpthreads 0
+%endif
# Libgomp requires pthreads-w32 or winpthreads so this can only be
# enabled once pthreads-w32 or winpthreads is built. If enable_libgomp
@@ -27,8 +31,8 @@
%endif
Name: mingw-gcc
-Version: 4.8.1
-Release: 4%{?snapshot_date:.svn.%{snapshot_date}.r%{snapshot_rev}}%{?dist}
+Version: 4.8.2
+Release: 1%{?snapshot_date:.svn.%{snapshot_date}.r%{snapshot_rev}}%{?dist}
Summary: MinGW Windows cross-compiler (GCC) for C
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
@@ -48,9 +52,6 @@ Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56038
Patch0: gcc-make-xmmintrin-header-cplusplus-compatible.patch
-# Optimization bug which can lead to uncaught throw (SEH related)
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56742
-Patch1: gcc-bug-56742-seh-uncaught-throw.patch
BuildRequires: texinfo
BuildRequires: mingw32-filesystem >= 95
@@ -277,7 +278,6 @@ needed for OpenMP v3.0 support for the win32 target.
%setup -q -n %{source_folder}
echo 'Fedora MinGW %{version}-%{release}' > gcc/DEV-PHASE
%patch0 -p0
-%patch1 -p1
%build
@@ -702,6 +702,10 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw64_target}-%{mingw64_target}-*
%changelog
+* Sat Oct 19 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 4.8.2-1
+- Update to 4.8.2
+- Build with C++11 std::thread support (F21+ only)
+
* Fri Sep 20 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 4.8.1-4
- Rebuild against winpthreads
diff --git a/sources b/sources
index e3bb6f0..bad02c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3b2386c114cd74185aa3754b58a79304 gcc-4.8.1.tar.bz2
+a3d7d63b9cb6b6ea049469a0c4a43c9d gcc-4.8.2.tar.bz2
More information about the scm-commits
mailing list