[MacPorts] #65147: nettle fails to build for x86_64 with gcc10/gcc11: sha256-compress.asm:208:no such instruction
MacPorts
noreply at macports.org
Tue May 10 03:16:48 UTC 2022
#65147: nettle fails to build for x86_64 with gcc10/gcc11:
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]:
> 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
Maybe we could add a case for Intel build with `gcc` in `nettle` portfile?
`--disable-assembler` makes it work.
--
Ticket URL: <https://trac.macports.org/ticket/65147#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list