[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] binutils: slind modifications



On 4/27/06, Nikita V. Youshchenko <yoush@debian.org> wrote:
With your approach, it will fail if dpkg-cross is installed later than
cross-binutils.
Maybe better to fix dpkg-cross? Do you have test cases that fail?
Indeed, I finally got to investigate this problem. It concerns
alternate libc (uclibc) architectures.
For example, we have an uclibc-mipsel toolchain installed (and no
glibc/mipsel at the same time) and we try to strip anything (using
/usr/share/dpkg-cross/strip). detect_arch() calls file to detect the
architecture to be mipsel and not uclibc-mipsel. Since we don't have
mipsel-linux-gnu-strip, but only mipsel-linux-uclibc-strip, it
defaults to /usr/bin/strip which in turn fails due to unsupported
architecture.
See the patch I just sent to the list.
This also eliminates the need for postinst script for binutils.

--
I am free of all prejudices. I hate every one equally.



Reply to: