public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Rob Landley <rob@landley.net>
Cc: linux-kernel@vger.kernel.org,
	uml-devel <user-mode-linux-devel@lists.sourceforge.net>,
	sparclinux@vger.kernel.org
Subject: Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.
Date: Wed, 24 Oct 2007 20:43:29 -0400	[thread overview]
Message-ID: <20071025004329.GA12372@c2.user-mode-linux.org> (raw)
In-Reply-To: <200710241646.54942.rob@landley.net>

On Wed, Oct 24, 2007 at 04:46:54PM -0500, Rob Landley wrote:
> Prebuilt for Ubuntu 7.04:
> http://landley.net/code/firmware/downloads/cross-compiler/host-i686/cross-compiler-sparc.tar.bz2
> 
> Source code:
> Or http://landley.net/code/firmware/downloads/firmware-0.2.2.tar.bz2

Thanks - I already got Dan Kegel's crosstools, and they did the trick.

What I'd like to do is have linux/swap.h include linux/pagemap.h, but
there's this scary comment about that not working on sparc.

When I fix this bug "correctly", sparc expodes into a mess of
interconnected headers which seem to boil down to sparc including
swap.h in pgtable.h when no one else does.

The thing is, sparc looks like it's doing things more correctly than
anyone else.  asm/pgtable.h (i386 and UML, and probably everyone
else except sparc) refers to swp_entry_t, which is defined in
linux/swap.h, without including swap.h and that's somehow OK.

So, from a quick look, it seems like this is a case of our headers
being too interconnected and sparc had to opt out in order to do
things more correctly.

				Jeff

-- 
Work email - jdike at linux dot intel dot com

      reply	other threads:[~2007-10-25  0:43 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11 22:54 User Mode Linux still doesn't build in 2.6.23-final Rob Landley
2007-10-20  0:52 ` [uml-devel] " Paolo Giarrusso
2007-10-20 11:41   ` Nix
2007-10-21 11:48     ` WANG Cong
2007-10-21 13:08       ` Jeff Dike
2007-10-21 13:20         ` WANG Cong
2007-10-21 15:43           ` Al Viro
2007-10-22  4:37             ` WANG Cong
2007-10-22  5:22               ` Al Viro
2007-10-22  6:12                 ` WANG Cong
2007-10-22  6:42                   ` Nix
2007-10-22  6:52                     ` WANG Cong
2007-10-22  6:59                       ` Sam Ravnborg
2007-10-22  7:48                         ` WANG Cong
2007-10-22  7:58                           ` Robert P. J. Day
2007-10-22 11:36                           ` Al Viro
2007-10-22 12:25                             ` WANG Cong
2007-10-22 12:30                               ` Ingo Molnar
2007-10-22 12:39                                 ` WANG Cong
2007-10-22 12:43                               ` Al Viro
2007-10-22 12:45                                 ` Ingo Molnar
2007-10-22 23:14                                   ` Jeremy Fitzhardinge
2007-10-22 23:19                                     ` Ingo Molnar
2007-10-22 23:26                                       ` Jeremy Fitzhardinge
2007-10-22 23:56                                       ` Jeremy Fitzhardinge
2007-10-23  8:45                                         ` Ingo Molnar
2007-10-23 12:55                                           ` Andi Kleen
2007-10-23 13:10                                             ` Ingo Molnar
2007-10-23 14:01                                               ` Andi Kleen
2007-10-23 14:20                                                 ` Ingo Molnar
2007-10-23 14:31                                                   ` Jeremy Fitzhardinge
2007-10-23 14:47                                                     ` Ingo Molnar
2007-10-23 15:11                                                       ` Adrian Bunk
2007-10-23 14:48                                                   ` Andi Kleen
2007-10-23 15:13                                                     ` Ingo Molnar
2007-10-23 15:44                                                       ` Ingo Molnar
2007-10-23 16:57                                                         ` Andi Kleen
2007-10-23 13:25                                           ` Adrian Bunk
2007-10-23 14:20                                           ` Jeremy Fitzhardinge
2007-10-22 15:33                                 ` Jeff Dike
2007-10-22  7:01                       ` Robert P. J. Day
2007-10-22  7:27                   ` Al Viro
2007-10-22 20:24             ` Jeff Dike
2007-10-24 15:22 ` Jeff Dike
2007-10-24 16:14   ` Sam Ravnborg
2007-10-24 21:46   ` Rob Landley
2007-10-25  0:43     ` Jeff Dike [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=20071025004329.GA12372@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@landley.net \
    --cc=sparclinux@vger.kernel.org \
    --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