Fwd: [pushed] libstdc++: Fix Darwin bootstrap by simplifying ver file syntax.

Iain Sandoe iain@sandoe.co.uk
Fri Jun 27 09:19:03 GMT 2025


many apologies, I fat-fingered my git send-email and omitted this list.

> Begin forwarded message:
> 
> From: Iain Sandoe <iains.gcc@gmail.com>
> Subject: [pushed] libstdc++: Fix Darwin bootstrap by simplifying ver file syntax.
> Date: 27 June 2025 at 09:06:35 BST
> To: gcc-patches@gcc.gnu.org
> Reply-To: iain@sandoe.co.uk
> 
> Tested on x86_64-darwin, powerpc64le-linux, pushed to trunk to fix
> bootstrap on Darwin, thanks,
> Iain
> 
> --- 8< ---
> 
> The symbol parsing script does not handle the closing brace of a new
> symbol group and the identifier for the inherited group to be on
> different lines, which r16-1708-gaf5b72cf9f564 introduced. Fixed by
> making the conditional encompass both the brace and the identifier.
> 
> libstdc++-v3/ChangeLog:
> 
> 	* config/abi/pre/gnu.ver: Keep the closing brace of the
> 	CXXABI_1.3.17 symbol group together with the identifier
> 	for the inherited group.
> 
> Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
> ---
> libstdc++-v3/config/abi/pre/gnu.ver | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver
> index bba5705509c..73b6f338613 100644
> --- a/libstdc++-v3/config/abi/pre/gnu.ver
> +++ b/libstdc++-v3/config/abi/pre/gnu.ver
> @@ -2902,11 +2902,10 @@ CXXABI_1.3.16 {
> CXXABI_1.3.17 {
>     # std::exception_ptr::_M_exception_ptr_cast
>     _ZNKSt15__exception_ptr13exception_ptr21_M_exception_ptr_castERKSt9type_info;
> -}
> #ifdef __riscv
> -CXXABI_1.3.16;
> +} CXXABI_1.3.16;
> #else
> -CXXABI_1.3.15;
> +} CXXABI_1.3.15;
> #endif
> 
> # Symbols in the support library (libsupc++) supporting transactional memory.
> -- 
> 2.39.2 (Apple Git-143)
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250627/fd59af44/attachment-0001.htm>


More information about the Libstdc++ mailing list