You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /<>/third-party/tbb/src/tbb/tools_api/ittnotify_static.c:17,
from /<>/third-party/tbb/src/tbb/itt_notify.cpp:43:
/<>/third-party/tbb/src/tbb/tools_api/ittnotify_config.h: In function ‘long int __itt_interlocked_increment(volatile long int*)’:
/<>/third-party/tbb/src/tbb/tools_api/ittnotify_config.h:348:12: error: ‘__TBB_machine_fetchadd4’ was not declared in this scope
348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~
is there a way to build with the tbb provided by the distribution?
The text was updated successfully, but these errors were encountered:
Yes, you can set SYSTEM_TBB=1 on the make invocation.
Looks to me like an issue in upstream TBB. We're on the latest release (2021.5), did anyone file that issue? ...does Intel even have a proper bug tracker?
Besides that, I want to make it clear that even if you can build mold on s390 and RISC-V, mold can't be used to build programs on those machines. Being able to run on architecture A is different from being able to produce machine code for architecture A. Only you can do would be cross compilation (from RISC-V or s390 to x86-64, i386 or ARM64). So, for now, I believe it is better to just support x86-64, i386 and ARM64 unless you have another reason to run mold on other architectures.
a first step at packaging:
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+sourcepub/13210136/+listing-archive-extra
fails to build on s390x and riscv64
In file included from /<>/third-party/tbb/src/tbb/tools_api/ittnotify_static.c:17,
from /<>/third-party/tbb/src/tbb/itt_notify.cpp:43:
/<>/third-party/tbb/src/tbb/tools_api/ittnotify_config.h: In function ‘long int __itt_interlocked_increment(volatile long int*)’:
/<>/third-party/tbb/src/tbb/tools_api/ittnotify_config.h:348:12: error: ‘__TBB_machine_fetchadd4’ was not declared in this scope
348 | return __TBB_machine_fetchadd4(ptr, 1) + 1L;
| ^~~~~~~~~~~~~~~~~~~~~~~
is there a way to build with the tbb provided by the distribution?
The text was updated successfully, but these errors were encountered: