From: "R. J. Wysocki" <rjwysocki@sisk.pl>
To: Andrew Morton <akpm@osdl.org>
Cc: akpm@zip.com.au, ak@muc.de, linux-kernel@vger.kernel.org
Subject: Re: 2.6.6-rc3-mm2 does not build on AMD64 + essential patch is missing
Date: Thu, 6 May 2004 21:38:08 +0200 [thread overview]
Message-ID: <200405062138.08701.rjwysocki@sisk.pl> (raw)
In-Reply-To: <20040505135834.5edfa5b1.akpm@osdl.org>
On Wednesday 05 of May 2004 22:58, Andrew Morton wrote:
> "R. J. Wysocki" <rjwysocki@sisk.pl> wrote:
> > Hi,
> >
> > The 2.6.6-rc3-mm2 kernel does not buld on AMD64 w/ NUMA, it appears.
> > Here's what the gcc says:
> >
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> >
> > arch/x86_64/ia32/built-in.o(.text+0xa164): In function
`ia32_setup_arg_pages':
> > : undefined reference to `mpol_set_vma_default'
> >
> > kernel/built-in.o(.text+0x9ba0): In function `do_exit':
> > : undefined reference to `mpol_free'
> >
> > make: *** [.tmp_vmlinux1] Error 1
>
> Thanks. The below should fix it.
It does, but additionally "#include <linux/mempolicy.h>" has to be added in
"ia32_binfmt.c":
diff -Naur linux-2.6.6-rc3-mm2/arch/x86_64/ia32/ia32_binfmt.c
linux-2.6.6-rc3-mm2.new/arch/x86_64/ia32/ia32_binfmt.c
--- linux-2.6.6-rc3-mm2/arch/x86_64/ia32/ia32_binfmt.c 2004-05-05
21:06:39.000000000 +0200
+++ linux-2.6.6-rc3-mm2.new/arch/x86_64/ia32/ia32_binfmt.c 2004-05-05
21:01:43.398886976 +0200
@@ -14,6 +14,7 @@
#include <linux/string.h>
#include <linux/binfmts.h>
#include <linux/mm.h>
+#include <linux/mempolicy.h>
#include <linux/security.h>
#include <asm/segment.h>
> > (attached is the .config). Also, IMHO, the patch:
[cut]
> > should be applied to it, so that it does not crash at init.
>
> Are you sure? This patch should no longer be necessary, because the
> default was changed in kernel/fork.c
Of course you're right, though some other architectures (eg. i386) do have it
(is it necessay there any longer?).
Greets,
RJW
next prev parent reply other threads:[~2004-05-06 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-05 20:13 R. J. Wysocki
2004-05-05 20:58 ` Andrew Morton
2004-05-06 19:38 ` R. J. Wysocki [this message]
2004-05-06 7:43 ` Andi Kleen
2004-05-06 7:47 ` Christoph Hellwig
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=200405062138.08701.rjwysocki@sisk.pl \
--to=rjwysocki@sisk.pl \
--cc=ak@muc.de \
--cc=akpm@osdl.org \
--cc=akpm@zip.com.au \
--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
all inboxes | Powered by JetHome®