This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: transaction_safe exceptions prevent libstdc++ building for some targets
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Joe Seymour <joe dot s at somniumtech dot com>
- Cc: DJ Delorie <dj at redhat dot com>, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Jan 2017 17:47:13 +0000
- Subject: Re: transaction_safe exceptions prevent libstdc++ building for some targets
- Authentication-results: sourceware.org; auth=none
- References: <xnvatcp3ws.fsf@greed.delorie.com> <268b61b5-8602-957b-9e86-c025ec7ae26d@somniumtech.com>
On 19/01/17 12:05 +0000, Joe Seymour wrote:
Here's the patch I'm proposing. I've tested it as follows:
- msp430-elf no longer encounters the error when configuring libstdc++-v3. Note
that libstdc++-v3 doesn't build due to an ICE though.
- Configuring libstdc++-v3 for x86_64-unknown-linux-gnu produces:
include/bits/c++config.h:#define _GLIBCXX_MANGLE_SIZE_T m
Both with and without this patch.
- Configuring libstdc++-v3 for i686-unknown-linux-gnu produces:
include/bits/c++config.h:#define _GLIBCXX_MANGLE_SIZE_T j
Both with and without this patch.
If it's acceptable I would appreciate it if someone would commit it on my
behalf.
Done - it's committed to trunk now. Thanks for the patch.