X-Account-Key: account1
X-UIDL: 2459bae1354d3ed33b9c1a1e5b85656c
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Received: from lists.maptools.org (localhost [127.0.0.1])
	by mail.howardsilvan.com (Postfix) with ESMTPS id AE1A4C420F5
	for <faxguy@howardsilvan.com>; Tue, 23 Jun 2015 06:03:31 -0700 (PDT)
Received: from lists.maptools.org ([94.23.4.142] helo=lists.maptools.org)
	by fangorn.howardsilvan.com with SMTP (2.3.3); 23 Jun 2015 06:03:31 -0800
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id E4E0235C04B;
	Tue, 23 Jun 2015 08:02:49 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id EAB0535C04B
	for <tiff@lists.maptools.org>; Tue, 23 Jun 2015 08:01:38 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4)
	with ESMTP id	t5ND1rLG018391; Tue, 23 Jun 2015 08:01:53 -0500 (CDT)
Date: Tue, 23 Jun 2015 08:01:53 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: =?iso-8859-2?b?T25k+GVqIFN1cv0=?= <ondrej@sury.org>
In-Reply-To: 
 <1435051368.1525195.305331737.58A2134F@webmail.messagingengine.com>
Message-ID: <alpine.GSO.2.01.1506230757430.4186@freddy.simplesystems.org>
References: <55833E9A.4010804@codelibre.net>
	<alpine.GSO.2.01.1506181713160.10091@freddy.simplesystems.org>
	<1435051368.1525195.305331737.58A2134F@webmail.messagingengine.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);	Tue, 23 Jun 2015 08:01:53 -0500
 (CDT)
Cc: Tiff List <tiff@lists.maptools.org>
Subject: Re: [Tiff] 4.0.4beta: Symbol differences on Unix and Windows
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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-Assp-ID: fangorn.howardsilvan.com m1-64611-02081
X-Assp-Session: 7F068D3B2D28 (mail 1)
X-Assp-Detected-RIP: 65.66.246.65, 65.66.246.74
X-Assp-Source-IP: 65.66.246.65
X-Assp-Envelope-From: tiff-bounces@lists.maptools.org
X-Assp-Intended-For: faxguy@howardsilvan.com
X-Assp-Version: 2.3.3(14029) on fangorn.howardsilvan.com
X-Assp-Server-TLS: yes
X-Assp-Delay: not delayed (whitelisted); 23 Jun 2015 06:03:31 -0800
X-Assp-Message-Score: -40 (KnownGoodHelo)
X-Assp-IP-Score: -40 (KnownGoodHelo)
X-Assp-Whitelisted: Yes (whitelistdb)
Return-Path: tiff-bounces@lists.maptools.org
Content-Type: MULTIPART/MIXED;
	BOUNDARY="-559023410-1089291799-1435064513=:4186"

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1089291799-1435064513=:4186
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On Tue, 23 Jun 2015, Ond=C5=99ej Sur=C3=BD wrote:
>>
>> Linux/FreeBSD/ELF exports all non-static symbols by default and this
>> is usually unwanted.  In this case, Windows is ahead of default ELF
>> linkage.
>
> Wait, what? You can either use GCC Visibility[1] or linker version
> script that are already in use for GNU ld in libtiff/Makefile.am. It's
> just the libtiff.map that's broken, since it exports all symbols by
> default since it contains instructions to export all symbols:

Yes, of course.  Unfortunately, this should have been done when 4.0.0=20
was first produced.  If we do it now, then it changes the ABI and=20
something might break.  There is also risk of some problem on=20
non-Linux systems that would need to be worked out.  Libtiff can't be=20
dependent on GCC so it would need to use the linker map approach.

We could add a configure option to enable it.

Bob
--=20
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen=
/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
---559023410-1089291799-1435064513=:4186
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
---559023410-1089291799-1435064513=:4186--


