[patch] Add <codecvt> and last pieces of C++11 std::lib

Jonathan Wakely jwakely@redhat.com
Wed Jan 21 16:51:00 GMT 2015


On 20/01/15 17:52 +0000, Jonathan Wakely wrote:
>On 20/01/15 09:02 -0800, H.J. Lu wrote:
>>On Linux/ia-32, I got
>>
>>output is:
>>/tmp/ccApSqaQ.o: In function `facet<char>::facet()':^M
>>/export/gnu/import/git/gcc-test-x32/src-trunk/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc:29:
>>undefined reference to
>>`std::ctype_byname<char>::ctype_byname(std::__cxx11::basic_string<char,
>>std::char_traits<char>, std::allocator<char> > const&, unsigned
>>int)'^M
>>/tmp/ccApSqaQ.o: In function `facet<wchar_t>::facet()':^M
>>/export/gnu/import/git/gcc-test-x32/src-trunk/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc:29:
>>undefined reference to
>>`std::ctype_byname<wchar_t>::ctype_byname(std::__cxx11::basic_string<char,
>>std::char_traits<char>, std::allocator<char> > const&, unsigned
>>int)'^M
>>collect2: error: ld returned 1 exit status^M
>>
>>FAIL: 22_locale/ctype_byname/2.cc (test for excess errors)
>>FAIL: libstdc++-abi/abi_check
>
>I forgot that the mangled name for size_t depends on the target, so
>the linker script needs [jm] instead of m. Patch coming soon ...

This fixes the new FAILs on i686.

Tested x86_64-linux and i686-linux, committed to trunk.

I expect the new symbols are going to cause a problem on Solaris as
they match more than one symbol version, so I'll fix that ASAP.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 4181 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150121/b41dec91/attachment.bin>


More information about the Gcc-patches mailing list