TBB link issue on centos 6

Environment

Centos 6

Description

There is an issue with linking libtbb.so.2 with libroxiemem.so on centos 6 builds.

../../Release/libs/libroxiemem.so: undefined reference to `tbb::interface5::internal::task_base::destroy(tbb::task&)'
collect2: error: ld returned 1 exit status

task::destroy(task::task&) is present in src/old/task_v2.cpp and maps back to task_base::destroy.

task_base::destroy() is visible in the shared object file
000000000001c480 T tbb::interface5::internal::task_base::destroy(tbb::task&)

Conclusion

None

Activity

Show:

Mark Kelly April 27, 2017 at 5:14 PM

The libtbb.so.2 needs to be used in the link or else incorrectly the system installed libtbb would be used, and on CentOS 6 this would be an older version libtbb which did not have this symbol.

Michael Gardner April 24, 2017 at 6:58 PM

Current workaround is to not build TBB or TBBMALLOC on centos 6. Forwarding to for further investigation.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Affects versions

Created April 24, 2017 at 6:57 PM
Updated April 29, 2017 at 5:28 AM
Resolved April 29, 2017 at 5:28 AM