Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2464 Discussions

GCC build fails with TBB_PREVIEW_VARIADIC_PARALLEL_INVOKE=1

Evgeniy_B_
Beginner
272 Views

GCC: arm-linux-androideabi-gcc (GCC) 4.8 (Android NDK r9d)
Error: multiple definition of 'tbb::internal::get_context(tbb::task_group_context&)'

Apparently 'get_context' function's definition is missing an inline specifier (tbb/parallel_invoke.h line:204).

0 Kudos
3 Replies
Alexey-Kukanov
Employee
272 Views

Hi Evgeniy,

Thank you for the report. Yes you are right, the inline specifier is indeed missed. We will fix it in the next update.

0 Kudos
Alexey-Kukanov
Employee
272 Views

The issue is fixed in 4.3 Update 1.

0 Kudos
Evgeniy_B_
Beginner
272 Views

Great, thanks.

0 Kudos
Reply