Cross-compile fix
PATCH 1/1 Cross-compile fix
Hello,
the attached patch (against bk-current) fixes a cross compilation problem by using the target specific objdump tool instead of the host specific one.
Thanks, Wolfgang
arch/ia64/Makefile +1 -1
@@ -23,7 +23,7 @@ GCC_VERSION=$(shell $(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.') -GAS_STATUS=$(shell arch/ia64/scripts/check-gas $(CC)) +GAS_STATUS=$(shell arch/ia64/scripts/check-gas $(CC) $(OBJDUMP)) ifeq ($(GAS_STATUS),buggy) $(error Sorry, you need a newer version of the assember, one that is built from \
arch/ia64/scripts/check-gas +2 -1
@@ -1,8 +1,9 @@ #!/bin/sh dir=$(dirname $0) CC=$1 +OBJDUMP=$2 $CC -c $dir/check-gas-asm.S -res=$(objdump -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ') +res=$($OBJDUMP -r --section .data check-gas-asm.o | fgrep 00004 | tr -s ' ' |cut -f3 -d' ') if [ $res != ".text" ]; then echo buggy else
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Wolfgang Mauerer
Wolfgang> Hello,
Wolfgang> the attached patch (against bk-current) fixes a cross Wolfgang> compilation problem by using the target specific objdump Wolfgang> tool instead of the host specific one.
Looks good to me. Applied.
Thanks,
--david