[MacPorts] #64577: advice on macports-gcc-10 errors on 10.5.8: gcc works but g++ fails: library not found for -lgcc_s.1.1

MacPorts noreply at macports.org
Wed Feb 2 21:30:34 UTC 2022


#64577: advice on macports-gcc-10 errors on 10.5.8: gcc works but g++ fails:
library not found for -lgcc_s.1.1
---------------------------+-------------------------------------
  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:8 kencu]:
 > look at the libgcc portfile.
 >
 > there are complexities in there to be understood.


 I have (I remembered what you told me), and I also changed setting in
 compilers-1.0.tcl to:

 {{{
 # GCC version providing the primary runtime
 # Note settings here *must* match those in the lang/libgcc port.
 if { ${os.major} < 11 } {
     set gcc_main_version 10
 } else {
     set gcc_main_version 11
 }
 }}}

 Then I uninstalled `libgcc` and installed again. This however did not
 help.

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


More information about the macports-tickets mailing list