stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Dean <>
Subject RE: Problem building Standard library
Date Wed, 17 May 2006 20:40:09 GMT
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

Exit status: -117

Here is the output of gdb:

(gdb) run
Starting program:
#define _RWSTD_LC_COLLATE   3
#define _RWSTD_LC_CTYPE     0
#define _RWSTD_LC_NUMERIC   1
#define _RWSTD_LC_TIME      2
#define _RWSTD_LC_ALL       6
#define _RWSTD_LC_MAX      _RWSTD_LC_ALL

Program received signal SIGSEGV, Segmentation fault.
0x00213929 in strcat () from /lib/tls/i686/
(gdb) where
#0  0x00213929 in strcat () from /lib/tls/i686/
#1  0x080492e5 in main ()


-----Original Message-----
From: Martin Sebor [] 
Sent: Wednesday, May 17, 2006 10:00 AM
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: It's been fixed on the

> 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.


View raw message