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

MacPorts noreply at macports.org
Tue May 10 00:30:49 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 kencu):

 gcc10-bootstrap is supposed to use the system ld and as, so that it can be
 a freestanding compiler to build bootstrap tools without having any
 runtime deps. It was never meant to be a general-use compiler, just a
 compiler to bootstrap to general-use compilers.

 If you want it to use a different ld and as, you are meant to find a way
 to force it to do so, specifically, as part of a bootstrapping process.

 And the ancient "gas" assembler in older macos systems indeed has some
 major limitations for newer instructions.

 For the Intel path, the idea was to use gcc10-bootstrap to build
 clang11-bootstrap (which has it's own assembler) and then go from there.

 Why are we trying to build ports like nettle with gcc10-bootstrap anyway?
 Is that on a bootstrapping path?

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


More information about the macports-tickets mailing list