http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431086
> One issue that arose during DebConf7 relates to an upstream behaviour of
> gcc that is not working inside the debian packaging code.
>
> Emdebian has been building cross-compiler toolchains for some time but
> in order to be able to build all Emdebian packages from source, we need
> to be able to cross build gcc, not to provide a cross compiler but to
> provide some core libraries - specifically libgcc1 and libstsdc++6-foo
> - cross built for a different host.
>
> e.g.
> Build=amd64|i386|powerpc
> Host=arm
> Target=arm
>
> compared to
> build=amd64|i386|powerpc
> host=amd64|i386|powerpc
> target=arm
> for a standard cross-compiler.
>
> As host==target this isn't a full canadian cross, more of a reverse
> cross.
>
> A normal arm-linux-gnu-gcc etc. toolchain is used to build these
> packages.
The patch has now been included in gcc-4.2:
Source: gcc-4.2
Source-Version: 4.2-20070707-1
We believe that the bug you reported is fixed in the latest version of
gcc-4.2, which is due to be installed in the Debian FTP archive:
...
Changes:
gcc-4.2 (4.2-20070707-1) unstable; urgency=low
.
[Matthias Klose]
* Update to SVN 20070707 from the ubuntu/gcc-4_2-branch.
- debian/patches/libjava-soname.dpatch: Remove.
- debian/patches/disable-configure-run-check.dpatch: Update.
* Only suggest multilib packages on multilib architectures.
* Point ICE messages to the 4.2 docdir.
* Explicitely use fastjar to build gcj-4.1. Addresses: #416001.
* Configure with --enable-libgcj on m32r (Kazuhiro Inaoka).
* Include the hppa64 cross compiler on hppa snapshot builds.
* debian/patches/arm-libffi.dpatch: Update.
* libgcj-doc: Include the generated documentation.
* Fix building the libjava/classpath examples.
* Support reverse cross builds (Neil Williams). Closes: #431086.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/