[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200802131215.23297.rob@landley.net>
Date: Wed, 13 Feb 2008 12:15:22 -0600
From: Rob Landley <rob@...dley.net>
To: linux-kernel@...r.kernel.org
Cc: torvalds@...ux-foundation.org, hpa@...or.com
Subject: No, you do NOT already need perl to build the kernel!
Please revert commit bdc807871d58285737d50dc6163d0feb72cb0dc2 because it's
based on a false assumption:
> At Ralf Baechle's suggestion, this version uses a Perl script to
> compute the necessary constants. We already have dependencies on Perl for
> kernel compiles.
You do NOT need perl to build the kernel. Perl is used in various debugging
tools for stack checking and stuff (just like python is used in
bloat-o-meter). But perl is NOT required to compile the kernel, and never
has been. Not on x86, x86-64, arm, mips, powerpc, super hitachi, or sparc.
(Haven't personally tested the others recently.)
I submitted a patch to _remove_ a perl dependency from the User Mode Linux
build back in 2005. (During the bitkeeper days, although git
b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44 updated said patch to work with
older versions of sed).
Please don't reintroduce this. I can recompile a system from source code
under itself with only seven packages (linux, uClibc, busybox, gcc, binutils,
make, bash), meaning that's the minimal environment I have to bootstrap on a
new hardware platform in order to be able to compile my way up to a full
distro in a self-hosting manner. Adding perl to that would _double_ the
complexity. (Getting perl to cross compile requires involves medieval
torture implements and several lewd acts with a chicken, and that's just for
microperl...)
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
--
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