Package: dpkg Version: 1.15.5.6 Severity: wishlist Tags: patch At this time, we have the Debian binutils, gcc, and eglibc packages building cross-compilers for e500 correctly with just a few minor patches. A few other packages (libmpfr, libgmp) needed to be crossbuilt (with minor patches only to enable cross-compilation).
We do not yet have a full self-hosting e500 environment constructed, but we are actively working to complete one on our development boards. I've included inline the exported git patch from our internal dpkg source tree: From: Kyle Moffett <[email protected]> Date: Tue, 23 Mar 2010 14:45:12 -0400 Subject: [PATCH] Add new 'e500' architecture to triplettable and ostable The 'e500' architecture (also called MPC85xx) is a binary-incompatible variant of PowerPC/POWER designed and supported by FreeScale and IBM. Additional information can be found at: http://en.wikipedia.org/wiki/PowerPC_e500 It has the unfortunate GNU arch triplet of "powerpc-linux-gnuspe", when it should have been "powerpcspe-linux-gnu" or "e500-linux-gnu". This causes much the same problem and has the same solution as the lpia architecture's triplet: "arm-linux-gnulp". The result is a few extra entries in the "ostable" file to deal with the quirk. At this time the 'e500' architecture port is still very much an unofficial port. While we hope that will change in the future, it is entirely possible that the embedded niche of the processor will make such an official Debian port problematic. Signed-off-by: Kyle D Moffett <[email protected]> --- ostable | 2 ++ triplettable | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ostable b/ostable index 2ef2cdd..989c220 100644 --- a/ostable +++ b/ostable @@ -15,8 +15,10 @@ # # <Debian name> <GNU name> <config.guess regex> uclibceabi-linux linux-uclibceabi linux[^-]*-uclibceabi +uclibcspe-linux linux-uclibcspe linux[^-]*-uclibcspe uclibc-linux linux-uclibc linux[^-]*-uclibc gnueabi-linux linux-gnueabi linux[^-]*-gnueabi +gnuspe-linux linux-gnuspe linux[^-]*-gnuspe gnulp-linux linux-gnulp linux[^-]*-gnulp gnu-linux linux-gnu linux[^-]*(-gnu.*)? gnu-kfreebsd kfreebsd-gnu kfreebsd[^-]*(-gnu.*)? diff --git a/triplettable b/triplettable index 1a2c666..d1eeadf 100644 --- a/triplettable +++ b/triplettable @@ -4,8 +4,10 @@ # # <Debian triplet> <Debian arch> uclibceabi-linux-arm uclibc-linux-armel +uclibcspe-linux-powerpc uclibc-linux-e500 uclibc-linux-<cpu> uclibc-linux-<cpu> gnueabi-linux-arm armel +gnuspe-linux-powerpc e500 gnulp-linux-i386 lpia gnu-linux-<cpu> <cpu> gnu-kfreebsd-<cpu> kfreebsd-<cpu> -- 1.7.0 -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (990, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg depends on: ii coreutils 6.10-6 The GNU core utilities ii libc6 2.10.2-2 GNU C Library: Shared libraries ii lzma 4.43-14 Compression method of 7z format in dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.7.25.3 Advanced front-end for dpkg -- no debconf information
>From 9a567d5146c6a0a25365a20a1eee0a6f77f522f2 Mon Sep 17 00:00:00 2001 From: Kyle Moffett <[email protected]> Date: Tue, 23 Mar 2010 14:45:12 -0400 Subject: [PATCH] Add new 'e500' architecture to triplettable and ostable The 'e500' architecture (also called MPC85xx) is a binary-incompatible variant of PowerPC/POWER designed and supported by FreeScale and IBM. Additional information can be found at: http://en.wikipedia.org/wiki/PowerPC_e500 It has the unfortunate GNU arch triplet of "powerpc-linux-gnuspe", when it should have been "powerpcspe-linux-gnu" or "e500-linux-gnu". This causes much the same problem and has the same solution as the lpia architecture's triplet: "arm-linux-gnulp". The result is a few extra entries in the "ostable" file to deal with the quirk. At this time the 'e500' architecture port is still very much an unofficial port. While we hope that will change in the future, it is entirely possible that the embedded niche of the processor will make such an official Debian port problematic. Signed-off-by: Kyle D Moffett <[email protected]> --- ostable | 2 ++ triplettable | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ostable b/ostable index 2ef2cdd..989c220 100644 --- a/ostable +++ b/ostable @@ -15,8 +15,10 @@ # # <Debian name> <GNU name> <config.guess regex> uclibceabi-linux linux-uclibceabi linux[^-]*-uclibceabi +uclibcspe-linux linux-uclibcspe linux[^-]*-uclibcspe uclibc-linux linux-uclibc linux[^-]*-uclibc gnueabi-linux linux-gnueabi linux[^-]*-gnueabi +gnuspe-linux linux-gnuspe linux[^-]*-gnuspe gnulp-linux linux-gnulp linux[^-]*-gnulp gnu-linux linux-gnu linux[^-]*(-gnu.*)? gnu-kfreebsd kfreebsd-gnu kfreebsd[^-]*(-gnu.*)? diff --git a/triplettable b/triplettable index 1a2c666..d1eeadf 100644 --- a/triplettable +++ b/triplettable @@ -4,8 +4,10 @@ # # <Debian triplet> <Debian arch> uclibceabi-linux-arm uclibc-linux-armel +uclibcspe-linux-powerpc uclibc-linux-e500 uclibc-linux-<cpu> uclibc-linux-<cpu> gnueabi-linux-arm armel +gnuspe-linux-powerpc e500 gnulp-linux-i386 lpia gnu-linux-<cpu> <cpu> gnu-kfreebsd-<cpu> kfreebsd-<cpu> -- 1.7.0

