[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:10:45 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):
So:
Workarounds in the portfiles for these really off-piste corner cases
should almost never be considered. They make the ports unmaintainable in
general.
What is reasonable is generally applicable fixes for logic errors in
Portfiles, and you have found a few of those. But testing whether the
compiler is gcc10-bootstrap and disabling assembly if so is not a
reasonable ask.
Please be circumspect in what you ask people to do. Supporting 10.6 to
build PPC code is for an offshoot repo, not for the main macports repo.
1000 tickets about how ports don't build as PPC on SnowLeopard is not
going to get anyone to fix that.
Homebrew outright trashed all universal building, all variants, all ports
with github repos with < 100 (I think) forks, all ports that are not
actively maintained upstram, and all systems except the last 3. That makes
it very maintainable...
--
Ticket URL: <https://trac.macports.org/ticket/65147#comment:20>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list