Have the glibc build use the cross-objdump, rather than the host one.
On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail.
This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump.
Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-(
/trunk/patches/glibc/2.7/220-objdump_for_host.patch | 13 13 0 0 +++++++++
/trunk/scripts/build/libc_glibc.sh | 37 21 16 0 +++++++++++++++------------
2 files changed, 34 insertions(+), 16 deletions(-)
1 Patch from buildroot, updated to binutils-2.18.50.0.6.
3 binutils-2.18.50.0.6/configure | 2 1 1 0 +-
4 binutils-2.18.50.0.6/configure.ac | 2 1 1 0 +-
5 2 files changed, 2 insertions(+), 2 deletions(-)
7 diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
8 --- binutils-2.18.50.0.6.orig/configure 2008-04-03 18:54:04.000000000 +0200
9 +++ binutils-2.18.50.0.6/configure 2008-05-02 23:18:42.000000000 +0200
11 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
14 - arm*-*-linux-gnueabi)
15 + arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
16 noconfigdirs="$noconfigdirs target-qthreads"
17 noconfigdirs="$noconfigdirs target-libobjc"
18 case ${with_newlib} in
19 diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
20 --- binutils-2.18.50.0.6.orig/configure.ac 2008-04-03 18:54:04.000000000 +0200
21 +++ binutils-2.18.50.0.6/configure.ac 2008-05-02 23:18:01.000000000 +0200
23 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
26 - arm*-*-linux-gnueabi)
27 + arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
28 noconfigdirs="$noconfigdirs target-qthreads"
29 noconfigdirs="$noconfigdirs target-libobjc"
30 case ${with_newlib} in