Your message dated Wed, 04 Oct 2017 15:09:14 +0000
with message-id <e1dzliq-0007qp...@fasolo.debian.org>
and subject line Bug#877380: fixed in tbb 2017~U7-8
has caused the Debian Bug report #877380,
regarding tbb: fix __TBB_EXCEPTION_PTR_PRESENT for armel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
877380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877380
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tbb
Version: 2017~U7-6
Severity: serious
Tags: patch
Control: affects -1 src:slic3r-prusa

The latest slic3r-prusa upload FTBFS on armel:

https://buildd.debian.org/status/logs.php?pkg=slic3r-prusa&arch=armel

...
In file included from /usr/include/tbb/tbb_stddef.h:95:0,
                 from /usr/include/tbb/tbb_machine.h:117,
                 from /usr/include/tbb/atomic.h:32,
                 from 
/<<BUILDDIR>>/slic3r-prusa-1.37.1+dfsg2/xs/src/slic3r/GUI/../../libslic3r/Print.hpp:19,
                 from 
/<<BUILDDIR>>/slic3r-prusa-1.37.1+dfsg2/xs/src/slic3r/GUI/3DScene.cpp:9:
/usr/include/tbb/tbb_config.h:450:10: error: #error Current runtime does not 
support std::exception_ptr. Set TBB_USE_CAPTURED_EXCEPTION and make sure that 
your code is ready to catch tbb::captured_exception.
         #error Current runtime does not support std::exception_ptr. Set 
TBB_USE_CAPTURED_EXCEPTION and make sure that your code is ready to catch 
tbb::captured_exception.
          ^~~~~


This error is no longer correct with gcc >= 7, fix attached.

The severity might seem inflated, but this needs an RC bug
affecting slic3r-prusa somewhere.
Description: __TBB_EXCEPTION_PTR_PRESENT fix for armel
 exception_ptr in GCC >= 7 no longer requires atomic instructions.
Author: Adrian Bunk <b...@debian.org>

--- tbb-2017~U7.orig/include/tbb/tbb_config.h
+++ tbb-2017~U7/include/tbb/tbb_config.h
@@ -226,8 +226,9 @@
     #define __TBB_IMPLICIT_MOVE_PRESENT                     
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40600)
     /** __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 here is a substitution for 
_GLIBCXX_ATOMIC_BUILTINS_4, which is a prerequisite
         for exception_ptr but cannot be used in this file because it is 
defined in a header, not by the compiler.
-        If the compiler has no atomic intrinsics, the C++ library should not 
expect those as well. **/
-    #define __TBB_EXCEPTION_PTR_PRESENT                     
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40404 && 
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
+        GCC >= 7 has exception_ptr even without atomic instructions:
+        https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735#c11 **/
+    #define __TBB_EXCEPTION_PTR_PRESENT                     
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40404 && 
(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 || (__TBB_GCC_VERSION >= 70000)))
     #define __TBB_STATIC_ASSERT_PRESENT                     
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40300)
     #define __TBB_CPP11_TUPLE_PRESENT                       
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40300)
     #define __TBB_INITIALIZER_LISTS_PRESENT                 
(__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40400)

--- End Message ---
--- Begin Message ---
Source: tbb
Source-Version: 2017~U7-8

We believe that the bug you reported is fixed in the latest version of
tbb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 877...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Capper <steven.cap...@gmail.com> (supplier of updated tbb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 Oct 2017 14:46:23 +0100
Source: tbb
Binary: libtbb-dev libtbb2 libtbb2-dbg libtbb-doc tbb-examples
Architecture: source
Version: 2017~U7-8
Distribution: unstable
Urgency: medium
Maintainer: Steve Capper <steven.cap...@gmail.com>
Changed-By: Steve Capper <steven.cap...@gmail.com>
Description:
 libtbb-dev - parallelism library for C++ - development files
 libtbb-doc - parallelism library for C++ - documentation
 libtbb2    - parallelism library for C++ - runtime files
 libtbb2-dbg - parallelism library for C++ - debugging symbols
 tbb-examples - parallelism library for C++ - example files
Closes: 832104 877380
Changes:
 tbb (2017~U7-8) unstable; urgency=medium
 .
   * Remove un-aligned memory access unit test from test_malloc_pools.exe
     - This allows sparc64 to pass unit tests. Closes: #832104
 .
   [ Adrian Bunk ]
   * Advertise exception_ptr with gcc >= 7, Closes: #877380
Checksums-Sha1:
 da94d8608f6af59c943cda31883e4c86ee90bafe 2174 tbb_2017~U7-8.dsc
 2a124b249fe9a7e921afd433eedd7aa65bcf7fb4 46076 tbb_2017~U7-8.debian.tar.xz
 6944a7d6e398aa98b08a172fbe8cbf432d8f85eb 5751 tbb_2017~U7-8_source.buildinfo
Checksums-Sha256:
 0a120c83fbcc102ae337af9e43968200d8dcc2b189feb5c1b31cfa0c8a7a8dc0 2174 
tbb_2017~U7-8.dsc
 4d8054fb02d9d5686a9490fc1b6710a6c752a200b7ffdd3cf08bea9658d9b927 46076 
tbb_2017~U7-8.debian.tar.xz
 55de0fbc8ec824195dfd4cd727040a1a9996df615750ed1d8778552124d0c837 5751 
tbb_2017~U7-8_source.buildinfo
Files:
 480089a1b8a91e24ee7289a561588cd4 2174 libs extra tbb_2017~U7-8.dsc
 af8abe094ade6ea096bb7ba197158ba9 46076 libs extra tbb_2017~U7-8.debian.tar.xz
 62bcb8b0b1d9405185cf15bd41c725ea 5751 libs extra tbb_2017~U7-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEERF7ZyPtY5CNR2Sic8omBc5oW8lAFAlnU8VIYHHN0ZXZlbi5j
YXBwZXJAZ21haWwuY29tAAoJEPKJgXOaFvJQOoIP/jrOxHRheJ/ynk3hkmz1DFRp
8D3rfg3GVqJGfKENy6SLnH1sXzo1Ls/SpZtx0mO7k5AXe1oUYmODcafDO7c4ZX8k
rfWReJe5ITbF42BxfLMRUPCtcb5Gp7UzNnS/rYjIv1H5wRXWBebT5iVnv6Mqsea5
VuzLQSPy5TCHI39biSsqh374fqoB7QMFEpeV+1Y0TA5FL/wC8u+WDDb6LC98eaSV
YSY+ey/vHJL8FZWEaCuVY5+tAD8NDMg0m1goRmcAydL6/N7dQ8U78lNMQe/djhTe
5r19ZDZNwEOh2kNgy5Hz/ZEyqtGLY5wvWuNQHQyWkTOvE56j7GS25PaL0LT3EgCP
rCmslcll9fFL2MQlmK6Y76fV4JOt1AXyRUXEP1grlw1TbljfVJMn23mzsEAf+jEs
IW8WbrBTKDTbAOOdvYja4HqSxf98ee3BsNpbWhOGY3b9egRR9Ba0gcqqhUDr7gie
akt+uFC9m+RrWtdCzwMNPUnwojNK0U9uExs5xe6pW8+rEveiLe6yg7w2c/ykBEg6
7Q/x286ywalyL7vfkXtKUxQJb8ge46YLNGukdiB6QFUqIfV0wnz9Dl/k1ziOMkBK
ah52aSGvK/MRu4fr8vEO/IFIkKeWeDE2elYCHv/VNUX68ay0uZwkv+aq1XiSN/wC
0aXgIL3H5zHOJpKoXI5n
=zFgQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to