| Summary: | LSB: Some cases related to locale failed on libstdcpp and cpp-t2c test of LSB. | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jingdong Lu <jingdong.lu> |
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jingdong.lu, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jingdong Lu
2011-03-03 01:42:50 UTC
I think two factors cause these failures.
(1) locale configuration
we need to install some locale packages(eglibc-binary-localedata-*, eglibc-charmap-*, eglibc-localedata-*, eglibc-gconv-*) and do necessary configuration ( eg: localedef -i en_US -f ISO-8859-15 en_US.ISO-8859-15 )
(2) libstdc++ should support locale
Add "--enable-clocale=gun" option for gcc configuration explicitly to make libstdc++ support locale.
library check of lsb also failed when checking libstdc++.so because of lack of symbols about locale in libstdc++. error log: Did not find _ZNSt10moneypunctIcLb0EE24_M_initialize_moneypunctEP15__locale_structPKc (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, false>::_M_initialize_moneypunct(__locale_struct*, char const*) Did not find _ZNSt10moneypunctIcLb0EEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, false>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIcLb0EEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, false>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIcLb1EE24_M_initialize_moneypunctEP15__locale_structPKc (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, true>::_M_initialize_moneypunct(__locale_struct*, char const*) Did not find _ZNSt10moneypunctIcLb1EEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, true>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIcLb1EEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<char, true>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIwLb0EE24_M_initialize_moneypunctEP15__locale_structPKc (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, false>::_M_initialize_moneypunct(__locale_struct*, char const*) Did not find _ZNSt10moneypunctIwLb0EEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, false>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIwLb0EEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, false>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIwLb1EE24_M_initialize_moneypunctEP15__locale_structPKc (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, true>::_M_initialize_moneypunct(__locale_struct*, char const*) Did not find _ZNSt10moneypunctIwLb1EEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, true>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt10moneypunctIwLb1EEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::moneypunct<wchar_t, true>::moneypunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt11__timepunctIcE23_M_initialize_timepunctEP15__locale_struct (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<char>::_M_initialize_timepunct(__locale_struct*) Did not find _ZNSt11__timepunctIcEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<char>::__timepunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt11__timepunctIcEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<char>::__timepunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt11__timepunctIwE23_M_initialize_timepunctEP15__locale_struct (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<wchar_t>::_M_initialize_timepunct(__locale_struct*) Did not find _ZNSt11__timepunctIwEC1EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<wchar_t>::__timepunct(__locale_struct*, char const*, unsigned int) Did not find _ZNSt11__timepunctIwEC2EP15__locale_structPKcj (GLIBCXX_3.4) in libstdc++.so.6 Unmangled symbol name: std::__timepunct<wchar_t>::__timepunct(__locale_struct*, char const*, unsigned int) Compiling libstdc++ with "--enable-clocale=gun" makes the library test passed. We need to full understand the impact of this change, may seem simple. This may not make the 1.0 release. |