#6082 closed defect (fixed)

Issue with gdalchksum on ppc64le

Reported by: gawade Owned by: warmerdam
Priority: normal Milestone: 1.11.3
Component: GDAL_Raster Version:
Severity: normal Keywords: hf2 ppc


I found this while performing the following operation on a Fedora 21 ppc64le machine:

gdal_translate -of HF2 byte.tif byte.tif.tst

Here byte.tiff is TIFF image data

file byte.tif

byte.tif: TIFF image data, little-endian, direntries=15, height=20,bps=8, compression=none, PhotometricIntepretation?=BlackIsZero?, width=20

The operation completes without issues.

However, gdalchksum.py byte.tif

gives me 4672

and gdalchksum.py byte.tif.tst gives me 4716

I have installed gdal and gdal-python using the following rpm packages: gdal-1.11.2-4.fc21.ppc64le.rpm gdal-python-1.11.2-4.fc21.ppc64le.rpm

The above commands give the same output on Intel (x86) platform i.e. 4672. Also, if I transfer the output file byte.tif.tst to an x86 machine, I get the correct output, i.e. 4672.

Change History (1)

comment:1 Changed 19 months ago by Even Rouault

Component: defaultGDAL_Raster
Keywords: hf2 ppc added
Milestone: 1.11.3
Resolution: fixed
Status: newclosed
Version: svn-trunk

trunk r29771, branches/2.0 r29772, branches/1.11 r29773 "HF2: fix reading side of the driver to work on architectures where char is unsigned, like PPC or ARM (#6082)"

Note: See TracTickets for help on using tickets.