This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Define new std::ios_base::failure with abi_tag("cxx11")
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Nov 2014 17:12:37 +0000
- Subject: Re: [patch] Define new std::ios_base::failure with abi_tag("cxx11")
- Authentication-results: sourceware.org; auth=none
- References: <20141114121829 dot GG5191 at redhat dot com> <54736162 dot 4020602 at mentor dot com>
On 24/11/14 17:48 +0100, Tom de Vries wrote:
On 14-11-14 13:18, Jonathan Wakely wrote:
This adds system_error support to iostreams, including the required
base class changes to std::ios_base::failure. The abi_tag is used to
make it a distinct type. This changes the type of I/O exceptions
thrown by the library but exceptions are very rarely used with
iostreams.
Tested powerpc64-linux and x86_64-linux
I'm running into this failure with a non-bootstrap build from trunk.
Is this on i686?
Could this be related?
Yes, definitely.
I was aware of the failures but hadn't been able to reproduce them.
With the info below I should be able to fix it, thanks.
2 incompatible symbols
0
_ZNSt8ios_base7failureB5cxx11C1ERKSsRKSt10error_code
std::ios_base::failure[abi:cxx11]::cxx11(std::string const&, std::error_code const&)
version status: incompatible
GLIBCXX_3.4
type: function
status: added
1
_ZNSt8ios_base7failureB5cxx11C2ERKSsRKSt10error_code
std::ios_base::failure[abi:cxx11]::cxx11(std::string const&, std::error_code const&)
version status: incompatible
GLIBCXX_3.4
type: function
status: added