From: Sam Ravnborg <sam@ravnborg.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Young <hidave.darkstar@gmail.com>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
linux-kernel@vger.kernel.org, Zan Lynx <zlynx@acm.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [2.6.24-rc8-mm1] Locking API boot-time self-tests hangs.
Date: Fri, 18 Jan 2008 09:56:12 +0100 [thread overview]
Message-ID: <20080118085612.GC15956@uranus.ravnborg.org> (raw)
In-Reply-To: <20080118002152.c9e76c51.akpm@linux-foundation.org>
On Fri, Jan 18, 2008 at 12:21:52AM -0800, Andrew Morton wrote:
> On Fri, 18 Jan 2008 14:59:32 +0800 "Dave Young" <hidave.darkstar@gmail.com> wrote:
>
> > On Jan 18, 2008 2:40 PM, Tetsuo Handa
> > <penguin-kernel@i-love.sakura.ne.jp> wrote:
> > > Hello.
> > >
> > > Andrew Morton wrote:
> > > > It could be compiler version dependent. I used gcc-4.1.0. Which version
> > > > were you and Zan using please?
> >
> > I have the same problem, gcc 3.4.6
> >
> > >
> > > I'm using gcc 3.3.5 on Debian/Sarge .
> > >
> > > By the way, 2.6.24-rc8-mm1 doesn't hang with a kernel config
> > >
> > > # make -s allnoconfig
> > > # make -s menuconfig
> > >
> > > Set [*] to all entries in "Kernel hacking --->" section
> > > (except "KGDB: kernel debugging with remote gdb").
> > >
> > > # make -s && make -s install
>
> The only machine I have with gcc-3.x takes an amazing amount of time to
> compile a quite minimal kernel then barfs in headers_install with
>
> CHK include/linux/version.h
> make[1]: `scripts/unifdef' is up to date.
> make[1]: *** No rule to make target `|', needed by `asm-generic'. Stop.
>
> which is a mainline bug, too. ISTR someone else reported it but I don't
> recall it getting fixed.
I know about this bug and I plan to fix it one day.
I have not considered it important because the bug is only triggered
by following connditions:
1) In kernel hacking the check headers options is selected
2) make is older than version 3.80
Documentation/changes do not require us to use make 3.80.
> I think I'll give up on this. Either someone else fixes it or we merge the
> bug into mainline.
One way to fix this is to disable the config option like this.
Sam
[PATCH] kbuild: disable headers_check
The headers_check command requires make version 3.80 due to use
of ordered dependencies. But kernel build does otherwise
not require this recent make.
Disable the option until it get properly fixed.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a601093..98b2431 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -67,7 +67,7 @@ config DEBUG_FS
config HEADERS_CHECK
bool "Run 'make headers_check' when building vmlinux"
- depends on !UML
+ depends on !UML || BROKEN
help
This option will extract the user-visible kernel headers whenever
building the kernel, and will run basic sanity checks on them to
next prev parent reply other threads:[~2008-01-18 8:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 1:20 Tetsuo Handa
2008-01-18 2:19 ` Andrew Morton
2008-01-18 3:19 ` Tetsuo Handa
2008-01-18 4:42 ` Andrew Morton
2008-01-18 6:40 ` Tetsuo Handa
2008-01-18 6:59 ` Dave Young
2008-01-18 8:21 ` Andrew Morton
2008-01-18 8:56 ` Sam Ravnborg [this message]
2008-01-18 9:18 ` Ingo Molnar
2008-01-18 9:38 ` Tetsuo Handa
2008-01-18 9:49 ` Dave Young
2008-01-18 9:19 ` Tetsuo Handa
2008-01-18 16:27 ` Zan Lynx
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=20080118085612.GC15956@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=akpm@linux-foundation.org \
--cc=hidave.darkstar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=zlynx@acm.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
Powered by JetHome