Discussion:
Arch support
Guido Berhoerster
2012-02-01 16:42:17 UTC
Permalink
Hello,

are pcc/pcc-libs supposed to work on powerpc under Linux? If so
at what version (IIRC there were some problems with it in newer
pre-1.1.0 versions)?
--
Guido Berhoerster
Gregory McGarry
2012-02-02 06:32:40 UTC
Permalink
Hi
-------- Original Message --------
Subject: Arch support
Date: Wed, February 01, 2012 8:42 am
Hello,
are pcc/pcc-libs supposed to work on powerpc under Linux? If so
at what version (IIRC there were some problems with it in newer
pre-1.1.0 versions)?
--
Guido Berhoerster
At one point they were working on Darwin. I've never tried on Linux.

Lately PowerPC support is in a bad state of bitrot.
Rob Landley
2012-02-03 18:34:36 UTC
Permalink
Post by Gregory McGarry
Hi
-------- Original Message --------
Subject: Arch support
Date: Wed, February 01, 2012 8:42 am
Hello,
are pcc/pcc-libs supposed to work on powerpc under Linux? If so
at what version (IIRC there were some problems with it in newer
pre-1.1.0 versions)?
--
Guido Berhoerster
At one point they were working on Darwin. I've never tried on Linux.
Lately PowerPC support is in a bad state of bitrot.
You may find this link useful:

http://lists.gnu.org/archive/html/qemu-devel/2010-02/msg00917.html

When Linux launches a program, the PPC spec requires the arguments be in
certain registers and consistency across Linux architectures (with
regards to the register layout of system calls) suggests other registers.

Linux is doing the consistent thing instead of what the ppc standard
wants, and then the dynamic linker shuffles stuff around to match the
spec. But for statically linked programs, the dynamic linker can't do
the fixup, and thus you need to know about this to make it work...

I know this because QEMU's application emulation was consistent with the
spec, not with what Linux actually _did_, and it broke static linking
against uClibc.

Rob

Loading...