Project

General

Profile

Actions

tickets #114757

open

Fix missing declaration at tbb

Added by AdaLovelace over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-07-27
Due date:
% Done:

0%

Estimated time:

Description

Tbb is failing on s390x:
https://build.opensuse.org/package/show/openSUSE:Factory:zSystems/tbb

[ 106s] In file included from /home/abuild/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/tools_api/ittnotify_static.c:17,
[ 106s] from /home/abuild/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/itt_notify.cpp:43:
[ 106s] /home/abuild/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/tools_api/ittnotify_config.h: In function 'long int itt_interlocked_increment(volatile long int*)':
[ 106s] /home/abuild/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/tools_api/ittnotify_config.h:348:12: error: '
TBB_machine_fetchadd4' was not declared in this scope
[ 106s] 348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
[ 106s] | ~~~~~~~~~~~~~~~~~~~~~~
[ 106s] compilation terminated due to -Wfatal-errors.

1) osc co devel:libraries:c_c++/tbb
2) open the archive and declare '__TBB_machine_fetchadd4' in 'long int __itt_interlocked_increment(volatile long int*)' of file src/tbb/tools_api/ittnotify_config.h
3) Create a patch
4) osc commit

Actions #1

Updated by AdaLovelace over 1 year ago

  • Tags changed from packaging to packaging, Good First Issue
Actions

Also available in: Atom PDF