Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery003.isp.belgacom.be (Postfix) with ESMTP id 22FFF1D8044
	for <joris.at.lebbeke@skynet.be>; Sat,  7 Jun 2008 05:00:09 +0200 (CEST)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 07 Jun 2008 05:00:03 +0200
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m572dIKD027230;
	Fri, 6 Jun 2008 22:41:02 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m572dBh7027224
	for <tiff@lists.maptools.org>; Fri, 6 Jun 2008 22:39:11 -0400
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	m572d3CI006173; Fri, 6 Jun 2008 21:39:04 -0500 (CDT)
Date: Fri, 6 Jun 2008 21:39:03 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Ryan Schmidt <tiff-2008b@ryandesign.com>
Subject: Re: [Tiff] Mac OS X universal binary PowerPC endian issues
In-Reply-To: <2EF28A3D-1970-4B2D-B93A-7995A8BDD98D@ryandesign.com>
Message-ID: <Pine.SOC.4.64.0806062136210.14355@freddy.simplesystems.org>
References: <47251265-7C23-4CB2-A224-0CCEE4E2264A@ryandesign.com>
	<2EF28A3D-1970-4B2D-B93A-7995A8BDD98D@ryandesign.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002d5d
X-MSP-STORE: Sat, 07 Jun 2008 05:00:09 +0200
Status:   

On Fri, 6 Jun 2008, Ryan Schmidt wrote:

> Hello. I use MacPorts [1] to install tiff 3.8.2. There is no problem when 
> building for only the native architecture. But a ticket was filed in the 
> MacPorts issue tracker [2] for a problem when a universal binary of tiff is 
> built using the usual Apple-recommended procedure [3] (configure and build 
> once using "-arch i386 -arch ppc"). The problem is that the configure-time 
> macros tiff uses to determine the endianness always detect Intel endianness 
> in this case, so the PowerPC binaries don't function correctly:

I read that autoconf 2.62 includes a fix to address building OS-X 
universal binaries.  I have not researched to see what this fix is. 
If this is true then the problem may be resolved without any patch.

> Finally, a concern was voiced in our ticket that tiff's "make check" didn't 
> catch this problem.

The test suite does not do very much yet.  It should do more the next 
release.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
