diff options
author | H. Peter Anvin <hpa@zytor.com> | 2013-02-14 15:13:55 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-02-16 23:17:25 +0100 |
commit | 70730bca1331fc50c3caacaea00439de1325bd6e (patch) | |
tree | 43c9db2193af32e5aec6794dd67e0ae331380c31 /scripts | |
parent | 6543becf26fff612cdadeed7250ccc8d49f67f27 (diff) | |
download | op-kernel-dev-70730bca1331fc50c3caacaea00439de1325bd6e.zip op-kernel-dev-70730bca1331fc50c3caacaea00439de1325bd6e.tar.gz |
kernel: Replace timeconst.pl with a bc script
bc is the standard tool for multi-precision arithmetic. We switched
to Perl because akpm reported a hard-to-reproduce build hang, which
was very odd because affected and unaffected machines were all running
the same version of GNU bc.
Unfortunately switching to Perl required a really ugly "canning"
mechanism to support Perl < 5.8 installations lacking the Math::BigInt
module.
It was recently pointed out to me that some very old versions of GNU
make had problems with pipes in subshells, which was indeed the
construct used in the Makefile rules in that version of the patch;
Perl didn't need it so switching to Perl fixed the problem for
unrelated reasons. With the problem (hopefully) root-caused, we can
switch back to bc and do the arbitrary-precision arithmetic naturally.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions