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] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0812161502530.25356@gandalf.stny.rr.com>
Date:	Tue, 16 Dec 2008 15:06:45 -0500 (EST)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Sam Ravnborg <sam@...nborg.org>
cc:	linux-kbuild@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	zippel@...ux-m68k.org, Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: Better way to force a rebuild


On Sun, 14 Dec 2008, Steven Rostedt wrote:
> 
> On Sun, 14 Dec 2008, Sam Ravnborg wrote:
> 
> > On Wed, Dec 10, 2008 at 10:28:21PM +0100, Sam Ravnborg wrote:
> > > 
> > > I made the following quick hack.
> > > I think it should do the trick.
> > > 
> > > 	Sam
> > > 
> > > diff --git a/scripts/Makefile.build b/scripts/Makefile.build
> > > index 468fbc9..8b5bf43 100644
> > > --- a/scripts/Makefile.build
> > > +++ b/scripts/Makefile.build
> > > @@ -215,7 +215,8 @@ define rule_cc_o_c
> > >  	$(call echo-cmd,cc_o_c) $(cmd_cc_o_c);				  \
> > >  	$(cmd_modversions)						  \
> > >  	$(cmd_record_mcount)						  \
> > > -	scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' >    \
> > > +	scripts/basic/fixdep $(depfile) $@                                \
> > > +	'$(call make-cmd,cc_o_c) $(call make-cmd,record_mcount)' >        \
> > >  	                                              $(dot-target).tmp;  \
> > >  	rm -f $(depfile);						  \
> > >  	mv -f $(dot-target).tmp $(dot-target).cmd
> > 
> > Hi Steven.
> > 
> > Did you try the above?
> > If it works I will add it to kbuild-next.git
> 
> I started to but got distracted :-/   I'll retry it on Monday.

Hi Sam,

Sorry for taking so long to get back to you, but my hard drive for my 
laptop is on the fritz, and I'm busy making sure everything is backed up.

I tried this patch and it does not seem to do what I want :-(

You can test it too, just compile the kernel with CONFIG_FUNCTION_TRACER
and CONFIG_DYNAMIC_FTRACE enabled, and then compile again with just 
disabling CONFIG_DYNAMIC_FTRACE (keep CONFIG_FUNCTION_TRACER enabled). If 
the entire kernel does not compile again, then it did not work.

-- Steve

Oh, you need to add this patch first:

---
 include/linux/kernel.h |    5 -----
 1 file changed, 5 deletions(-)

Index: linux-trace.git/include/linux/kernel.h
===================================================================
--- linux-trace.git.orig/include/linux/kernel.h	2008-11-20 14:36:55.000000000 -0500
+++ linux-trace.git/include/linux/kernel.h	2008-12-10 16:54:16.000000000 -0500
@@ -535,9 +535,4 @@ struct sysinfo {
 #define NUMA_BUILD 0
 #endif
 
-/* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */
-#ifdef CONFIG_FTRACE_MCOUNT_RECORD
-# define REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD
-#endif
-
 #endif
--
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