From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: Failed linking gettext-0.18
Date: Fri, 06 Aug 2010 21:44:00 -0000 [thread overview]
Message-ID: <4C5C8247.3000800@cwilson.fastmail.fm> (raw)
In-Reply-To: <i3ggkk$ukl$1@dough.gmane.org>
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@xxx.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
next prev parent reply other threads:[~2010-08-06 21:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 20:53 Markus Moeller
2010-08-04 21:42 ` Charles Wilson
2010-08-06 8:20 ` Markus Moeller
2010-08-06 21:44 ` Charles Wilson [this message]
2010-08-07 8:54 ` Corinna Vinschen
2010-08-07 15:53 ` Charles Wilson
2010-08-07 13:11 ` Markus Moeller
2010-08-07 22:50 ` Markus Moeller
2010-08-07 13:00 Angelo Graziosi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C5C8247.3000800@cwilson.fastmail.fm \
--to=cygwin@cwilson.fastmail.fm \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).