From: Mattia Dongili <malattia@linux.it>
To: Andrew Morton <akpm@osdl.org>
Cc: hpa@zytor.com, mbligh@mbligh.org, linux-kernel@vger.kernel.org,
Chuck Ebbert <76306.1226@compuserve.com>
Subject: Re: fs/binfmt_aout.o, Error: suffix or operands invalid for `cmp' [was Re: 2.6.17-mm1]
Date: Wed, 21 Jun 2006 23:51:57 +0200 [thread overview]
Message-ID: <20060621215157.GA3798@inferi.kami.home> (raw)
In-Reply-To: <20060621143450.41129b01.akpm@osdl.org>
On Wed, Jun 21, 2006 at 02:34:50PM -0700, Andrew Morton wrote:
> On Wed, 21 Jun 2006 23:16:17 +0200
> Mattia Dongili <malattia@linux.it> wrote:
>
> > On Wed, Jun 21, 2006 at 01:42:15PM -0700, Andrew Morton wrote:
> > > On Wed, 21 Jun 2006 21:39:32 +0200
> > > Mattia Dongili <malattia@linux.it> wrote:
> > >
> > > > Thanks, this is fixed, but I have a new failure:
> > > > CC [M] fs/xfs/support/move.o
> > > > CC [M] fs/xfs/support/uuid.o
> > > > LD [M] fs/xfs/xfs.o
> > > > CC fs/dnotify.o
> > > > CC fs/dcookies.o
> > > > LD fs/built-in.o
> > > > CC [M] fs/binfmt_aout.o
> > > > {standard input}: Assembler messages:
> > > > {standard input}:160: Error: suffix or operands invalid for `cmp'
> > > > make[1]: *** [fs/binfmt_aout.o] Error 1
> > > > make: *** [fs] Error 2
> > >
> > > what the heck? Can you do `make fs/binfmt_aout.s' then send the relevant
> > > parts of that file?
> >
> > I can't really tell which is the relevant part other than line 160 :)
> > Full file available here:
> > http://oioio.altervista.org/linux/binfmt_aout.s
> >
>
> It's complaining about this:
>
> #APP
> addl %ecx,%eax ; sbbl %edx,%edx; cmpl %eax,$-1073741824; sbbl $0,%edx # dump.u_dsize, sum, flag,
> #NO_APP
>
> from fs/binfmt_aout.c:154:
>
> if (!access_ok(VERIFY_READ, (void __user *)START_DATA(dump), dump.u_dsize << PAGE_SHIFT))
> dump.u_dsize = 0;
> if (!access_ok(VERIFY_READ, (void __user *)START_STACK(dump), dump.u_ssize << PAGE_SHIFT))
> dump.u_ssize = 0;
>
> the offending code comes from __range_ok()
thanks for the explanation!
> Mad guess: does reverting
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm1/broken-out/i386-use-c-code-for-current_thread_info.patch
> help?
yes, I didn't build the full kernel but a simple
make fs/binfmt_aout.o
is finally successful.
--
mattia
:wq!
next prev parent reply other threads:[~2006-06-21 21:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 18:19 2.6.17-mm1 Martin Bligh
2006-06-21 18:48 ` 2.6.17-mm1 Mattia Dongili
2006-06-21 19:19 ` 2.6.17-mm1 H. Peter Anvin
2006-06-21 19:39 ` fs/binfmt_aout.o, Error: suffix or operands invalid for `cmp' [was Re: 2.6.17-mm1] Mattia Dongili
2006-06-21 20:42 ` Andrew Morton
2006-06-21 21:16 ` Mattia Dongili
2006-06-21 21:34 ` Andrew Morton
2006-06-21 21:44 ` H. Peter Anvin
2006-06-21 21:51 ` Mattia Dongili [this message]
2006-06-21 22:27 ` [PATCH] fix __range_ok constraint Roman Zippel
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=20060621215157.GA3798@inferi.kami.home \
--to=malattia@linux.it \
--cc=76306.1226@compuserve.com \
--cc=akpm@osdl.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@mbligh.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).