From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3504 invoked by alias); 7 Aug 2010 15:53:44 -0000 Received: (qmail 3491 invoked by uid 22791); 7 Aug 2010 15:53:43 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from out1.smtp.messagingengine.com (HELO out1.smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Aug 2010 15:53:38 +0000 Received: from compute3.internal (compute3.internal [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 28CFC186C96 for ; Sat, 7 Aug 2010 11:53:37 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Sat, 07 Aug 2010 11:53:37 -0400 Received: from [192.168.1.3] (unknown [24.110.45.219]) by mail.messagingengine.com (Postfix) with ESMTPSA id A25064B87; Sat, 7 Aug 2010 11:53:36 -0400 (EDT) Message-ID: <4C5D8174.3080606@cwilson.fastmail.fm> Date: Sat, 07 Aug 2010 15:53:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Cygwin Mailing List Subject: Re: Failed linking gettext-0.18 References: <4C59DEC5.70005@cwilson.fastmail.fm> <4C5C8247.3000800@cwilson.fastmail.fm> <20100807085355.GA12927@calimero.vinschen.de> In-Reply-To: <20100807085355.GA12927@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00161.txt.bz2 On 8/7/2010 4:53 AM, Corinna Vinschen wrote: > On Aug 6 17:44, Charles Wilson wrote: >> IIRC, just setting LDFLAGS before configuring won't do it, because >> Bruno *deliberately* arranged things to make overriding his desired >> auto-import behavior difficult. > > So, just because he "dislikes" a gcc setting, he deliberately breaks > building the lib? How nice! Well, no. His mechanism has worked since gettext-0.11 or so, and just because the shared libraries and executables in the gettext distribution are compiled with --disable-auto-import has no bearing on any external clients of those libraries (e.g. you could still compile clients of libintl "normally"). What MAY have broken the scheme here -- and at this point it is still just supposition on my part -- is that one of the DLLs that the gettext milieu itself depends on NOW suddenly requires auto-import. So it was an external change in the gcc runtime libs on cygwin that broke the scheme (if I'm right). Bruno has technical reasons for his "dislike"; mainly, that prior to the advent of v2 pseudo-relocs, the text section and read-only section(s) of DLLs had to be writable -- and therefore not shared between multiple processes. Even now, with v2 relocs, gcc still uses a variant linker script when auto-import is enabled, giving the same memory wastage. We could change that in a new gcc release, but only if v2 relocs becomes the default. See here: http://www.haible.de/bruno/woe32dll.html -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple