]> git.pld-linux.org Git - packages/crossmingw32-boost.git/commitdiff
- missing patch
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Sep 2021 16:54:50 +0000 (18:54 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Sep 2021 16:54:50 +0000 (18:54 +0200)
boost-allow-mingw32-thread-local.patch [new file with mode: 0644]

diff --git a/boost-allow-mingw32-thread-local.patch b/boost-allow-mingw32-thread-local.patch
new file mode 100644 (file)
index 0000000..03d9f03
--- /dev/null
@@ -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.
This page took 0.120648 seconds and 4 git commands to generate.