Opened 17 years ago
Closed 17 years ago
#1789 closed defect (fixed)
INGR driver fails on bigendian systems
Reported by: | warmerdam | Owned by: | ilucena |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | ingr |
Cc: | warmerdam |
Description
The INGR driver fails the ingr.py tests quite thoroughly on my MacOS X system. I believe this is a big endian issue. Gdalinfo on gdalautotest/gdrivers/8bit_rgb.cot reports "not recognised as a supported file format".
Ivan, please let me know if you have the means to try and fix this bug (ie. access to a bigendian dev system). If not perhaps Mateusz or I will need to handle this.
Attachments (1)
Change History (5)
comment:1 by , 17 years ago
by , 17 years ago
Attachment: | gdal_svn_trunk_ingr_1789_and_other_fixes.patch added |
---|
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
epimetheus now succeeds on these tests. See http://buildbot.osgeo.org:8500/epimetheus-full/builds/292/step-test/0
Note:
See TracTickets
for help on using tickets.
The enclosed patch fixes various endianness issues. Now, gdal_info and gdal_translate work fine on 8bit_rgb.cot, 8bit_pal.cot, uint32.col on a big endian host.
I've tested it on a MIPS Debian Etch running on qemu. See http://www.aurel32.net/info/debian_mips_qemu.php which is a very good tutorial to install a MIPS Debian Etch under qemu. I could also provide my QCOW2 image but it's 1.2 GB large.
In the process of testing the endianness issues, I also fixed :