[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
Fri Nov 11 03:36:28 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 barracuda156):
Replying to [comment:22 kencu]:
> if any clang >= clang-5.0 is installed, that will be used as the
assembler.
>
> we haven't required that, as there usually is such a beast installed.
Ultimately this is not a Macports fault, of course – it is badly written
software (nettle), which assumes for granted some proprietary Clang
functionality instead of checking which compiler is used and adjusting
settings accordingly.
(I do have an opinion that any software that builds from C/C++ ''must''
build with GCC, at least for supported archs, otherwise it is a garbage
coding. But again, not Macports fault, but upstream one.)
--
Ticket URL: <https://trac.macports.org/ticket/65147#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list