lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Jan 2008 09:56:12 +0100
From:	Sam Ravnborg <sam@...nborg.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Dave Young <hidave.darkstar@...il.com>,
	Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
	linux-kernel@...r.kernel.org, Zan Lynx <zlynx@....org>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: [2.6.24-rc8-mm1] Locking API boot-time self-tests hangs.

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@...il.com> wrote:
> 
> > On Jan 18, 2008 2:40 PM, Tetsuo Handa
> > <penguin-kernel@...ove.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@...nborg.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ