delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
Message-ID: | <4C5C8247.3000800@cwilson.fastmail.fm> |
Date: | Fri, 06 Aug 2010 17:44:39 -0400 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
Reply-To: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Failed linking gettext-0.18 |
References: | <i3ck0g$94o$1 AT dough DOT gmane DOT org> <4C59DEC5 DOT 70005 AT cwilson DOT fastmail DOT fm> <i3ggkk$ukl$1 AT dough DOT gmane DOT org> |
In-Reply-To: | <i3ggkk$ukl$1@dough.gmane.org> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 8/6/2010 4:20 AM, Markus Moeller wrote: > Can you tell me what the error means and what I can do to fix it ? > > Thank you > Markus > > "Charles Wilson" <xxx AT xxx DOT xxx> wrote in message PCYMTNQREAIYR -----^^^^^^^^^^^^ And please don't top-post: A: Yes. > Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? It's complicated. The upstream maintainer of gettext REALLY dislikes a mechanism used for symbol resolution by the GNU toolchain (gcc/ld) with DLLs on mingw and cygwin: "auto-import". So, he arranges that gettext is always compiled with --disable-auto-import. However, recent versions of g++'s runtime library, libstdc++, ITSELF, require auto-import when linking IIUC. Hence, boom. I'm not sure this is easily fixed. IF I am correct, there are two options: (1) teach g++ how to build a libstdc++ DLL that exports symbols "properly" rather than requiring auto-import. This depends on a new cygwin g++ compiler I think. OR, (2) override the build procedure for gettext to ensure that --enable-auto-import is provided on every link command, AFTER the "default" gettext setting of --disable-auto-import. IIRC, just setting LDFLAGS before configuring won't do it, because Bruno *deliberately* arranged things to make overriding his desired auto-import behavior difficult. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |