[MacPorts] #64229: python27 +universal fails to build for ppc+ppc64 on 10.5.8
MacPorts
noreply at macports.org
Sat Dec 18 18:40:30 UTC 2021
#64229: python27 +universal fails to build for ppc+ppc64 on 10.5.8
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: duplicate | Keywords: PowerPC, Leopard, ppc64
Port: python27 |
---------------------------+-------------------------------------
Comment (by kencu):
Replying to [comment:14 barracuda156]:
> Xcode 3.2 does have, Xcode 4.2 does not
I think you're quite right there. I did not notice before that there was a
difference in PPC support between the two Xcode versions.
To be honest, I have very rarely tried building anything as PPC on my
10.6.8 Intel system; I think I might have only done it once or twice as a
test for some "hello_world.c" program many years ago. So I am no expert in
cross compiling to PPC from 10.6.8 Intel, for sure!
I did use the cross compiling more on 10.5 Leopard Intel, when I had
dreams of a working llvm/clang on 10.5 PPC. And of course, it works quite
reliably there, at least for the Apple gcc compilers. None of the
MacPorts-installed gcc compilers can cross compile as we install them. The
clang/llvms can cross compile to PPC, but the binaries have an incorrect
Darwin PowerPC ABI layout and so are ultimately broken.
You can make your own gcc cross-compiler on Leopard easily, however. I
have done that several times.
--
Ticket URL: <https://trac.macports.org/ticket/64229#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list