Package: dpkg
Version: 1.18.4
User: helm...@debian.org
Usertags: rebootstrap

Hi,

This is the first of a series of patches to add support for the TILE-Gx
architecture to Debian. My first target is dpkg, which needs to learn
about the architecture name.

There is already a CentOS based port available at
http://www.mellanox.com/repository/solutions/tile-scm/source.html. It
uses the GNU triplet tilegx-linux-gnu. Thus the GNU CPU name should
simply be tilegx. I believe that the Debian architecture name should
also simply be tilegx. Some tooling seems to understand about other
variants tilepro-linux-gnu and tilegxbe-linux-gnu, both of which refer
to different ABIs. Thus the config.guess regular expression should not
over-match. TILE-Gx is little endian 64 bit. Stinging this together in
the dpkg cputable format, we arrive at:

# <Debian name> <GNU name> <config.guess regex> <Bits> <Endianness>
tilegx          tilegx     tilegx               64     little

I put Chris Metcalf into Cc, to have him review the assertions made
above.

Rationale for adding TILE-Gx to Debian:

I have a working patch stack to build a cross toolchain and to cross
build 30 source packages. The architecture is so well upstreamed, that
none of my patches (pending submission) touch any C code. The CentOS
based port covers about 5000 source packages. Basic hardware is
available below $ 1000.

Helmut

Reply via email to