[packages/crossmingw32-boost] - missing patch

qboosh qboosh at pld-linux.org
Wed Sep 8 18:50:18 CEST 2021


commit 074e24a699a482f1119d496711467b79fc411e9d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Sep 8 18:54:50 2021 +0200

    - missing patch

 boost-allow-mingw32-thread-local.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/boost-allow-mingw32-thread-local.patch b/boost-allow-mingw32-thread-local.patch
new file mode 100644
index 0000000..03d9f03
--- /dev/null
+++ b/boost-allow-mingw32-thread-local.patch
@@ -0,0 +1,13 @@
+Bug has been fixed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562
+probably after 7.5.0, but gcc 7.5.0+original mingw32 implementation seems not affected.
+--- boost_1_76_0/boost/config/compiler/gcc.hpp.orig	2021-04-13 18:21:39.000000000 +0200
++++ boost_1_76_0/boost/config/compiler/gcc.hpp	2021-09-08 18:02:35.766161179 +0200
+@@ -323,7 +323,7 @@
+ #  define BOOST_FALLTHROUGH __attribute__((fallthrough))
+ #endif
+ 
+-#if defined(__MINGW32__) && !defined(__MINGW64__)
++#if (defined(__MINGW32__) && !defined(__MINGW64__)) && (BOOST_GCC_VERSION < 70500)
+ // Currently (March 2019) thread_local is broken on mingw for all current 32bit compiler releases, see
+ // https://sourceforge.net/p/mingw-w64/bugs/527/
+ // Not setting this causes program termination on thread exit.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-boost.git/commitdiff/074e24a699a482f1119d496711467b79fc411e9d



More information about the pld-cvs-commit mailing list