[MacPorts] #64260: gcc7: cannot create executables for ppc64
MacPorts
noreply at macports.org
Fri Jan 14 08:11:06 UTC 2022
#64260: gcc7: cannot create executables for ppc64
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: PowerPC, Leopard, ppc64
Port: gcc7, gcc6 |
---------------------------+-------------------------------------
Comment (by barracuda156):
It appears that with `ld64-97` it works correctly:
{{{
36-197:Dev svacchanda$ /opt/local/bin/gcc-mp-7 -m64 -o hello64 hello.c
36-197:Dev svacchanda$ file hello64
hello64: Mach-O 64-bit executable ppc64
36-197:Dev svacchanda$ ./hello64
Hello, World
36-197:Dev svacchanda$ /opt/local/bin/gcc-mp-7 -v
Using built-in specs.
COLLECT_GCC=/opt/local/bin/gcc-mp-7
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/ppc-apple-darwin9/7.5.0/lto-
wrapper
Target: ppc-apple-darwin9
Configured with:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/gcc7/work/gcc-7.5.0/configure
--prefix=/opt/local --build=ppc-apple-darwin9 --enable-
languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc7
--includedir=/opt/local/include/gcc7 --infodir=/opt/local/share/info
--mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-7 --with-
local-prefix=/opt/local --with-system-zlib --disable-nls --program-
suffix=-mp-7 --with-gxx-include-dir=/opt/local/include/gcc7/c++/ --with-
gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-
isl=/opt/local --enable-stage1-checking --enable-lto --enable-libstdcxx-
time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as
--with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-
bugurl=https://trac.macports.org/newticket --disable-tls --with-
pkgversion='MacPorts gcc7 7.5.0_3+universal'
Thread model: posix
gcc version 7.5.0 (MacPorts gcc7 7.5.0_3+universal)
36-197:Dev svacchanda$ port -v installed ld64
The following ports are currently installed:
ld64 @3_4+ld64_127 requested_variants='-universal' platform='darwin 9'
archs='ppc' date='2021-12-21T12:38:46+0800'
ld64 @3_4+ld64_97 (active) requested_variants='+ld64_97-universal'
platform='darwin 9' archs='ppc' date='2022-01-09T14:30:09+0800'
}}}
https://github.com/iains/darwin-toolchains-start-
here/discussions/8#discussioncomment-1967752
--
Ticket URL: <https://trac.macports.org/ticket/64260#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list