On Tue, 09 Jun 2009 13:24:35 +0300
Timo Juhani Lindfors <timo.lindf...@iki.fi> wrote:

> Package: emdebian-tools
> Version: 2.0.1
> Severity: normal
> 
> Trying to build an armel toolchain fails: 

You don't need to build an armel toolchain for amd64, you just need to
workaround the constant problems that plague toolchains in Debian which
mean that toolchains are rarely installable without tweaks and
assistance. If that's a problem, discuss it on the debian-embedded
debian-devel mailing list(s) and with the gcc maintainers.

Basically, new versions of gcc are uploaded to Debian unstable without
any tests for whether a cross-compiler toolchain can be built using the
new version. This results in lengthy delays whilst Emdebian people
(well, just Hector really) try to fix the bugs in the new Debian version
of gcc. During these delays, the old toolchain also becomes
uninstallable because packages that are needed for the old toolchain
are dropped from the build of the old version of gcc and therefore the
new versions depend on components of the new toolchain which doesn't
yet build.

This all happens out-of-sight of the Debian gcc maintainers because
there is currently no way to have the cross-compiler toolchains
themselves as part of regular Debian.

emdebian-tools can do nothing to insulate you from these problems as the
bugs are different every time.

emchain will currently fail for gcc-4.4 anyway - we know this in
advance because there are no gcc-4.4 toolchains because they don't
build.

> lindi1:~$ emchain --arch armel -vvv
> Use of uninitialized value $logfile in -f at /usr/bin/emchain line 163.

(fixed)

> Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to find a source package for glibc
> 
> and indeed "apt-get source glibc" fails. Should that be "eglibc" now?

Changed, but it won't help that much.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpTtrP56Qu1n.pgp
Description: PGP signature

Reply via email to