From: Jeff Dike <jdike@addtoit.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: `make checkstack' and cross-compilation
Date: Fri, 1 Dec 2006 10:30:21 -0500 [thread overview]
Message-ID: <20061201153021.GA4332@ccure.user-mode-linux.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0612011455040.19178@pademelon.sonytel.be>
On Fri, Dec 01, 2006 at 02:58:16PM +0100, Geert Uytterhoeven wrote:
> Makefile has:
> | # Use $(SUBARCH) here instead of $(ARCH) so that this works for UML.
> | # In the UML case, $(SUBARCH) is the name of the underlying
> | # architecture, while for all other arches, it is the same as $(ARCH).
> | checkstack:
> | $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
> | $(PERL) $(src)/scripts/checkstack.pl $(SUBARCH)
>
> While this may fix `make checkstack' for UML, it breaks cross-compilation.
> E.g. when cross-compiling for PPC on ia32, ARCH=powerpc, but SUBARCH=i386.
>
> Probably it should use SUBARCH if ARCH=um, and ARCH otherwise?
Whoops, you're right.
Do you have a patch? If not, I'll make one.
And, do you have a cross-compilation environment which tests this?
Jeff
--
Work email - jdike at linux dot intel dot com
next prev parent reply other threads:[~2006-12-01 15:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-01 13:58 `make checkstack' and cross-compilation Geert Uytterhoeven
2006-12-01 15:30 ` Jeff Dike [this message]
2006-12-01 16:09 ` Geert Uytterhoeven
2006-12-05 18:10 ` Jeff Dike
2006-12-06 9:35 ` Geert Uytterhoeven
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=20061201153021.GA4332@ccure.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox