Subject: bin/26246: gzip(1) broken on (at least) NetBSD-sparc64
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 07/11/2004 15:38:40
>Number: 26246
>Category: bin
>Synopsis: gzip(1) broken on (at least) NetBSD-sparc64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 11 13:39:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 2.0G 2004-07-11 sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD sheridan.zhadum.de 2.0G NetBSD 2.0G (SHERIDAN) #0: Sun Jul 11 14:19:50 CEST 2004 tron@lyssa.zhadum.de:/export/scratch/tron/build.00766a/sys/compile/SHERIDAN sparc64
Architecture: sparc64
Machine: sparc64
>Description:
gzip(1) doesn't work reliable on NetBSD-sparc64 anymore:
tron@sheridan:/scratch/netbsd/20040711-2.0G/sparc64/binary/sets>gzip -tv *.tgz
gzip: invalid compressed data--crc error
base.tgz: OK
comp.tgz: OK
gzip: invalid compressed data--crc error
etc.tgz: OK
gzip: invalid compressed data--crc error
games.tgz: OK
kern-GENERIC.tgz: OK
man.tgz: OK
misc.tgz: OK
gzip: invalid compressed data--crc error
text.tgz: OK
gzip: invalid compressed data--crc error
xbase.tgz: OK
xcomp.tgz: OK
xetc.tgz: OK
gzip: invalid compressed data--crc error
xfont.tgz: OK
gzip: invalid compressed data--crc error
xserver.tgz: OK
tron@sheridan:/scratch/netbsd/20040711-2.0G/sparc64/binary/sets>/tmp/gzip -tv *.tgz
base.tgz: OK
comp.tgz: OK
etc.tgz: OK
games.tgz: OK
kern-GENERIC.tgz: OK
man.tgz: OK
misc.tgz: OK
text.tgz: OK
xbase.tgz: OK
xcomp.tgz: OK
xetc.tgz: OK
xfont.tgz: OK
xserver.tgz: OK
"/tmp/gzip" ist from a NetBSD 2.0_BETA snapshot.
A binary compiled from the same sources works on NetBSD-i386:
tron@lyssa:/scratch/netbsd/20040711-2.0G/sparc64/binary/sets>uname -a
NetBSD lyssa.zhadum.de 2.0G NetBSD 2.0G (LYSSA) #0: Sun Jul 11 10:23:40 CEST 2004 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
tron@lyssa:/scratch/netbsd/20040711-2.0G/sparc64/binary/sets>gzip -tv *.tgz
base.tgz: OK
comp.tgz: OK
etc.tgz: OK
games.tgz: OK
kern-GENERIC.tgz: OK
man.tgz: OK
misc.tgz: OK
text.tgz: OK
xbase.tgz: OK
xcomp.tgz: OK
xetc.tgz: OK
xfont.tgz: OK
xserver.tgz: OK
I've also tested these archives with NetBSD 1.6.2_STABLE and NetBSD 2.0_BETA
gzip(1) binaries to be 100% sure that they are not corrupt.
>How-To-Repeat:
Use gzip(1) on NetBSD-sparc64 systems and watch it printing out random
CRC errors.
>Fix:
None known.
>Release-Note:
>Audit-Trail:
>Unformatted: