[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzio is broken
From: |
Timothy Baldwin |
Subject: |
Re: gzio is broken |
Date: |
Sat, 15 Oct 2005 20:55:13 +0100 |
User-agent: |
KMail/1.8.2 |
On Saturday 15 Oct 2005 18:34, Yoshinori K. Okuji wrote:
> On Saturday 15 October 2005 10:07 am, Yoshinori K. Okuji wrote:
> > > Problem 2: Reading gzip files all at once results in corruption of the
> > > data. It can be exposed by this patch:
> >
> > Can you investigate this problem?
>
> I don't see any problem on my laptop (i386). So this might be specific to
> ARM.
It isn't, the problem shows up on my i386 desktop in grub-emu. On i386 at least,
it shows up with a clean source + patch from my last email:
grub> cmp /grub2-20051007.tar /grub2-20051007.tar.gz
Compare `/grub2-20051007.tar' and `/grub2-20051007.tar.gz':
Differ at the offset 65536: 0x63 [/grub2-20051007.tar], 0x0
[/grub2-20051007.tar.gz]
I've tried with all these compilers:
$ gcc --version
gcc (GCC) 4.0.2 (Debian 4.0.2-2)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ /usr/bin/gcc-3.4 --version
gcc-3.4 (GCC) 3.4.5 20050821 (prerelease) (Debian 3.4.4-8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ /usr/bin/gcc-3.3 --version
gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-10)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I have double checked that the files are identical after decompression, and
the cmp command works correctly with uncompressed files.
The SHA1 hashes of the test data are:
2ca1f322c8d030bbe661de37eddfbe846c9b935e /mnt/grub2-20051007.tar
fde79ad954b655bbde711684b3a403919928fbb3 /mnt/grub2-20051007.tar.gz
And it is still at:
http://www.majoroak.f2s.com/tim/grub/downloads/grub2-20051007.tar.gz
--
Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC
No to software patents! Victory to the iraqi resistance!
pgpqZE8W18OIu.pgp
Description: PGP signature