epienbro pushed to mingw-gcc (master). "Export additional symbols needed to resolve boost build failure with GCC 5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Jun 11 20:05:50 UTC 2015
From 02613ec437791aa67b5ed7d085db82f5ec11f70e Mon Sep 17 00:00:00 2001
From: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Thu, 11 Jun 2015 21:02:18 +0200
Subject: Export additional symbols needed to resolve boost build failure with
GCC 5
diff --git a/gcc-bug-66030.patch b/gcc-bug-66030.patch
new file mode 100644
index 0000000..269abc7
--- /dev/null
+++ b/gcc-bug-66030.patch
@@ -0,0 +1,25 @@
+--- trunk/libstdc++-v3/config/abi/pre/gnu.ver 2015/06/09 08:33:07 224272
++++ trunk/libstdc++-v3/config/abi/pre/gnu.ver 2015/06/09 08:50:00 224273
+@@ -542,6 +542,9 @@
+ # std::codecvt_byname
+ _ZNSt14codecvt_bynameI[cw]c11__mbstate_tEC[12]EPKc[jmy];
+ _ZNSt14codecvt_bynameI[cw]c11__mbstate_tED*;
++#if defined (_WIN32) && !defined (__CYGWIN__)
++ _ZNSt14codecvt_bynameI[cw]ciE[CD]*;
++#endif
+
+ # std::collate
+ _ZNSt7collateI[cw]*;
+@@ -1821,9 +1824,9 @@
+ _ZNKSt8time_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE6do_getES3_S3_RSt8ios_baseRSt12_Ios_IostateP2tmcc;
+
+ # codecvt<char16_t, char, mbstate_t>, codecvt<char32_t, char, mbstate_t>
+- _ZNKSt7codecvtID[is]c11__mbstate_t*;
+- _ZNSt7codecvtID[is]c11__mbstate_t*;
+- _ZT[ISV]St7codecvtID[is]c11__mbstate_tE;
++ _ZNKSt7codecvtID[is]c*;
++ _ZNSt7codecvtID[is]c*;
++ _ZT[ISV]St7codecvtID[is]c*E;
+
+ extern "C++"
+ {
diff --git a/mingw-gcc.spec b/mingw-gcc.spec
index 1590aef..ca1cbeb 100644
--- a/mingw-gcc.spec
+++ b/mingw-gcc.spec
@@ -32,7 +32,7 @@
Name: mingw-gcc
Version: 5.1.0
-Release: 1%{?snapshot_date:.svn.%{snapshot_date}.r%{snapshot_rev}}%{?dist}
+Release: 2%{?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
@@ -44,6 +44,10 @@ Source0: ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/5-%{snapshot_d
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2
%endif
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66030
+# https://bugzilla.redhat.com/show_bug.cgi?id=1218290
+Patch0: gcc-bug-66030.patch
+
BuildRequires: texinfo
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw64-filesystem >= 95
@@ -272,6 +276,7 @@ needed for OpenMP v3.0 support for the win32 target.
%prep
%setup -q -n %{source_folder}
echo 'Fedora MinGW %{version}-%{release}' > gcc/DEV-PHASE
+%patch0 -p1
%build
@@ -730,6 +735,10 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw64_target}-%{mingw64_target}-*
%changelog
+* Thu Jun 11 2015 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.0-2
+- Export additional symbols needed to resolve boost build failure with GCC 5
+- Resolves RHBZ #1218290, GCC #66030
+
* Fri Apr 24 2015 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.0-1
- Update to 5.1.0
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/mingw-gcc.git/commit/?h=master&id=02613ec437791aa67b5ed7d085db82f5ec11f70e
More information about the scm-commits
mailing list