From stdcxx-dev-return-1337-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Wed May 17 20:56:37 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 74849 invoked from network); 17 May 2006 20:56:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 20:56:37 -0000 Received: (qmail 51987 invoked by uid 500); 17 May 2006 20:56:37 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 51936 invoked by uid 500); 17 May 2006 20:56:37 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 51925 invoked by uid 99); 17 May 2006 20:56:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 13:56:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 13:56:36 -0700 Received: from bco-exchange.bco.roguewave.com (bco-exchange.bco.roguewave.com [172.19.31.48]) by moroha.quovadx.com (8.13.4/8.13.4) with ESMTP id k4HKtnNC002308 for ; Wed, 17 May 2006 20:55:50 GMT Received: from [10.70.3.113] (10.70.3.113 [10.70.3.113]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 2YG61GTD; Wed, 17 May 2006 14:52:08 -0600 Message-ID: <446B8E0F.6010302@roguewave.com> Date: Wed, 17 May 2006 14:56:47 -0600 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: Problem building Standard library References: <4FA4B7B3231C5D459E7BAD020213A94203B624CF@bco-exchange.bco.roguewave.com> In-Reply-To: <4FA4B7B3231C5D459E7BAD020213A94203B624CF@bco-exchange.bco.roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jeremy Dean wrote: > Looking at the log file, there is not much there other then it seg faulted: You might want to try the latest version of the test (i.e., the one that includes changes made for STDCXX-140): http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/LOCALE_NAME_FMAT.cpp?view=log Martin > > # /roguewave/SourcePro/test/records/ch13n/11s/locale_name_fmat > /bin/sh: line 1: 24873 Segmentation fault > /roguewave/SourcePro/test/records > /ch13n/11s/locale_name_fmat > > Exit status: -117 > > > Here is the output of gdb: > > (gdb) run > Starting program: > /roguewave/SourcePro/test/records/ch13n/11s/locale_name_fmat > /**/ > #undef _RWSTD_LOCALE_NAME_FMAT > #define _RWSTD_LC_COLLATE 3 > #define _RWSTD_LC_CTYPE 0 > #define _RWSTD_LC_MONETARY 4 > #define _RWSTD_LC_NUMERIC 1 > #define _RWSTD_LC_TIME 2 > #define _RWSTD_LC_MESSAGES 5 > #define _RWSTD_LC_ALL 6 > #define _RWSTD_LC_MAX _RWSTD_LC_ALL > #define _RWSTD_LC_MIN _RWSTD_LC_CTYPE > > Program received signal SIGSEGV, Segmentation fault. > 0x00213929 in strcat () from /lib/tls/i686/libc.so.6 > (gdb) where > #0 0x00213929 in strcat () from /lib/tls/i686/libc.so.6 > #1 0x080492e5 in main () > at > /roguewave/SourcePro/Ed9/etc/stdlib/config/src/LOCALE_NAME_FMAT.cpp:251 > > Jeremy > > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com] > Sent: Wednesday, May 17, 2006 10:00 AM > To: stdcxx-dev@incubator.apache.org > Subject: Re: Problem building Standard library > > Jeremy Dean wrote: > >>I am having a problem building Standard Library. > > [...] > >>When I try to build an optimized build, the localedef hangs and never >>returns. > > > Have you searched the bug database for similar problems? The configuration > issue below causes similar symptoms in locale: > http://issues.apache.org/jira/browse/STDCXX-140. It's been fixed on the > trunk. > > >>I was told to then try building a debug version, and the debug version >>of the library fails to compile with the following error: > > [...] > >>/roguewave/SourcePro/Ed9/source/stdlib/setlocale.h:45: error: >>`_RWSTD_LC_ALL' was not declared in this scope > > > That's an obvious configuration issue. You need to find out why the test > that's supposed to define the macro is failing. > IIRC, the name of the test is LOCALE_NAME_FORMAT.cpp. Look at the log file > to see what went wrong. > > Martin