From stdcxx-dev-return-1336-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Wed May 17 20:44:44 2006 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 72128 invoked from network); 17 May 2006 20:44:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 20:44:44 -0000 Received: (qmail 36115 invoked by uid 500); 17 May 2006 20:44:41 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 36058 invoked by uid 500); 17 May 2006 20:44:40 -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 36002 invoked by uid 99); 17 May 2006 20:44:40 -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:44:40 -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:44:38 -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 k4HKi4Vk001971 for ; Wed, 17 May 2006 20:44:04 GMT Received: by bco-exchange.bco.roguewave.com with Internet Mail Service (5.5.2657.72) id <2YG61GSL>; Wed, 17 May 2006 14:40:10 -0600 Message-ID: <4FA4B7B3231C5D459E7BAD020213A94203B624CF@bco-exchange.bco.roguewave.com> From: Jeremy Dean To: "'stdcxx-dev@incubator.apache.org'" Subject: RE: Problem building Standard library Date: Wed, 17 May 2006 14:40:09 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Looking at the log file, there is not much there other then it seg faulted: # /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