|
[
Permlink
| « Hide
]
Martin Sebor added a comment - 22/May/07 05:20 AM
Based on nightly test results it looks like this locale still has problems even with gcc 4.1.1 on Red Hat Enterprise Linux 5.
Still failing:
$ cat /etc/redhat-release && gcc -dumpversion && make yi_US.CP1255
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
3.4.6
./localedef -w -c -f /amd/devco/sebor/stdcxx/etc/nls/charmaps/CP1255 \
-i /amd/devco/sebor/stdcxx/etc/nls/src/yi_US \
/build/sebor/stdcxx-gcc-3.4.6_3-15D/nls/yi_US.CP1255
Error 308: incomplete multibyte character in character map file: expecting 3 bytes, found 0
make: *** [yi_US.CP1255] Error 4
The stack trace at the point the error is diagnosed:
(gdb) where
#0 issue_diag (type=308, token=0x0,
fmt=0x481a80 "incomplete multibyte character in character map file: expecting %u bytes, found %u\n") at /amd/devco/sebor/stdcxx/util/diagnostic.cpp:100
#1 0x0000000000419e43 in utf8_decode (from=0x7fbfffd530 "�c",
to=0x7fbfffd530 "�c") at /amd/devco/sebor/stdcxx/util/charmap.cpp:224
#2 0x000000000041a596 in Charmap::convert_to_ucs (this=0x602990,
sym_name=@0x602c08, encoding=@0x7fbfffd800, wc=@0x7fbfffd78c)
at /amd/devco/sebor/stdcxx/util/charmap.cpp:681
#3 0x0000000000419f11 in Charmap::convert_to_wc (this=0x602990,
sym_name=@0x602c08, ext_enc=@0x7fbfffd800, wc=@0x7fbfffd78c)
at /amd/devco/sebor/stdcxx/util/charmap.cpp:401
#4 0x000000000041a887 in Charmap::add_to_cmaps (this=0x602990,
sym_name=@0x602c08, encoding=@0x7fbfffd890, is_mbchar=false)
at /amd/devco/sebor/stdcxx/util/charmap.cpp:742
#5 0x000000000041b5cc in Charmap::process_chars (this=0x602990)
at /amd/devco/sebor/stdcxx/util/charmap.cpp:935
#6 0x000000000041c6db in Charmap (this=0x602990, Clocale=0x2a957718a0 "",
fname=0x5ff580 "/amd/devco/sebor/stdcxx/etc/nls/charmaps/CP1255",
in_utf8=false, create_forward_maps=true, create_reverse_maps=true,
use_UCS4=false) at /amd/devco/sebor/stdcxx/util/charmap.cpp:1066
#7 0x0000000000405e5f in create_locale (std_src=
{<std::allocator<char>> = {<No data fields>}, static npos = 18446744073709551615, static _C_null_ref = {<__rw::__string_ref<char,std::char_traits<char>,std::allocator<char> >> = {_C_mutex = {_C_mutex = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}}, _C_refs = 0, _C_cap = 0, _C_size = {_C_size = 0, _C_dummy = 0 '\0'}}, _C_eos = 0 '\0'}, _C_data = 0x5ff6f0 "/amd/devco/sebor/stdcxx/etc/nls/src/yi_US"},
std_cmap=
{<std::allocator<char>> = {<No data fields>}, static npos = 18446744073709551615, static _C_null_ref = {<__rw::__string_ref<char,std::char_traits<char>,std::allocator<char> >> = {_C_mutex = {_C_mutex = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}}, _C_refs = 0, _C_cap = 0, _C_size = {_C_size = 0, _C_dummy = 0 '\0'}}, _C_eos = 0 '\0'}, _C_data = 0x5ff580 "/amd/devco/sebor/stdcxx/etc/nls/charmaps/CP1255"},
outdir=
{<std::allocator<char>> = {<No data fields>}, static npos = 18446744073709551615, static _C_null_ref = {<__rw::__string_ref<char,std::char_traits<char>,std::allocator<char> >> = {_C_mutex = {_C_mutex = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}}, _C_refs = 0, _C_cap = 0, _C_size = {_C_size = 0, _C_dummy = 0 '\0'}}, _C_eos = 0 '\0'}, _C_data = 0x5ff600 "/build/sebor/stdcxx-gcc-3.4.6_3-15D/nls/"},
std_locale=
{<std::allocator<char>> = {<No data fields>}, static npos = 18446744073709551615, static _C_null_ref = {<__rw::__string_ref<char,std::char_traits<char>,std::allocator<char> >> = {_C_mutex = {_C_mutex = {__m_reserved = 0, __m_count = 0, __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}}, _C_refs = 0, _C_cap = 0, _C_size = {_C_size = 0, _C_dummy = 0 '\0'}}, _C_eos = 0 '\0'}, _C_data = 0x5ff680 "yi_US.CP1255"}, force_output=true, use_ucs=false,
no_position=false, link_aliases=false)
at /amd/devco/sebor/stdcxx/util/localedef.cpp:200
#8 0x0000000000407a66 in localedef_main (argc=8, argv=0x7fbffff2b8)
at /amd/devco/sebor/stdcxx/util/localedef.cpp:561
#9 0x0000000000407c9a in main (argc=8, argv=0x7fbffff2b8)
at /amd/devco/sebor/stdcxx/util/localedef.cpp:596
Added 4.1.4 and 4.2.0 to Affects Version/s and scheduled for 4.2.1.
Lowered Priority on the assumption that this isn't a terribly important locale. Set Severity and Original Estimate. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||