From: Jody McIntyre <scjody@sun.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com
Subject: Re: [PATCH] Fix compile error in arch/x86/kernel/syscall_64.c
Date: Wed, 03 Dec 2008 16:23:45 -0500 [thread overview]
Message-ID: <20081203212345.GD7080@clouds> (raw)
In-Reply-To: <4936E96B.6090706@zytor.com>
On Wed, Dec 03, 2008 at 12:17:47PM -0800, H. Peter Anvin wrote:
> I was particularly suspicious because you said "one of my systems",
> which implies other systems don't behave that way...
I have one other system that can build this kernel, and one that gets
further. The differences are gcc version (all distro-supplied),
.config, and in one case X86_32 vs. X86_64.
> Now, the syscall_64.i you sent me is the working version, right? Could
> you send me the non-working version, too?
That's the non-working version. I just verified:
root@vm1:~/linux-2.6# make clean && make arch/x86/kernel/syscall_64.o
[...]
CC arch/x86/kernel/syscall_64.o
arch/x86/kernel/syscall_64.c:27: error: array index in initializer exceeds array bounds
arch/x86/kernel/syscall_64.c:27: error: (near initialization for ‘sys_call_table’)
arch/x86/kernel/syscall_64.c:27: warning: excess elements in array initializer
arch/x86/kernel/syscall_64.c:27: warning: (near initialization for ‘sys_call_table’)
make[1]: *** [arch/x86/kernel/syscall_64.o] Error 1
make: *** [arch/x86/kernel/syscall_64.o] Error 2
root@vm1:~/linux-2.6# make arch/x86/kernel/syscall_64.i
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CPP arch/x86/kernel/syscall_64.i
The resulting .i file is identical (checked md5sum) to the one on the
http site: http://downloads.lustre.org/people/scjody/lkml/syscall_64.i
Cheers,
Jody
next prev parent reply other threads:[~2008-12-03 21:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 21:51 [PATCH] Fix compile error in arch/x86/kernel/syscall_64.c Jody McIntyre
2008-12-03 18:00 ` H. Peter Anvin
2008-12-03 19:50 ` Jody McIntyre
2008-12-03 20:17 ` H. Peter Anvin
2008-12-03 21:23 ` Jody McIntyre [this message]
2008-12-04 14:32 ` Arnd Bergmann
2008-12-04 19:07 ` Jody McIntyre
2008-12-04 19:12 ` H. Peter Anvin
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=20081203212345.GD7080@clouds \
--to=scjody@sun.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/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