[MacPorts] #69330: onetbb uses illegal instruction on i386: no such instruction: `tpause %ecx' that is not supported when macports is forced to use a non-default gcc compiler and an old assembler to try to build it as a fun experiment
MacPorts
noreply at macports.org
Tue Feb 13 18:37:16 UTC 2024
#69330: onetbb uses illegal instruction on i386: no such instruction: `tpause %ecx'
that is not supported when macports is forced to use a non-default gcc
compiler and an old assembler to try to build it as a fun experiment
---------------------------+------------------------
Reporter: barracuda156 | Owner: mohd-akram
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: invalid | Keywords: i386
Port: onetbb |
---------------------------+------------------------
Comment (by barracuda156):
Replying to [comment:3 kencu]:
> Looking at the portfile, I cannot see how this should be building with
gcc13 on 10.6 i386 anyway.
BTW, judging from this, it will not build with Clang on certain Intel cpus
either: https://stackoverflow.com/questions/22395292/assembler-messages-
no-such-instruction-xbegin
Since TSX is not necessarily supported on hardware level:
https://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions
After disabling `__TBB_TSX_INTRINSICS_PRESENT` I have `OneTBB` built.
{{{
sergey-fedorovs-mac-mini:~ svacchanda$ port -v installed onetbb
The following ports are currently installed:
onetbb @2021.11.0_1 (active) requested_variants='' platform='darwin 10'
archs='i386' date='2024-02-14T02:36:47+0800'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69330#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list