LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "linux-os (Dick Johnson)" <linux-os@analogic.com>
To: "Miklos Szeredi" <miklos@szeredi.hu>
Cc: <jdike@addtoit.com>, <akpm@linux-foundation.org>,
	<linux-kernel@vger.kernel.org>,
	<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: uml and -regparm=3
Date: Wed, 9 Jan 2008 17:01:52 -0500	[thread overview]
Message-ID: <Pine.LNX.4.61.0801091659060.29624@chaos.analogic.com> (raw)
In-Reply-To: <E1JCi3M-0006hO-7i@pomaz-ex.szeredi.hu>


On Wed, 9 Jan 2008, Miklos Szeredi wrote:

> FASTCALL is defined empty in -mm, but UML is not compiled with
> -mregparm=3 and so this breaks things (I noticed problems with
> rwsem_down_write_failed).
>
> Tried recompiling UML with -mregparm=3, but that resulted in a strange
> failure immediately after startup:
>
> |^[%Gÿÿÿÿÿÿ^[%@: Invalid argument
>
> What's up?
>
> Miklos
> --

UML gets linked with the 'C' runtime library. It doesn't
pass parameters in registers unless you get the source and
recompile the whole thing --and then you would have to
recompile all your applications, too. Yikes!


Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips).
My book : http://www.AbominableFirebug.com/
_

****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

  parent reply	other threads:[~2008-01-09 22:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 21:01 Miklos Szeredi
2008-01-09 21:12 ` Andi Kleen
2008-01-09 21:20   ` Miklos Szeredi
2008-01-09 21:32     ` Andi Kleen
2008-01-09 21:50       ` Miklos Szeredi
2008-01-10  2:14         ` Jeff Dike
2008-01-10  2:37           ` Andi Kleen
2008-01-10  2:45             ` H. Peter Anvin
2008-01-09 21:33     ` Adrian Bunk
2008-01-09 22:01 ` linux-os (Dick Johnson) [this message]
2008-01-10  7:32 ` Ingo Molnar
2008-01-10  9:05   ` Miklos Szeredi
2008-01-10  9:35     ` Ingo Molnar

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=Pine.LNX.4.61.0801091659060.29624@chaos.analogic.com \
    --to=linux-os@analogic.com \
    --cc=akpm@linux-foundation.org \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --subject='Re: uml and -regparm=3' \
    /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

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).