Tollef Fog Heen schrieb: > * Matthias Klose > > | The last dpkg upload added support for dpkg, setting the cpu used to i386 > and > | the GNU triplet to gnulp-linux-i386. Setting the CPU explicitely to i386 > | compared to i586 or i686) will get us other ABIs at least for some packages > | (GCC); while we can take care of this in the packaging of these few > packages, we > | should use something like i586 or i686 which comes close to the targeted > cpu. > | a proposed patch is attached. > > i686 is fine with me, but I suspect the cputable change will then be > slightly wrong as it will affect i386 too?
that's why I'm asking. Currently dpkg-architecture behaves like: $ dpkg-architecture -alpia dpkg-architecture: warning: Unknown gcc system type i686-linux-gnulp, falling back to default (native compilation) WAS: i686-linux-gnuDEB_BUILD_ARCH=i386 DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_HOST_ARCH=lpia DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i686 DEB_HOST_GNU_CPU=i686 DEB_HOST_GNU_SYSTEM=linux-gnulp DEB_HOST_GNU_TYPE=i686-linux-gnulp and for i386: $ dpkg-architecture -ai386 dpkg-architecture: warning: Unknown gcc system type i686-linux-gnulp, falling back to default (native compilation) WAS: i686-linux-gnuDEB_BUILD_ARCH=i386 DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=i386 DEB_BUILD_GNU_CPU=i486 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=i486-linux-gnu DEB_HOST_ARCH=i386 DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_CPU=i386 DEB_HOST_GNU_CPU=i486 DEB_HOST_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_TYPE=i486-linux-gnu Is it really necessary to use "gnulp" in the GNU triplet? It's new, and *should* not break anything because usually everything following linux-* is ignored. The current GCC packages pick up the triplet provided by dpkg-architecture and configure --with-tune=i586 if the debian architecture is lpia. Matthias -- Ubuntu-mobile mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
