[MacPorts] #69330: onetbb uses illegal instruction on i386: no such instruction: `tpause %ecx'

MacPorts noreply at macports.org
Tue Feb 13 15:09:00 UTC 2024


#69330: onetbb uses illegal instruction on i386: no such instruction: `tpause %ecx'
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  mohd-akram
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:  i386
      Port:  onetbb        |
---------------------------+------------------------

Comment (by kencu):

 using gcc to build things usually forces the ancient Apple gas assembler
 which is very outdated.

 any current clang should work

 https://github.com/oneapi-
 src/oneTBB/blob/7340a880885cfec2bf05d981e83e44612d1efb6e/include/oneapi/tbb/detail/_config.h#L338

 or you can use the macports cctools mod that uses a newer clang as
 assembler,

 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

-- 
Ticket URL: <https://trac.macports.org/ticket/69330#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list