Hi

I wonder if the problem described below relates to this bug. I tried
to build a cross-compiler for for the arm architecture by following
the instructions at

http://wiki.debian.org/BuildingCrossCompilers

When building gcc, I get

PATH=/usr/share/dpkg-cross:$PATH dh_strip -pgcc-4.1-arm-linux-gnu
+ /usr/bin/arm-linux-gnu-strip --remove-section=.comment --remove-section=.note
debian/gcc-4.1-arm-linux-gnu/usr/bin/arm-linux-gnu-gcc-4.1
/usr/bin/arm-linux-gnu-strip: Unable to recognise the format of the
input file `debian/gcc-4.1-arm-linux-gnu/usr/bin/arm-linux-gnu-gcc-4.1'
dh_strip: command returned error code 256
make[1]: *** [stamps/08-binary-stamp-gcc] Error 1
make[1]: Leaving directory
`/home/gordon/projects/nslu2/src/cross-toolchain/gcc-4.1-4.1.1'
make: *** [binary] Error 2

The file reported in the error is of type

$ file debian/gcc-4.1-arm-linux-gnu/usr/bin/arm-linux-gnu-gcc-4.1

debian/gcc-4.1-arm-linux-gnu/usr/bin/arm-linux-gnu-gcc-4.1: ELF 32-bit
LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1,
dynamically linked (uses shared libs), for GNU/Linux 2.4.1, not
stripped

I posted this message to debian-users, but got no response.

I am using the following package versions:

gcc-4.1-base, 4.1.1-11
libc6 Version: 2.3.6.ds1-4
binutils 2.17-2
linux-kernel-headers 2.6.17.6-1
debhelper 5.0.37.3
dpkg-cross 1.30

Am I doing something wrong, or is this a bug ?

--
Gordon Farquharson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to