[MacPorts] #64577: advice on macports-gcc-10 errors on 10.5.8

MacPorts noreply at macports.org
Tue Feb 1 10:26:34 UTC 2022


#64577: advice on macports-gcc-10 errors on 10.5.8
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  request       |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, Leopard, ppc64
      Port:  gcc10         |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > did you also update the libgcc port to use libgcc10?

 No, I didn't, since I didn't know it's needed. Thank you for pointing this
 out. I will try doing that.

 > gcc10 will need to be built against and use the ld and cctools in
 /opt/local/bin to be part of macports.
 > can you show us your gcc -v for your gcc10 to see if that is the case?

 I will check it once back to the Quad and rebuild if it is built against
 system ld and cctools.

 By the way, there are separate settings in gcc10 port file: configure args
 `--with-as=`, `--with-ld=` etc and configure.env args `LD_FOR_TARGET` etc.
 What is the purpose of the second?

 > And last, gcc10 has to bootstrap smoothly on 10.4 PPC and Intel, and
 10.5 Intel, before macports could upgrade to it. Previously, it would not
 build easily at least on the Intel systems due to various issues.
 > So there are a few parts to put in place before MP would be in a
 position to start debugging build errors with gcc10 on 10.5 PPC.

 Got it. I cannot work on Intel part but I will try to make Iain's gcc10
 build correctly within Macports for PowerPC.

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


More information about the macports-tickets mailing list