[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 23:34:07 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:4 ryandesign]:
> Replying to [comment:3 barracuda156]:
> > 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`
>
> It's definitely specific to x86_64. These are x86_64 instructions it's
complaining about. I found some references to the fact that this can be
caused by too-old binutils, even if gcc is new enough:
>
>
https://github.com/randombit/botan/commit/86e75d060d5353778fea1d65ef7cb0efba4c2a9c
Thank you!
This may explain it, perhaps. `gcc10-bootstrap` uses OS `ld` and `as`, not
Macports ones.
--
Ticket URL: <https://trac.macports.org/ticket/65147#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list