Re: libstdcxx hangs

Martin Sebor <[email protected]>
Newsgroups gmane.comp.kde.solaris
Organization Rogue Wave Software, Inc.
Message-ID <[email protected]>
Adriaan de Groot wrote:
> Hi Martin,
> 
> On Thursday 30 August 2007, Martin Sebor wrote:
>> You might want to double-check your configuration macros and compiler
>> options to make sure the libstdcxx.so you're using is compatible with the
>> headers given the command line (use -mt for reentrant builds). To see
>> examples of command lines check out our nightly build logs published on my
>> home page: http://people.apache.org/~sebor/stdcxx/results/
> 
> It's not clear to me what combination of my compiler flags was causing the 
> hangs, but using Stefan's set of flags gives me a stdcxx that does work. 
> Mysterious, anyway.

I suspect it may have been caused by an incompatibility between
how the library was configured (e.g., not thread safe) vs how it
was being used (e.g., with -D_REENTRANT). A library configured
in one BUILDMODE (e.g., shared,optimized) or objects compiled
with its headers aren't binary compatible with another BUILDMODE
(e.g., shared,optimized,pthreads).

> 
> By now we've got a half-dozen patches to make libstdcxx compile on Solaris 10 
> (the locale files, for instance, contain errors like this:
> 
> -copy "fi_FI@euro"
> +copy "fi_FI.euro"

Yes, these should be fixed in 4.2 (due to be released in about
a month or so):
   https://issues.apache.org/jira/browse/STDCXX-279

Let us know if there are any issues you need help with.

Martin
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.