[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
Tue May 10 04:01:27 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 kencu):

 for now, disabling the (failing) assembly is by far the easiest solution.

 The only other solution available would be to install some new version of
 clang to use as the assembler, use MacPorts cctools (which uses that newer
 version of clang to assemble) and then force gcc10-bootstrap to use
 MacPorts cctools AS instead of /usr/bin/as as the assembler to make it all
 work.

 Life is too short. Just disable assembly for this Frankenstein and then
 "Move along folks, nothing to see here ..."

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


More information about the macports-tickets mailing list