Re: [patch] Add and last pieces of C++11 std::lib

2015-01-23 Thread Jonathan Wakely
On 21/01/15 17:19 +, Jonathan Wakely wrote: On 21/01/15 18:09 +0100, Rainer Orth wrote: Indeed: before and after this change, Solaris bootstrap is broken. Now I get ld: fatal: libstdc++-symbols.ver-sun: 6153: symbol 'std::codecvt::do_unshift(__mbstate_t&, char*, char*, char*&) const': symb

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-21 Thread Jonathan Wakely
On 21/01/15 18:09 +0100, Rainer Orth wrote: Indeed: before and after this change, Solaris bootstrap is broken. Now I get ld: fatal: libstdc++-symbols.ver-sun: 6153: symbol 'std::codecvt::do_unshift(__mbstate_t&, char*, char*, char*&) const': symbol version conflict _ZNKSt7codecvtIDic11__mbsta

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-21 Thread Rainer Orth
Jonathan Wakely writes: >>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

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-21 Thread Jonathan Wakely
On 20/01/15 17:52 +, 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::facet()':^M /export/gnu/import/git/gcc-test-x32/src-trunk/libstdc++-v3/testsuite/22_locale/ctype_byname/2.cc:29: undefined reference to `

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-20 Thread Jonathan Wakely
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::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::ctype_byname(std::__cxx11::bas

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-20 Thread Jonathan Wakely
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::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::ctype_byname(std::__cxx11::bas

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-20 Thread H.J. Lu
On Tue, Jan 20, 2015 at 3:59 AM, Jonathan Wakely wrote: > On 19/01/15 13:27 +, Jonathan Wakely wrote: >> >> On 16/01/15 23:38 +, Jonathan Wakely wrote: >>> >>> This defines the C++11 header and adds the wstring_convert >>> and wbuffer_convert utilities. >> >> >> I've discovered that wasn'

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-20 Thread Jonathan Wakely
On 19/01/15 13:27 +, Jonathan Wakely wrote: On 16/01/15 23:38 +, Jonathan Wakely wrote: This defines the C++11 header and adds the wstring_convert and wbuffer_convert utilities. I've discovered that wasn't the last piece of the C++11 library, there were new constructors taking std::st

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-19 Thread Jakub Jelinek
On Mon, Jan 19, 2015 at 01:27:17PM +, Jonathan Wakely wrote: > On 16/01/15 23:38 +, Jonathan Wakely wrote: > >This defines the C++11 header and adds the wstring_convert > >and wbuffer_convert utilities. > > I've discovered that wasn't the last piece of the C++11 library, there > were new

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-19 Thread Jonathan Wakely
On 16/01/15 23:38 +, Jonathan Wakely wrote: This defines the C++11 header and adds the wstring_convert and wbuffer_convert utilities. I've discovered that wasn't the last piece of the C++11 library, there were new constructors taking std::string added to std::locale and all the std::xxx_by

Re: [patch] Add and last pieces of C++11 std::lib

2015-01-16 Thread Jonathan Wakely
On 16/01/15 23:38 +, Jonathan Wakely wrote: This defines the C++11 header and adds the wstring_convert and wbuffer_convert utilities. These need lots more tests, so if anyone understands how to use them please test them and report problems to Bugzilla. Tested x86_64-linux, committed to tru

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

2015-01-16 Thread Jonathan Wakely
This defines the C++11 header and adds the wstring_convert and wbuffer_convert utilities. These need lots more tests, so if anyone understands how to use them please test them and report problems to Bugzilla. Tested x86_64-linux, committed to trunk. commit dd8ed5fe16c0d0a5805504da9ea98da86837a5