From: Adrian Bunk <bunk@kernel.org>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Jiri Slaby <jirislaby@gmail.com>, Sam Ravnborg <sam@ravnborg.org>,
Linux kernel mailing list <linux-kernel@vger.kernel.org>,
Michael Buesch <mb@bu3sch.de>,
Gordon Farquharson <gordonfarquharson@gmail.com>
Subject: Re: crossbuild fails in modpost
Date: Sun, 18 May 2008 23:42:58 +0300 [thread overview]
Message-ID: <20080518204258.GL8140@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <alpine.LNX.1.10.0805182155011.15590@fbirervta.pbzchgretzou.qr>
On Sun, May 18, 2008 at 09:55:58PM +0200, Jan Engelhardt wrote:
>
> On Thursday 2008-05-15 22:46, Adrian Bunk wrote:
> >>
> >> Well, the compiler is the same, but it's told to compile the kernel with
> >> -m64. It runs on x86_64 kernel and i386 userspace. It's debian i386 gcc
> >> package which understands x86_64 objects too. No SUBARCH option, it seems
> >> to default to x86_64.
> >>...
> >
> >Unless you manually fiddle with ARCH you can only build a kernel with
> >the same 32<->64bit setting as your currently running kernel (no matter
> >which userspace you use)...
>
> echo -en '#!/bin/bash\nexec gcc -m32 "$@"\n' >/usr/local/bin/i386-linux-gcc
> make CC=i386-linux-gcc
> then the if($(CC),$(HOSTCC)) check should get true.
No doubt that you can work around the problem.
But that's not a solution.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-05-18 20:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 13:44 Jiri Slaby
2008-05-15 17:12 ` Jiri Slaby
2008-05-15 17:35 ` Sam Ravnborg
2008-05-15 17:40 ` Sam Ravnborg
2008-05-15 19:19 ` Jiri Slaby
2008-05-15 20:46 ` Adrian Bunk
2008-05-18 19:55 ` Jan Engelhardt
2008-05-18 20:42 ` Adrian Bunk [this message]
2008-05-18 21:15 ` Jan Engelhardt
2008-05-23 23:58 ` David Woodhouse
2008-05-24 4:46 ` Jan Engelhardt
2008-05-18 21:31 ` Sam Ravnborg
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=20080518204258.GL8140@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=gordonfarquharson@gmail.com \
--cc=jengelh@medozas.de \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mb@bu3sch.de \
--cc=sam@ravnborg.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
all inboxes | Powered by JetHome®