[MacPorts] #67477: pcre2 fails to build for x86_64 on 10.6.8: clang: error: assembler command failed with exit code 1

MacPorts noreply at macports.org
Mon May 22 14:33:18 UTC 2023


#67477: pcre2 fails to build for x86_64 on 10.6.8: clang: error: assembler command
failed with exit code 1
---------------------------------+----------------------
 Reporter:  barracuda156         |      Owner:  larryv
     Type:  defect               |     Status:  assigned
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.8.1
 Keywords:  snowleopard, x86_64  |       Port:  pcre2
---------------------------------+----------------------
 {{{
 /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre2/work/.tmp
 /cc-kooZ1w.s:21960:no such instruction: `lzcnt %eax, %eax'
 /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_pcre/pcre2/work/.tmp
 /cc-kooZ1w.s:21968:no such instruction: `tzcnt %eax, %eax'
 mv -f src/.deps/libpcre2_8_la-pcre2_valid_utf.Tpo src/.deps/libpcre2_8_la-
 pcre2_valid_utf.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/clang
 -DHAVE_CONFIG_H -I. -I./src  "-I./src" -I/opt/x86_64/include
 -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden     -D_THREAD_SAFE  -pipe
 -Os -arch x86_64 -MT src/libpcre2_8_la-pcre2_xclass.lo -MD -MP -MF
 src/.deps/libpcre2_8_la-pcre2_xclass.Tpo -c -o src/libpcre2_8_la-
 pcre2_xclass.lo `test -f 'src/pcre2_xclass.c' || echo
 './'`src/pcre2_xclass.c
 clang: error: assembler command failed with exit code 1 (use -v to see
 invocation)
 make[1]: *** [src/libpcre2_8_la-pcre2_jit_compile.lo] Error 1
 make[1]: *** Waiting for unfinished jobs....
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I./src -I./src
 -I/opt/x86_64/include -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden
 -D_THREAD_SAFE -pipe -Os -arch x86_64 -MT src/libpcre2_8_la-
 pcre2_xclass.lo -MD -MP -MF src/.deps/libpcre2_8_la-pcre2_xclass.Tpo -c
 src/pcre2_xclass.c  -fno-common -DPIC -o src/.libs/libpcre2_8_la-
 pcre2_xclass.o
 mv -f src/.deps/libpcre2_8_la-pcre2_ucd.Tpo src/.deps/libpcre2_8_la-
 pcre2_ucd.Plo
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I./src -I./src
 -I/opt/x86_64/include -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden
 -D_THREAD_SAFE -pipe -Os -arch x86_64 -MT src/libpcre2_8_la-
 pcre2_xclass.lo -MD -MP -MF src/.deps/libpcre2_8_la-pcre2_xclass.Tpo -c
 src/pcre2_xclass.c -o src/libpcre2_8_la-pcre2_xclass.o >/dev/null 2>&1
 mv -f src/.deps/libpcre2_8_la-pcre2_xclass.Tpo src/.deps/libpcre2_8_la-
 pcre2_xclass.Plo
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I./src -I./src
 -I/opt/x86_64/include -DPCRE2_CODE_UNIT_WIDTH=8 -fvisibility=hidden
 -D_THREAD_SAFE -pipe -Os -arch x86_64 -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/x86_64/var/macports/build/_opt_x86_64_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/67477>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list