From: Rob Landley <rob@landley.net>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>, Greg Ungerer <gerg@snapgear.com>,
linux-kernel@vger.kernel.org, dwmw2@infradead.org,
linux-next@vger.kernel.org
Subject: Re: make headers_install broken for ARCH=m68k in 2.6.29-rc7.
Date: Thu, 12 Mar 2009 22:25:03 -0500 [thread overview]
Message-ID: <200903122225.04560.rob@landley.net> (raw)
In-Reply-To: <10f740e80903121540i30fdaddr600ce21f4159530a@mail.gmail.com>
On Thursday 12 March 2009 17:40:02 Geert Uytterhoeven wrote:
> On Thu, Mar 12, 2009 at 22:02, Sam Ravnborg <sam@ravnborg.org> wrote:
> >> And, yes, I can confirm the m68k include/asm/unistd.h from linux-next
> >> actually has contents, thanks to commit
> >> 646652bded41f4c3bd375b4e03a25b42da93f40b
> >>
> >> Anyway, here's hoping the fix makes it into 2.6.29.
> >
> > Why not telling the m68k maintainer that you think it should go into
> > 2.6.29?
I contacted the headers_install maintainer about a headers_install problem,
and was pointed to an existing fix upstream. This seemed to imply awareness
of the problem?
Happy to follow up more, wasn't aware it was required...
> There are a few more:
>
> param.h:#include "param_no.h"
> param.h:#include "param_mm.h"
> ptrace.h:#include "ptrace_no.h"
> ptrace.h:#include "ptrace_mm.h"
> setup.h:#include "setup_no.h"
> setup.h:#include "setup_mm.h"
> sigcontext.h:#include "sigcontext_no.h"
> sigcontext.h:#include "sigcontext_mm.h"
> siginfo.h:#include "siginfo_no.h"
> siginfo.h:#include "siginfo_mm.h"
> signal.h:#include "signal_no.h"
> signal.h:#include "signal_mm.h"
> swab.h:#include "swab_no.h"
> swab.h:#include "swab_mm.h"
>
> Rob, do these also causes problems?
> Some (not all) of them are fixed in linux-next.
I'm trying to build uClibc against the new headers. I just got around to
extracting the patch to fix that one file and testing it in my build system,
and this time it broke with:
build/cross-compiler-m68k/include/asm/param.h:4:22: error: param_mm.h: No
such file or directory
So yeah, it's still unhappy. Dunno how many of these are still needed to
build the cross compiler, and then who knows what other packages need to
build. Presumably all of it.
Keep in mind I still haven't found an emulator for m68k that actually boots a
linux kernel, so my m68k support is purely theoretical. (I poked at mess and
uae a bit today, but they don't do the "qemu -kernel" thing I'm using for the
other targets, and qemu itself only seems to support coldfire and not a full-
blown m68k.) I'm following up on this because it's a regression. Under
2.6.28 the m68k target was building a kernel and root filesystem, but I don't
have hardware to run it and have never been able to test it, so isn't really
very useful for me. It's really just there so that if qemu grows the rest of
m68k support (patches have been submitted but not merged), I'll be ready.
P.S. If you're bored and want to try my test build for yourself:
wget http://impactlinux.com/hg/firmware/archive/tip.tar.bz2
tar xvjf tip.tar.bz2
cd firmware-*
USE_UNSTABLE=linux ./build.sh m68k
Without the USE_UNSTABLE=linux it uses 2.6.28 and builds to completion, with
it the build uses 2.6.29-rc7 (or whatever URL's listed as the UNSTABLE= value
for linux in download.sh) and it breaks trying to add uClibc to the cross
compiler.
But then anything that actually _uses_ the "make headers_install" output to
build stuff against should notice pretty quickly whether or not it #includes
missing files.
Rob
next prev parent reply other threads:[~2009-03-13 3:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200903120437.03837.rob@landley.net>
[not found] ` <20090312095854.GA9398@uranus.ravnborg.org>
2009-03-12 20:03 ` make headers_install broken for ARCH=m68k in 2.6.29-rc7 Rob Landley
2009-03-12 20:58 ` Sam Ravnborg
2009-03-12 23:24 ` Stephen Rothwell
2009-03-12 21:02 ` Sam Ravnborg
2009-03-12 22:40 ` Geert Uytterhoeven
2009-03-13 3:25 ` Rob Landley [this message]
2009-03-13 7:04 ` Greg Ungerer
2009-03-13 8:25 ` Sam Ravnborg
2009-03-13 8:33 ` Geert Uytterhoeven
2009-03-13 8:59 ` Sam Ravnborg
2009-03-13 10:52 ` Greg Ungerer
2009-03-13 12:14 ` Geert Uytterhoeven
2009-03-16 12:40 ` Greg Ungerer
2009-03-16 20:20 ` Rob Landley
2009-03-16 22:08 ` Geert Uytterhoeven
2009-03-16 23:09 ` Greg Ungerer
2009-03-16 23:10 ` Greg Ungerer
2009-03-18 4:03 ` Rob Landley
2009-03-18 5:34 ` Greg Ungerer
2009-03-18 18:12 ` Rob Landley
2009-03-18 23:53 ` Greg Ungerer
2009-03-19 7:59 ` Geert Uytterhoeven
2009-03-19 8:41 ` Rob Landley
2009-03-13 8:25 ` Geert Uytterhoeven
2009-03-13 6:53 ` Greg Ungerer
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=200903122225.04560.rob@landley.net \
--to=rob@landley.net \
--cc=dwmw2@infradead.org \
--cc=geert@linux-m68k.org \
--cc=gerg@snapgear.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sam@ravnborg.org \
/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;
as well as URLs for NNTP newsgroup(s).