AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.10.07 19:25 "Wrong Native Bit Order on Intel x86_64", by Eskandar Ensafi
2009.10.07 19:59 "Re: Wrong Native Bit Order on Intel x86_64", by Bob Friesenhahn
2009.10.07 20:11 "Re: Wrong Native Bit Order on Intel x86_64", by Eskandar Ensafi
2009.10.07 20:24 "Re: Wrong Native Bit Order on Intel x86_64", by Toby Thain
2009.10.07 20:28 "Re: Wrong Native Bit Order on Intel x86_64", by Edward Lam
2009.10.07 21:26 "Re: Wrong Native Bit Order on Intel x86_64", by Bob Friesenhahn
2009.10.07 20:47 "Re: Wrong Native Bit Order on Intel x86_64", by Igor Skochinsky
2009.10.07 21:10 "Re: Wrong Native Bit Order on Intel x86_64", by Toby Thain
2009.10.07 20:17 "Re: Wrong Native Bit Order on Intel x86_64", by Bob Friesenhahn
2009.10.07 20:40 "Re: Wrong Native Bit Order on Intel x86_64", by Edward Lam
2009.10.07 21:43 "Re: Wrong Native Bit Order on Intel x86_64", by Bob Friesenhahn

2009.10.07 19:25 "Wrong Native Bit Order on Intel x86_64", by Eskandar Ensafi

Hello,

 

I noticed that when I tried to compile tiff-4.0.0-beta4, the native bit
order on 64-bit x86_64 systems was determined to be FILLORDER_MSB2LSB (not
correct as far as I know) whereas on 32-bit x86 systems, it is correctly
determined to be FILLORDER_LSB2MSB.  I checked my current tiff-3.8.2
installation (the standard package provided in Red Hat Enterprise Linux
5.4), and the same discrepancy existed in tiff-3.8.

 

In the tiff-4.0 source code, I traced the problem to line 16124 of the
configure script (or line 327 of configure.ac), where the script checks
for i*86* instead of i*86*|x86_64.  Unless there is a good reason for the
native bit order to be MSB-to-LSB on x86_64, I believe that this is a bug
and needs to be corrected so that all Intel and AMD x86 varieties are
properly identified as LSB-to-MSB architectures.

 

Best regards,

 

Eskandar