linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: Nix <nix@esperi.org.uk>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] PATCH [02/03]: eliminate skas_ptrace.h
Date: Thu, 7 Dec 2006 13:41:32 +0100	[thread overview]
Message-ID: <200612071341.33101.blaisorblade@yahoo.it> (raw)
In-Reply-To: <87zma7ffin.fsf@hades.wkstn.nix>

On Friday 01 December 2006 22:54, Nix wrote:
> On 1 Dec 2006, nix@esperi.org.uk uttered the following:
> > On 29 Nov 2006, blaisorblade@yahoo.it uttered the following:
> >> arch/um/os-Linux/start_up.o is in USER_OBJS, so it is compiled against
> >> host headers.
> >> You cannot _depend_ on them including the SKAS patch, as I said. And
> >> that header is in arch/um/include to be includable by both kernelspace
> >> and userspace files...
> >
> > Oh, hell, true. The problem is that we'll have to cater for people who
> > *have* included the skas headers, including the old ones...
>
> No we won't: kernel building includes things from the Linux source
> tree's includes directory, not /usr/include/asm, so what people have in
> /usr/include/asm/ptrace.h should be irrelevant.
For userspace files there's anyway a problem, since they _do_ 
use /usr/include/asm/ptrace.h .

> (I have now reproduced this failure both with and without the skas patch
> in the headers installed via `make headers_install'.)
>
> Or is it that userspace stuff includes /usr/include/asm/*, kernelspace
> stuff includes include/asm-{whatever} from the kernel tree, but nothing
> includes both, so we need *some* things in some third location where
> both can see them?
Exactly, the third location is arch/um/include for UML (it must be used for 
things needed only by userspace files, but is also used for some things which 
would be in include/asm-um).
> (If that's so, I don't see how my patch built at all. Hm.)
Bad dependency tracking ? I doubt that however...
-- 
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2006-12-07 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26 21:03 [uml-devel] PATCH [02/03]: eliminate skas_ptrace.h Nix
2006-11-29 16:06 ` Blaisorblade
2006-12-01 15:16   ` Nix
2006-12-01 21:54     ` Nix
2006-12-07 12:41       ` Blaisorblade [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=200612071341.33101.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=nix@esperi.org.uk \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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