From: Blaisorblade <blaisorblade@yahoo.it>
To: Nix <nix@esperi.org.uk>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] PATCH [00/03]: allow building of UML with skas headers installed via `make headers_install'
Date: Thu, 7 Dec 2006 13:38:23 +0100 [thread overview]
Message-ID: <200612071338.23974.blaisorblade@yahoo.it> (raw)
In-Reply-To: <877ixby7ep.fsf@hades.wkstn.nix>
On Friday 01 December 2006 16:15, Nix wrote:
> On 29 Nov 2006, blaisorblade@yahoo.it verbalised:
> > On Sunday 26 November 2006 22:02, Nix wrote:
> >> However, other problems are so-far undescribed. There's one trivial one
> >> (fixed in patch 3 in this series, should be uncontroversial).
> >
> > Agreed.
>
> Oh good, that's the only one I was confident of.
>
> >> And then there's this:
> >>
> >> CC arch/um/os-Linux/process.o
> >> In file included from arch/um/include/skas_ptrace.h:12,
> >> from arch/um/os-Linux/process.c:23:
> >> arch/um/include/sysdep/skas_ptrace.h:9: error: redefinition of `struct
> >> ptrace_faultinfo' arch/um/include/sysdep/skas_ptrace.h:14: error:
> >> redefinition of `struct ptrace_ldt'
> >>
> >> The problem is that I installed my host kernel's headers, and that
> >> kernel has the skas patch installed, so the skas ptrace structures
> >> are already defined in <asm/ptrace.h>. Thankfully it's guarded by a
> >> #define that we can test, but even so we need to split that SKAS
> >> section out into a new header. (diff attached, not gitted since
> >> the SKAS part isn't maintained in git anyway.)
> >>
> >> So the following patches are a terribly provisional way to fix this:
> >> it works but it may not maintain the separation between skas and
> >> mainline that you want.
> >
> > You maybe refer to the problem that without SKAS in host headers the
> > resulting UML tree does not compile?
>
> I *have* SKAS in the host headers. That's the problem (and it arguably
> shouldn't be).
Yes, I understood this, but with your patches the set of people having a
problem is complemented (whoever _hasn't_ SKAS in host headers has a
problem).
> > Yes, it is a problem. You are trying to
> > remove all duplications, and probably you should avoid them. Define a
> > macro to test with a more reasonable name (say __UML_SKAS_SUPPORT ...).
>
> OK, will do. I just thought that cutting the skas-ptrace stuff into its
> own header, rather than duplicating pieces of it between arch/ and
> include/um/, seemed more immediately reasonable.
--
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
prev parent reply other threads:[~2006-12-07 12:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-26 21:02 [uml-devel] PATCH [00/03]: allow building of UML with skas headers installed via `make headers_install' Nix
2006-11-29 16:02 ` Blaisorblade
2006-12-01 15:15 ` Nix
2006-12-07 12:38 ` 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=200612071338.23974.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