linux-um archives
 help / color / mirror / Atom feed
From: Antoine Martin <antoine@nagafix.co.uk>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?
Date: Sat, 14 Jul 2007 10:23:25 +0100	[thread overview]
Message-ID: <4698960D.8070100@nagafix.co.uk> (raw)
In-Reply-To: <20070713184441.GB9472@c2.user-mode-linux.org>


>> My kernel headers are also missing elf.h, so this doesn't work either...
>>     
>
> elf.h is supposedly exported in 2.6.22, although I guess someone took the
> comment seriously:
>
> 	# These probably shouldn't be exported
> 	unifdef-y += shmparam.h
> 	unifdef-y += elf.h
> 	unifdef-y += page.h
>
> So, I have no idea how userspace is supposed to figure out how big a
> buffer to pass to PTRACE_GETFPREGS and PTRACE_GETFPXREGS.  I think the
> headers are broken here.
>
>   
>> It is included in page.h:
>>
>>  CC      arch/um/sys-i386/user-offsets.s
>> In file included from /usr/include/asm/user.h:5,
>>                 from arch/um/sys-i386/user-offsets.c:7:
>> /usr/include/asm/page.h:4:25: error: linux/const.h: No such file or 
>> directory
>>     
>
> This is just broken, then.  The headers should at least have no
> dangling includes.
>   
page.h wasn't there to start with, I added it by hand - so it isn't as 
bad, but building without page.h looks hard...
>   
>> I get the same error as above because user.h includes  asm/page.h
>>     
>
> Hummm, I guess the header tidying people need to fix a bunch of
> things.  I'll make whatever changes needed in UML to not use illicit
> headers, but I do need complete interface definitions, as with the FP
> stuff.
>   
I don't mind bugging people to get to the bottom of this, do you know 
where to knock?
I can't find anything in MAINTAINERS.

Antoine

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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:[~2007-07-14  9:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 11:06 [uml-devel] ARCH=um SUBARCH=i386 breakage? Antoine Martin
2007-07-13 12:03 ` Antoine Martin
2007-07-13 15:57   ` Jeff Dike
2007-07-13 17:41     ` Antoine Martin
2007-07-13 18:44       ` Jeff Dike
2007-07-14  9:23         ` Antoine Martin [this message]
2007-07-14 12:00           ` Jeff Dike
2007-07-15 17:08             ` Antoine Martin
2007-07-19  1:13               ` Daniel Gryniewicz
2007-07-19  1:25                 ` Jeff Dike
2007-07-19 19:54                 ` Antoine Martin

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=4698960D.8070100@nagafix.co.uk \
    --to=antoine@nagafix.co.uk \
    --cc=jdike@addtoit.com \
    --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