AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.10.01 05:03 "[Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Shivraj Patil
2007.10.01 15:14 "RE: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Bob Friesenhahn
2007.10.01 09:34 "RE: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Shivraj Patil
2007.10.01 05:46 "Re: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Bob Friesenhahn
2007.10.01 11:02 "RE: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Shivraj Patil
2007.10.01 15:01 "RE: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Bob Friesenhahn

2007.10.01 11:02 "RE: [Tiff] solaris x86-64 bit image port issue : Can not read TIFF directory count.", by Shivraj Patil

Quiet interesting observation:

If I compile the binaries without -m64 flag, things work fine.

I believe the binaries will run under emulation mode in this case.

Regards,

  --shivraj..

________________________________

From: Shivraj Patil
Sent: Monday, October 01, 2007 3:05 PM
To: 'Bob Friesenhahn'

tiff@lists.maptools.org
 Subject: [Tiff] solaris x86-64 bit image port issue: Can not read RE:

TIFF directory count.

-----Original Message-----
From: Bob Friesenhahn [mailto:bfriesen@simple.dallas.tx.us]
Sent: Monday, October 01, 2007 11:17 AM
To: Shivraj Patil
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] solaris x86-64 bit image port issue: Can not read
TIFF directory count.

On Mon, 1 Oct 2007, Shivraj Patil wrote:

>

> I'm porting TIFF library on AMD x86 -64 bit environment with following

> details:

>

> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

>

> host: SunOS amdx64 5.10 Generic_118855-14 i86pc i386 i86pc

Your OS kernel needs a patch. You should be using kernel

Generic_118855-36. Make sure to apply it in single user mode and pass

the -r option to the kernel via the GRUB interface.

[[shivraj]]

[[shivraj]] Upgraded the Kernel version aacordingly but no success.

bash-3.00$ uname -a

SunOS amdx64 5.10 Generic_118855-36 i86pc i386 i86pc

bash-3.00$ read_index_tiff AMD_image.txt P -Ver5_0

Reading Image Flag file AMD_image.txt...

Mon Oct 1 15:02:58.866 2007

Product: X86IMAGETEST    SubProduct:     Lot:X86IMAGETEST

Step:ODD

Wafer: DEVICE_ID12

Mon Oct 1 15:02:59.038 2007

/User-Home/dmsldr/Gladiator/Images/TiffImages/image504.tif: Can not read
TIFF directory count.

Found 0 images in tiff file, but 4 defects are with image tags

Done...

> /loader/image/TiffImages/image504.tif: Can not read TIFF directory

> count.

>

> Found 0 images in tiff file, but 4 defects are with image tags

>

> Any idea what might be going wrong here? Any suggestion as to debug
the

> problem further?

What version of libtiff are you using? Can you provide the problem

image? Does it occur with all TIFF images or just a few?

Bob

======================================

Bob Friesenhahn

bfriesen@simple.dallas.tx.us,
http://www.simplesystems.org/users/bfriesen/

GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/