Report 3 — Multiarch cross-t oolchains

Thibaut Girka <[email protected]>
Newsgroups gmane.linux.debian.soc-coordination,gmane.linux.debian.devel.embedded
Message-ID <20120702162312.GA28420@debian-thib>
Hi,
Here is my third report on the “Multiarch cross-toolchains” project[0],
mentored by Héctor Orón and co-mentored by Marcin Juszkiewicz.

This time, no really signifant progress, but minor fixes and cleanup to my
gcc-4.7 patches. I've also dropped my modified dpkg package from my repository,
since my changes have been included in dpkg 1.16.5, which means you don't have
to replace any of your installed packages anymore to be able to install the
multi-arch cross-toolchains, as explained in my last blog post[1].

I have started to look at binutils to fix a few (relatively minor) issues with it,
and had a first look at how to discard/avoid building runtime libraries (which
are cross-built packages for the target architecture, and present in the archive
if the architecture exists and doesn't lag behind too much) in gcc-4.7, a task
that promises to be quite painful, as the decision of which libraries/packages
to build is scattered all over the “rules.defs” file. I'll also need to provide
a way for the user to build those packages anyway, in the corner case of a new
architecture or an architecture for which those runtime library packages haven't
been built yet. I'll try to make something clean, though. Beside this one,
there is one last issue with gcc-4.7, #678623, which could prevent C++
cross-compilers to be useful for wheezy. This needs to be thought about and
dealt with as soon as possible.
Then, it should be about it for gcc-4.7 for the time being, and I'll consider
the toolchain as a whole, trying to build cross-toolchains for more architectures
(not only armel and armhf, but things like mipsel, sparc and powerpc too).

Since wheezy is freezing, the focus is not on getting the multiarch cross-toolchains
in the archive, but on providing them in a separate repository (at emdebian,
for instance) while keeping them useful (i.e., getting rid of things like #67823).

Once that goal is attained (hopefully in 2~3 weeks), the focus will shift on
making the build system suitable for inclusion in Debian, so that it could be
part of wheezy+1.

Thibaut Girka.

[0]: http://wiki.debian.org/SummerOfCode2012/Projects#Multiarch_Cross-Toolchains
[1]: http://gsoc.sitedethib.com/posts/apt-get_install_gcc-4.7-arm-linux-gnueabihf/
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJP8crwAAoJEOY0VNOn/l3WDC0P/iRVhK5AXIAQtaeIV57UWkgK
n1ugREARNRPKFsRbZTpbfdDdKORkcjfy54DS0EAcJIrUggJ7CN7QNOir5e7Gm10+
2yykuwDbV4QuSuRvaYqef6qaLlD5UBzFXkjVl1lnWAGFKCCJh8SSOuo1QNoMeG2+
1+WRUJxyU61qBYL3xubWhztxiQzGRZZ1rJJK9dqd1+xe6fX3QLrI+P0tH6bCF10B
B7A2SDTOVh0yZLcCAzhKZSiNif/5o4u6e08UVRN/YJsxalJb1J8E9FislRB8xYZC
PsIltp0vjLf5egXb33Apoo/tnF+Ogk+UJAoKOC9oH+pmr+lCRg9gyvFD7BWISus3
5G7qTAAwxm/hjQ8n4OQq95nncI5vki3AnG5kC4kEHhTtyA83u17B+oRiWlfUd5k5
SZeas5v5WvydSmImhx1tQDJZ8tLg3HNRM1u5Z97unzyCwBGBSS66ac6gBPD8L7sM
r5+UPoYXYQBYKSZkWEXTdkrX6nGGAANNht0iIsYKD9Id+ESFSGFXNBGsU2qZS0En
VfCDGIsFXicCD/pdHx7IQP1wcN1Nv2QNFWLLpw0qtcmU4FryPaFScD40nMlECJYy
P0hcCA47pJwtMCyl79E61eiGvLdKrfY1M3McUjbRQ0BbGe5sUj+/TKk5KeuQ7Gpq
eMBiyMbJ4wFYP2kWQTXZ
=VZkS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.