From: Thomas Glanzmann <thomas@glanzmann.de>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Regression: Can't compile x86_64 with 32 Bit userland: arch/x86/purgatory/purgatory.c:1:0: error: code model 'large' not supported in the 32 bit mode
Date: Wed, 20 Aug 2014 08:04:24 +0200 [thread overview]
Message-ID: <20140820060423.GA14660@glanzmann.de> (raw)
Hello,
I used to compile 64 Bit Kernel on 32 Bit Userland and until v3.16 it
worked. But with todays git head from Linus it does not:
(mini) [~/work/linux-2.6] make scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
UPD include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC arch/x86/purgatory/purgatory.o
arch/x86/purgatory/purgatory.c:1:0: error: code model 'large' not supported in the 32 bit mode
make[1]: *** [arch/x86/purgatory/purgatory.o] Error 1
make: *** [archprepare] Error 2
I'll do git bisect to identify the offending commit.
I'm using Debian Wheezy 7 32 Bit on x86 with gcc version 4.7.2 (Debian
4.7.2-5).
Cheers,
Thomas
next reply other threads:[~2014-08-20 6:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 6:04 Thomas Glanzmann [this message]
2014-08-20 6:24 ` REGRESSION: 8fc5b4d: Unable to compile x86_64 kernel with x86_32 userland Thomas Glanzmann
2014-08-20 12:56 ` Vivek Goyal
2014-08-20 15:07 ` H. Peter Anvin
2014-08-20 15:48 ` Vivek Goyal
2014-08-20 16:21 ` Thomas Glanzmann
2014-08-20 16:56 ` H. Peter Anvin
2014-08-20 16:16 ` Thomas Glanzmann
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=20140820060423.GA14660@glanzmann.de \
--to=thomas@glanzmann.de \
--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;
as well as URLs for NNTP newsgroup(s).