My guess is that the problem is not in the GCC package, but somewhere in the debian/rules.d/ files.
But I'm not familiar with the make files.

On 05/02/2012 01:12 PM, Adrian Ban wrote:
For example if I'm trying to build the gcc-4.6 the error at the end is:

dh_installdeb -pgcc-4.6-x86-64-linux-gnu-base
dh_md5sums -pgcc-4.6-x86-64-linux-gnu-base
dh_builddeb -pgcc-4.6-x86-64-linux-gnu-base
dpkg-deb: building package `gcc-4.6-x86-64-linux-gnu-base' in `../gcc-4.6-x86-64-linux-gnu-base_4.6.3-5_i386.deb'.
touch stamps/08-binary-stamp-base
dh_testdir
dh_testroot
mv stamps/07-install-stamp stamps/07-install-stamp-tmp
rm -rf debian/libmudflap0-4.6-dev-amd64-cross
dh_installdirs -plibmudflap0-4.6-dev-amd64-cross usr/share/doc/gcc-4.6-x86-64-linux-gnu-base/mudflap DH_COMPAT=2 dh_movefiles -plibmudflap0-4.6-dev-amd64-cross usr/lib/gcc/x86_64-linux-gnu/4.6/include/mf-runtime.h dh_movefiles: Compatibility levels before 5 are deprecated (level 2 in use) dh_installdirs -plibmudflap0-4.6-dev-amd64-cross usr/lib/gcc/x86_64-linux-gnu/4.6 DH_COMPAT=2 dh_movefiles -plibmudflap0-4.6-dev-amd64-cross usr/lib/gcc/x86_64-linux-gnu/4.6/libmudflap*.a dh_movefiles: Compatibility levels before 5 are deprecated (level 2 in use)
rm -f debian/tmp/usr/x86_64-linux-gnu/lib/libmudflap*.so
mv debian/tmp/usr/x86_64-linux-gnu/lib/libmudflap*.a debian/libmudflap0-4.6-dev-amd64-cross/usr/lib/gcc/x86_64-linux-gnu/4.6/ mv: cannot stat `debian/tmp/usr/x86_64-linux-gnu/lib/libmudflap*.a': No such file or directory
make[1]: *** [stamps/08-binary-stamp-libmudflapdev] Error 1
make[1]: Leaving directory `/home/adrian/devel/cross-compiler/gcc-4.6-4.6.3'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

And I found the files libmudflap*.a in the director lib64 not in lib.


On 05/02/2012 10:28 AM, Adrian Ban wrote:
Hi,

I'm using this:
export DEB_CROSS_NO_BIARCH=yes

before starting to compile the GCC.

I've take a look found that libgcc_s.so.1 is in this folder:

debian/tmp/usr/x86_64-linux-gnu/lib64
not in
debian/tmp/usr/x86_64-linux-gnu/lib

Best regards,
Adrian

On 05/01/2012 02:04 PM, Matthias Klose wrote:
dh_testdir
dh_testroot
mv stamps/07-install-stamp stamps/07-install-stamp-tmp
rm -rf debian/libgcc1-amd64-cross debian/libgcc1-dbg-amd64-cross
dh_installdirs -plibgcc1-amd64-cross usr/share/doc/libgcc1-amd64-cross
usr/x86_64-linux-gnu/lib
mv debian/tmp/usr/x86_64-linux-gnu/lib/libgcc_s.so.1
debian/libgcc1-amd64-cross/usr/x86_64-linux-gnu/lib/.
mv: cannot stat `debian/tmp/usr/x86_64-linux-gnu/lib/libgcc_s.so.1': No such
file or directory
make[1]: *** [stamps/08-binary-stamp-libgcc] Error 1
find out where this file gets installed instead. I think that nobody tried yet
to build a cross compiler targeting a biarch target. patches welcome.



--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa10a94.1050...@mantech.ro

Reply via email to