[MacPorts] #65147: nettle fails to build for x86_64 with gcc10-bootstrap: sha256-compress.asm:208:no such instruction

MacPorts noreply at macports.org
Mon May 9 22:21:58 UTC 2022


#65147: nettle fails to build for x86_64 with gcc10-bootstrap:
sha256-compress.asm:208:no such instruction
---------------------------+---------------------------------
  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):

 Replying to [comment:2 ryandesign]:
 > The error looks like #58740, which that blacklist was added to fix, by
 blacklisting old gcc. I'm not sure if anybody tested newer gcc though. I'm
 not sure if any version of gcc is supposed to understand this code or not.

 I have built `nettle` for `ppc` with `gcc7` and `gcc11` many times, so it
 is not gcc issue, unless it is a) specific to `x86_64` or b) specific to
 `gcc10-bootstrap` (which would be rather surprising: it is essentially
 normal `gcc10` without extra langs).

 Some voodoo going on here. Also, as I noted in another ticket,
 blacklisting old `gcc` makes Macports ignore `gcc10-bootstrap` configure
 lines.

 P. S. If anyone wonders why use `gcc10-bootstrap`: I need to build one
 specific port for `x86_64`, and thought to minimize compiling pain.
 `gcc10-bootstrap` is already 2+ hrs. Building regular `gcc11` would mean
 +5 hrs more.

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


More information about the macports-tickets mailing list