From: "H. Peter Anvin" <hpa@zytor.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Alain Knaff <alain@knaff.lu>,
Tvrtko Ursulin <tvrtko.ursulin@sophos.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: 2.6.33-rc1: LZMA kernel fails to decompress
Date: Mon, 28 Dec 2009 11:34:14 -0800 [thread overview]
Message-ID: <4B390836.70100@zytor.com> (raw)
In-Reply-To: <4B37C159.5080202@msgid.tls.msk.ru>
On 12/27/2009 12:19 PM, Michael Tokarev wrote:
>
> What I think should be done here is to revert my patch (that replaces
> /bin/echo with printf, so that /bin/echo will be used) and test the
> real solution, which is to stop doing all this hackery altogether,
> and calculate the size the right way instead. Sam already posted a
> possible solution, and it seems to be correct.
>
Yes, but it moves the calculation from generic to x86-specific code,
which makes it problematic.
I never figured out how to make a generic rule in Kbuild (unlike in
standard GNU make) depend on a helper application, but doing a helper
application for this is probably the sane thing.
Either this, or use Perl, which handles this kind of crap sanely. I'm
really less than half joking.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
next prev parent reply other threads:[~2009-12-28 19:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 16:43 2.6.33-rc1: LZMA kernel fails to decompress Tvrtko Ursulin
2009-12-21 16:45 ` Tvrtko Ursulin
2009-12-21 21:43 ` Michael Tokarev
2009-12-27 18:50 ` Alain Knaff
2009-12-27 20:19 ` Michael Tokarev
2009-12-28 19:34 ` H. Peter Anvin [this message]
2009-12-28 22:15 ` John Stoffel
2009-12-28 23:05 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B390836.70100@zytor.com \
--to=hpa@zytor.com \
--cc=alain@knaff.lu \
--cc=linux-kernel@vger.kernel.org \
--cc=mjt@tls.msk.ru \
--cc=torvalds@linux-foundation.org \
--cc=tvrtko.ursulin@sophos.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox