[MacPorts] #65147: nettle fails to build for x86_64 with gcc10/gcc11: sha256-compress.asm:208:no such instruction (fix: add --disable-assembler)

MacPorts noreply at macports.org
Thu Oct 27 02:13:14 UTC 2022


#65147: nettle fails to build for x86_64 with gcc10/gcc11:
sha256-compress.asm:208:no such instruction (fix: add --disable-assembler)
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  x86_64, snowleopard
      Port:  nettle        |
---------------------------+---------------------------------

Comment (by barracuda156):

 `nettle` still fails with `gcc12` on 10.6.8 `x86_64`:

 {{{
 ghash-set-key-2.s:66:no such instruction: `pclmullqhqdq %xmm0, %xmm2'
 make[1]: *** [ghash-set-key-2.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 ghash-update-2.s:101:no such instruction: `pclmullqlqdq %xmm3, %xmm7'
 ghash-update-2.s:102:no such instruction: `pclmullqhqdq %xmm3, %xmm5'
 ghash-update-2.s:103:no such instruction: `pclmulhqlqdq %xmm2, %xmm4'
 ghash-update-2.s:104:no such instruction: `pclmulhqhqdq %xmm2, %xmm6'
 ghash-update-2.s:110:no such instruction: `pclmullqhqdq %xmm0, %xmm7'
 /opt/x86_64/bin/gcc-mp-12 -I. -I/opt/x86_64/include -DHAVE_CONFIG_H -pipe
 -Os -arch x86_64 -ggdb3 -Wall -W -Wno-sign-compare   -Wmissing-prototypes
 -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-
 function-cast -Wnested-externs -fPIC -MT salsa20-2core.o -MD -MP -MF
 salsa20-2core.o.d -c salsa20-2core.s
 make[1]: *** [ghash-update-2.o] Error 1
 }}}

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


More information about the macports-tickets mailing list