[MacPorts] #66723: pcre2 @10.42: no such instruction: `lzcnt %eax, %eax'

MacPorts noreply at macports.org
Thu May 11 12:07:50 UTC 2023


#66723: pcre2 @10.42: no such instruction: `lzcnt %eax, %eax'
---------------------+---------------------
  Reporter:  kencu   |      Owner:  larryv
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:  leopard
      Port:  pcre2   |
---------------------+---------------------

Comment (by mascguy):

 Replying to [comment:8 kencu]:
 > That is a bit strange, then. You see, the error is with the assembler.
 >
 > When you are building with gcc-4.2 on 10.5, you are using the ancient
 "gas" assembler that comes with cctools. So no surprise it fails on newer
 assembly.
 >
 > When you are building with clang-3.4 on 10.5, you are still using the
 ancient "gas" assembler that comes with cctools. The integrated assembler
 is not used (by default), and also cctools will not use clang-3.4 as
 assembler.
 >
 > So it should not work. Must be something going on to explain what is
 happening.

 Is it possible that the native assembly component is being used, in favor
 of portable C code? (Assuming that upstream provided that fallback?)
 Haven't dug into it enough to say, but that would be my theory.

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


More information about the macports-tickets mailing list