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

MacPorts noreply at macports.org
Fri Jan 20 06:59:51 UTC 2023


#66723: pcre2 @10.42: no such instruction: `lzcnt %eax, %eax'
---------------------+----------------------
 Reporter:  kencu    |      Owner:  larryv
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:  leopard  |       Port:  pcre2
---------------------+----------------------
 pcre2 build fails on Leopard Intel with this assembler error.

 one option is forcing clang-N as the compiler.

 pcre is in the bootstrap chain to build macports-clang, but pcre2 is not.

 {{{
 :info:build /bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -std=gnu99 -DHAVE_CONFIG_H -I. -I./src  "-I./src" -I/opt/local/include
 -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden     -D_THREAD_SAFE  -pipe
 -Os -arch i386 -MT src/libpcre2_8_la-pcre2_tables.lo -MD -MP -MF src/.deps
 /libpcre2_8_la-pcre2_tables.Tpo -c -o src/libpcre2_8_la-pcre2_tables.lo
 `test -f 'src/pcre2_tables.c' || echo './'`src/pcre2_tables.c
 :info:build libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H
 -I. -I./src -I./src -I/opt/local/include -DPCRE2_CODE_UNIT_WIDTH=8
 -fvisibility=hidden -D_THREAD_SAFE -pipe -Os -arch i386 -MT src
 /libpcre2_8_la-pcre2_substitute.lo -MD -MP -MF src/.deps/libpcre2_8_la-
 pcre2_substitute.Tpo -c src/pcre2_substitute.c  -fno-common -DPIC -o
 src/.libs/libpcre2_8_la-pcre2_substitute.o
 :info:build {standard input}:9052:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9062:no such instruction: `tzcnt %eax, %eax'
 :info:build {standard input}:9307:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9317:no such instruction: `tzcnt %eax, %eax'
 :info:build {standard input}:9349:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9359:no such instruction: `tzcnt %eax, %eax'
 :info:build {standard input}:9396:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9406:no such instruction: `tzcnt %eax, %eax'
 :info:build {standard input}:9438:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9448:no such instruction: `tzcnt %eax, %eax'
 :info:build {standard input}:9853:no such instruction: `lzcnt %eax, %eax'
 :info:build {standard input}:9863:no such instruction: `tzcnt %eax, %eax'
 }}}

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


More information about the macports-tickets mailing list