Re: [PATCH 1/3]: Replace kernel/timeconst.pl with kernel/timeconst.sh

2009-01-02 Thread Harvey Harrison
On Fri, 2009-01-02 at 06:00 -0600, Rob Landley wrote: > On Friday 02 January 2009 03:04:39 Sam Ravnborg wrote: > > > +# Output start of header file > > > + > > > +cat << EOF > > > +/* Automatically generated by kernel/timeconst.sh */ > > > +/* Conversion constants for HZ == $HZ */ > > > + > > > +#i

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Jamie Lokier
Theodore Tso wrote: > perl is actually quite portable. Portability aside, Perl has another fun issue. The number of times I've had a Perl script break when copied to a newer system which had a newer version of Perl is... noticable. > I'd also suggest explicitly add a reminder to the shell script

Re: [PATCH 1/3]: Replace kernel/timeconst.pl with kernel/timeconst.sh

2009-01-02 Thread H. Peter Anvin
Rob Landley wrote: > > You mean "The new shell script is much simpler, about 1/4 the size, runs on > Red Hat 9 from 2003, and isn't perl?" :) > And introduces unclear environment dependencies depending on how external utilities are implemented. The whole point of why that script was written in

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread H. Peter Anvin
Sam Ravnborg wrote: > Hi Wookey. > >> Given the >> simplicitly of these patches I can't see any reason not to put them >> in > > Please do NOT do the mistake and think this the same thing. > > Rob's patch simplyfy the timecost stuff - and will be applied on > this merit alone assuming comments w

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Sam Ravnborg
Hi Wookey. > Given the > simplicitly of these patches I can't see any reason not to put them > in Please do NOT do the mistake and think this the same thing. Rob's patch simplyfy the timecost stuff - and will be applied on this merit alone assuming comments will be addressed. But the serie rase

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Wookey
On 2009-01-02 18:50 +0900, Paul Mundt wrote: > Your main reasons against inclusion of perl seem to be that there is no > realistic expectation for target systems that will be self-hosting will > have perl included, or the inherent complexity in maintaining a coherent > cross compiling environment.

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Matthieu CASTET
Rob Landley a écrit : > On Friday 02 January 2009 03:26:37 Arkadiusz Miskiewicz wrote: >> On Friday 02 of January 2009, Rob Landley wrote: >> >> Heh, > > I believe all three scripts run under dash and busybox ash. (The > timeconst.sh > one needs 64 bit math which dash only provides on 64 bit ho

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Theodore Tso
On Fri, Jan 02, 2009 at 06:56:31AM -0600, Rob Landley wrote: > That said, how is bash _worse_ than perl? (Where's the second > implementation of perl? Even Python had jython, but perl > has... what? The attempt to rebase on Parrot went down in > flames...) (1) bash implies POSIX extensions; pe

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Rob Landley
On Friday 02 January 2009 03:49:34 Christoph Hellwig wrote: > On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > > On Friday 02 of January 2009, Rob Landley wrote: > > > Before 2.6.25 (specifically git > > > bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux kernel > >

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Rob Landley
On Friday 02 January 2009 03:50:23 Paul Mundt wrote: > On Fri, Jan 02, 2009 at 02:07:28AM -0600, Rob Landley wrote: > > The perl checkin for 2.6.25 was the camel's nose under the tent flap, and > > since then two more instances of perl have shown up in the core kernel > > build. This patch series r

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Mark Miller
On Jan 2, 2009, at 4:57 AM, Paul Mundt wrote: On Fri, Jan 02, 2009 at 04:32:42AM -0600, Mark Miller wrote: On Jan 2, 2009, at 3:50 AM, Paul Mundt wrote: Misguided rhetoric aside, what does this actually accomplish? If folks add meaningful tools in to the kernel that require python, and it is

Re: [PATCH 1/3]: Replace kernel/timeconst.pl with kernel/timeconst.sh

2009-01-02 Thread Rob Landley
On Friday 02 January 2009 03:04:39 Sam Ravnborg wrote: > Hi Rob. > > On Fri, Jan 02, 2009 at 02:13:30AM -0600, Rob Landley wrote: > > From: Rob Landley > > > > Replace kernel/timeconst.pl with kernel/timeconst.sh. The new shell > > script is much simpler, about 1/4 the size, and runs on Red Hat 9

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Sam Ravnborg
On Fri, Jan 02, 2009 at 05:15:32AM -0600, Rob Landley wrote: > On Friday 02 January 2009 04:16:53 Alejandro Mery wrote: > > Christoph Hellwig escribió: > > > On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > > >> On Friday 02 of January 2009, Rob Landley wrote: > > >>> Before

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Matt Keenan
On Fri, 2009-01-02 at 04:30 -0600, Mark Miller wrote: > On Jan 2, 2009, at 4:16 AM, Alejandro Mery wrote: > > > Christoph Hellwig escribió: > >> On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > >> > >>> On Friday 02 of January 2009, Rob Landley wrote: > >>> > Before 2.6

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Rob Landley
On Friday 02 January 2009 04:16:53 Alejandro Mery wrote: > Christoph Hellwig escribió: > > On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > >> On Friday 02 of January 2009, Rob Landley wrote: > >>> Before 2.6.25 (specifically git > >>> bdc807871d58285737d50dc6163d0feb72cb0dc2

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Rob Landley
On Friday 02 January 2009 03:26:37 Arkadiusz Miskiewicz wrote: > On Friday 02 of January 2009, Rob Landley wrote: > > Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 > > ) building a Linux kernel never required perl to be installed on the > > build system. (Various develop

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Paul Mundt
On Fri, Jan 02, 2009 at 04:32:42AM -0600, Mark Miller wrote: > On Jan 2, 2009, at 3:50 AM, Paul Mundt wrote: > >Misguided rhetoric aside, what does this actually accomplish? If folks > >add meaningful tools in to the kernel that require python, and it is > >generally regarded as being fairly ubiqui

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Mark Miller
On Jan 2, 2009, at 3:50 AM, Paul Mundt wrote: On Fri, Jan 02, 2009 at 02:07:28AM -0600, Rob Landley wrote: Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux kernel never required perl to be installed on the build system. (Various development and deb

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Mark Miller
On Jan 2, 2009, at 4:16 AM, Alejandro Mery wrote: Christoph Hellwig escribió: On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: On Friday 02 of January 2009, Rob Landley wrote: Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Alejandro Mery
Christoph Hellwig escribió: > On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > >> On Friday 02 of January 2009, Rob Landley wrote: >> >>> Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) >>> building a Linux kernel never required perl to be i

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Mark Miller
On Jan 2, 2009, at 4:02 AM, Mark Miller wrote: On Jan 2, 2009, at 3:26 AM, Arkadiusz Miskiewicz wrote: On Friday 02 of January 2009, Rob Landley wrote: Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux kernel never required perl to be installed on

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Mark Miller
On Jan 2, 2009, at 3:26 AM, Arkadiusz Miskiewicz wrote: On Friday 02 of January 2009, Rob Landley wrote: Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux kernel never required perl to be installed on the build system. (Various development and debu

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Paul Mundt
On Fri, Jan 02, 2009 at 02:07:28AM -0600, Rob Landley wrote: > Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) > building a Linux kernel never required perl to be installed on the build > system. (Various development and debugging scripts were written in perl and > py

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Christoph Hellwig
On Fri, Jan 02, 2009 at 10:26:37AM +0100, Arkadiusz Miskiewicz wrote: > On Friday 02 of January 2009, Rob Landley wrote: > > Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) > > building a Linux kernel never required perl to be installed on the build > > system. (Various

Re: PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Arkadiusz Miskiewicz
On Friday 02 of January 2009, Rob Landley wrote: > Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) > building a Linux kernel never required perl to be installed on the build > system. (Various development and debugging scripts were written in perl > and python and such,

Re: [PATCH 3/3]: Convert mkcapflags.pl to mkcapflags.sh

2009-01-02 Thread Sam Ravnborg
On Fri, Jan 02, 2009 at 02:15:36AM -0600, Rob Landley wrote: > From: Rob Landley > > Convert kernel/cpu/mkcapflags.pl to kernel/cpu/mkcapflags.sh. > > This script generates kernel/cpu/capflags.c from include/asm/cpufeature.h. OK > Peter Anvin added this perl to 2.6.28. Drop it. Implementation

Re: [PATCH 2/3]: Remove perl from make headers_install

2009-01-02 Thread Sam Ravnborg
On Fri, Jan 02, 2009 at 02:14:32AM -0600, Rob Landley wrote: > From: Rob Landley > > Remove perl from make headers_install by replacing a perl script (doing > a simple regex search and replace) with a smaller and faster shell script > implementation. The new shell script is a single for loop cal

Re: [PATCH 1/3]: Replace kernel/timeconst.pl with kernel/timeconst.sh

2009-01-02 Thread Sam Ravnborg
Hi Rob. On Fri, Jan 02, 2009 at 02:13:30AM -0600, Rob Landley wrote: > From: Rob Landley > > Replace kernel/timeconst.pl with kernel/timeconst.sh. The new shell script > is much simpler, about 1/4 the size, and runs on Red Hat 9 from 2003. This part of the changelog is OK except that is fails

PATCH [0/3]: Simplify the kernel build by removing perl.

2009-01-02 Thread Rob Landley
Before 2.6.25 (specifically git bdc807871d58285737d50dc6163d0feb72cb0dc2 ) building a Linux kernel never required perl to be installed on the build system. (Various development and debugging scripts were written in perl and python and such, but they weren't involved in actually building a kerne

[PATCH 3/3]: Convert mkcapflags.pl to mkcapflags.sh

2009-01-02 Thread Rob Landley
From: Rob Landley Convert kernel/cpu/mkcapflags.pl to kernel/cpu/mkcapflags.sh. This script generates kernel/cpu/capflags.c from include/asm/cpufeature.h. Peter Anvin added this perl to 2.6.28. Signed-off-by: Rob Landley --- arch/x86/kernel/cpu/Makefile |4 +-- arch/x86/kernel/cpu/

[PATCH 2/3]: Remove perl from make headers_install

2009-01-02 Thread Rob Landley
From: Rob Landley Remove perl from make headers_install by replacing a perl script (doing a simple regex search and replace) with a smaller and faster shell script implementation. The new shell script is a single for loop calling sed and piping its output through unifdef to produce the target fi

[PATCH 1/3]: Replace kernel/timeconst.pl with kernel/timeconst.sh

2009-01-02 Thread Rob Landley
From: Rob Landley Replace kernel/timeconst.pl with kernel/timeconst.sh. The new shell script is much simpler, about 1/4 the size, and runs on Red Hat 9 from 2003. Peter Anvin added this perl to 2.6.25. Before that, the kernel had never required perl to build. Signed-off-by: Rob Landley ---