[MacPorts] #69073: pcre2 fails to build for i386 with gcc-13: no such instruction: `lzcnt %eax, %eax'

MacPorts noreply at macports.org
Mon Jan 8 17:02:32 UTC 2024


#69073: pcre2 fails to build for i386 with gcc-13: no such instruction: `lzcnt
%eax, %eax'
-------------------------------+--------------------
 Reporter:  barracuda156       |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.8.1
 Keywords:  i386, snowleopard  |       Port:  pcre2
-------------------------------+--------------------
 {{{
 libtool: compile:  /opt/local/bin/gcc-mp-13 -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_maketables.lo -MD -MP -MF src/.deps/libpcre2_8_la-
 pcre2_maketables.Tpo -c src/pcre2_maketables.c  -fno-common -DPIC -o
 src/.libs/libpcre2_8_la-pcre2_maketables.o
 libtool: compile:  /opt/local/bin/gcc-mp-13 -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_maketables.lo -MD -MP -MF src/.deps/libpcre2_8_la-
 pcre2_maketables.Tpo -c src/pcre2_maketables.c -o src/libpcre2_8_la-
 pcre2_maketables.o >/dev/null 2>&1
 mv -f src/.deps/libpcre2_8_la-pcre2_maketables.Tpo src/.deps
 /libpcre2_8_la-pcre2_maketables.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile /opt/local/bin/gcc-mp-13
 -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_match.lo -MD -MP -MF src/.deps
 /libpcre2_8_la-pcre2_match.Tpo -c -o src/libpcre2_8_la-pcre2_match.lo
 `test -f 'src/pcre2_match.c' || echo './'`src/pcre2_match.c
 libtool: compile:  /opt/local/bin/gcc-mp-13 -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_match.lo
 -MD -MP -MF src/.deps/libpcre2_8_la-pcre2_match.Tpo -c src/pcre2_match.c
 -fno-common -DPIC -o src/.libs/libpcre2_8_la-pcre2_match.o
 src/sljit/sljitNativeX86_common.c:362:no such instruction: `lzcnt %eax,
 %eax'
 src/sljit/sljitNativeX86_common.c:379:no such instruction: `tzcnt %eax,
 %eax'
 make[1]: *** [src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
 make[1]: *** Waiting for unfinished jobs....
 libtool: compile:  /opt/local/bin/gcc-mp-13 -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_match.lo
 -MD -MP -MF src/.deps/libpcre2_8_la-pcre2_match.Tpo -c src/pcre2_match.c
 -o src/libpcre2_8_la-pcre2_match.o >/dev/null 2>&1
 mv -f src/.deps/libpcre2_8_la-pcre2_match.Tpo src/.deps/libpcre2_8_la-
 pcre2_match.Plo
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre2/work/pcre2-10.42'
 make: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list