linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Mattia Dongili <malattia@linux.it>,
	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 14:44:20 -0700	[thread overview]
Message-ID: <4499BDB4.6060503@zytor.com> (raw)
In-Reply-To: <20060621143450.41129b01.akpm@osdl.org>

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

The cmpl should have its arguments reversed.  It's quite possible some versions of the 
assembler accepts the form given, but they're wrong (and doubly confusing when used as 
input to sbb.)

	-hpa

  reply	other threads:[~2006-06-21 21:48 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 [this message]
2006-06-21 21:51             ` Mattia Dongili
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=4499BDB4.6060503@zytor.com \
    --to=hpa@zytor.com \
    --cc=76306.1226@compuserve.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malattia@linux.it \
    --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).