[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:03:00 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):

 Replying to [comment:16 barracuda156]:

 > Maybe we could add a case for Intel build with `gcc` in `nettle`
 portfile? `--disable-assembler` makes it work.

 We would never want to do that in general, as it would cripple the
 99.9999999% of users who want a fast nettle to support 0.00000000001% of
 users who want to do something offbeat.

 Just do that in your own local repo, and we'll leave macports alone.

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


More information about the macports-tickets mailing list