From: Wolfgang Mauerer <wolfgang@top.mynetix.de>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] [TRIVIAL PATCH] Cross-compile fix
Date: Sun, 23 Mar 2003 19:11:25 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590723705294@msgid-missing> (raw)
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
--- a/arch/ia64/Makefile Wed Mar 5 04:28:56 2003
+++ b/arch/ia64/Makefile Sat Mar 22 15:38:15 2003
@@ -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 \
--- a/arch/ia64/scripts/check-gas Wed Mar 5 04:29:33 2003
+++ b/arch/ia64/scripts/check-gas Sat Mar 22 15:38:27 2003
@@ -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
next reply other threads:[~2003-03-23 19:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-23 19:11 Wolfgang Mauerer [this message]
2003-03-24 21:57 ` [Linux-ia64] [TRIVIAL PATCH] Cross-compile fix David Mosberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590723705294@msgid-missing \
--to=wolfgang@top.mynetix.de \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.