Enable tbb package on Ubuntu 16.04 LTS

Bug #1666515 reported by bugproxy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Undecided
Unassigned
tbb (Ubuntu)
Fix Released
Undecided
Skipper Bug Screeners
Yakkety
Fix Released
Undecided
Unassigned
Zesty
Fix Released
Undecided
Skipper Bug Screeners

Bug Description

tbb package is available since Yaketty 16.10..
As mentioned here https://launchpad.net/ubuntu/+source/tbb

Potential customer case requires this package also compile on s390x for Xenial.
=========================================================
Changes (w.r.t. Intel TBB 4.4 Update 2):
=========================================================
- Modified parallel_sort to not require a default constructor for values
??? and to use iter_swap() for value swapping.
- Added support for creating or initializing a task_arena instance that
??? is connected to the arena currently used by the thread.
- graph/binpack example modified to use multifunction_node.
- For performance analysis, use Intel(R) VTune(TM) Amplifier XE 2015
??? and higher; older versions are no longer supported.
- Improved support for compilation with disabled RTTI, by omitting its use
??? in auxiliary code, such as assertions. However some functionality,
??? particularly the flow graph, does not work if RTTI is disabled.
- The tachyon example for Android* can be built using Android Studio 1.5
??? and higher with experimental Gradle plugin 0.4.0.
Preview Features:
- Added class opencl_subbufer that allows using OpenCL* sub-buffer
??? objects with opencl_node.
- Class global_control supports the value of 1 for
??? max_allowed_parallelism.
Bugs fixed:
- Fixed a race causing "TBB Warning: setaffinity syscall failed" message.
- Fixed a compilation issue on OS X* with Intel(R) C++ Compiler 15.0.
- Fixed a bug in queuing_rw_mutex::downgrade() that could temporarily
??? block new readers.
- Fixed speculative_spin_rw_mutex to stop using the lazy subscription
??? technique due to its known flaws.
- Fixed memory leaks in the tool support code.

=========================================================
Changes (w.r.t. Intel TBB 4.4 Update 3):
=========================================================
- Removed a few cases of excessive user data copying in the flow graph.
- Improved robustness of concurrent_bounded_queue::abort() in case of
? ? simultaneous push and pop operations.
Preview Features:
- Added tbb::flow::async_msg, a special message type to support
? ? communications between the flow graph and external asynchronous
? ? activities.
- async_node modified to support use with C++03 compilers.
Bugs fixed:
- Fixed a bug in dynamic memory allocation replacement for Windows* OS.
- Fixed excessive memory consumption on Linux* OS caused by enabling
? ? zero-copy realloc.
- Fixed performance regression on Intel(R) Xeon Phi(tm) coprocessor with
? ? auto_partitioner.

=========================================================
Changes (w.r.t. Intel TBB 4.4 Update 4):
=========================================================
- Modified graph/fgbzip2 example to remove unnecessary data queuing.
Preview Features:
- Added a Python* module which is able to replace Python's thread pool?
? ? class with the implementation based on Intel TBB task scheduler.
Bugs fixed:
- Fixed the implementation of 64-bit tbb::atomic for IA-32 architecture
? ? to work correctly with GCC 5.2 in C++11/14 mode.
- Fixed a possible crash when tasks with affinity (e.g. specified via
? ? affinity_partitioner) are used simultaneously with task priority
? ? changes.
You can download Intel TBB 4.4 update 5 from open source site.

=========================================================
After inclusion of these mentioned fixes, it runs on Yaketty..!

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-151874 severity-high targetmilestone-inin16041
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → tbb (Ubuntu)
Frank Heimes (fheimes)
tags: added: s390x
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Which software is it required by? And which client? Clients should raise issues via their Ubuntu Advantage portal.

tbb is an unsupported package in universe. Version that was available at the time xenial was released failed to build from source on s390x. See the build log at: https://launchpadlibrarian.net/254751878/buildlog_ubuntu-xenial-s390x.tbb_4.4~20151115-0ubuntu3_BUILDING.txt.gz

Yakkety ships new upstream version, which is unsuitable for Stable Release Update:
 1493 files changed, 31757 insertions(+), 36640 deletions(-)

If IBM engineering identifies minimal patch to compile tbb as shipped in Xenial, a targetted fix may be sponsored if it compiles with the Stable Release Updates requirements https://wiki.ubuntu.com/StableReleaseUpdates

Changed in tbb (Ubuntu Zesty):
status: New → Fix Released
Changed in tbb (Ubuntu Yakkety):
status: New → Fix Released
Changed in tbb (Ubuntu Xenial):
status: New → Incomplete
assignee: nobody → bugproxy (bugproxy)
importance: Undecided → Wishlist
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Looking into this a bit more:
* upstream makefiles don't support compilation for s390x
* cherrypicking debian patch for s390x makefile makes the build go further
* the testsuite is linked with .exe extensions which is a bit weird, but probably harmless
* after the testsuite compiles it fails to execute with illegal instructions

Bringing up 20151115 on s390x probably will be non-trivial. I suggest to use Ubuntu 16.10 or later with tbb 20160526 or better.

When did s390x support land upstream?

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-02-22 05:54 EDT-------
@XNOX: IBM will check again with the customer, which packages are required on which level of Ubuntu. Leave this bugzilla open. More information will follow, after receiving this information.

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-04-12 08:34 EDT-------
IBM Bugzilla status -> closed. This request is terminated. If a real customer need will come up in the future for 16.04 LTS, a new bugzilla will be launched.

no longer affects: tbb (Ubuntu Xenial)
Changed in ubuntu-z-systems:
status: Incomplete → Fix Released
Frank Heimes (fheimes)
tags: added: universe
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.