[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:16:02 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:2 kencu]:
> or you can alter the test to disable the tpause functions in tbb
instead:
>
> https://github.com/oneapi-
src/oneTBB/blob/7340a880885cfec2bf05d981e83e44612d1efb6e/include/oneapi/tbb/detail/_config.h#L338
Thank you, your suggestion worked to resolve the issue.
P. S. Will any Macports clang assembler work with `libstdc++` (for Intel,
obviously)?
(On a side note, this is potentially a problematic solution, since some
ports will build without errors but produce broken binaries: having
assembler recognizing AVX, for example, will not make CoreDuo to support
them. GCC at least honestly fails at compile time.)
--
Ticket URL: <https://trac.macports.org/ticket/69330#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list