public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [x86] Build error at arch/x86/boot/bioscall.S
Date: Tue, 16 Jun 2009 08:12:26 -0700	[thread overview]
Message-ID: <4A37B65A.3070108@zytor.com> (raw)
In-Reply-To: <200906160738.n5G7cs9r007216@www262.sakura.ne.jp>

Tetsuo Handa wrote:
> Hello.
> 
> I tried to build 03347e2592078a90df818670fddf97a33eec70fb and got this error.
> 
> (...snipped...)
> WARNING: modpost: Found 2 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> /usr/src/all/linux/kernel/git/torvalds/linux-2.6.git/usr/include/linux/netfilter/xt_osf.h:40: found __[us]{8,16,32,64} type without #include <linux/types.h>
> /usr/src/all/linux/kernel/git/torvalds/linux-2.6.git/usr/include/mtd/jffs2-user.h:21: userspace cannot call function or variable defined in the kernel
> Documentation/accounting/getdelays.c: In function `main':
> Documentation/accounting/getdelays.c:249: warning: `cmd_type' might be used uninitialized in this function
> Documentation/spi/spidev_fdx.c: In function `do_msg':
> Documentation/spi/spidev_fdx.c:61: warning: cast from pointer to integer of different size
> Documentation/spi/spidev_fdx.c:64: warning: cast from pointer to integer of different size
> arch/x86/boot/bioscall.S: Assembler messages:
> arch/x86/boot/bioscall.S:68: Error: `68(%esp)' is not a valid 16 bit base/index expression
> make[1]: *** [arch/x86/boot/bioscall.o] Error 1
> make: *** [bzImage] Error 2
> 
> # gcc --version
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 

What version of binutils do you have?

What you're seeing is a bug in gas.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


      parent reply	other threads:[~2009-06-16 18:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16  7:38 [x86] Build error at arch/x86/boot/bioscall.S Tetsuo Handa
2009-06-16  8:14 ` Amerigo Wang
2009-06-16  8:25   ` Tetsuo Handa
2009-06-16  9:30     ` Amerigo Wang
2009-06-16  9:59       ` Michael S. Zick
2009-06-16 11:40       ` Tetsuo Handa
2009-06-16 15:15       ` H. Peter Anvin
2009-06-16 15:15   ` H. Peter Anvin
2009-06-16 21:43     ` Tetsuo Handa
2009-06-16 15:12 ` H. Peter Anvin [this message]

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=4A37B65A.3070108@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    /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