[MacPorts] #64577: advice on macports-gcc-10 errors on 10.5.8
MacPorts
noreply at macports.org
Wed Feb 2 11:54:40 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?
> 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?
It was build against system tools:
{{{
36-47:MacPorts-2.7.1 svacchanda$ /opt/local/bin/gcc-mp-10 -v
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gcc-mp-10
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/ppc-apple-darwin9/10.3.0/lto-
wrapper
Target: ppc-apple-darwin9
Configured with:
/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_gcc10/gcc10/work/gcc-10.3.0/configure
--prefix=/opt/local --build=ppc-apple-darwin9 --enable-
languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc10
--includedir=/opt/local/include/gcc10 --infodir=/opt/local/share/info
--mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-10
--with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-
suffix=-mp-10 --with-gxx-include-dir=/opt/local/include/gcc10/c++/ --with-
gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-
isl=/opt/local --with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-
ar=/usr/bin/ar --with-bugurl=https://trac.macports.org/newticket
'STAGE1_CFLAGS=-O1 -pipe -mdynamic-no-pic' 'STAGE1_CXXFLAGS=-O1 -pipe
-mdynamic-no-pic' --with-pkgversion='MacPorts gcc10 10.3.0_1+universal'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.0 (MacPorts gcc10 10.3.0_1+universal)
}}}
So I will rebuild now. Also modified libgcc port accordingly.
--
Ticket URL: <https://trac.macports.org/ticket/64577#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list