]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix Darwin bootstrap by simplifying ver file syntax.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 26 Jun 2025 22:43:02 +0000 (23:43 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 27 Jun 2025 08:03:33 +0000 (09:03 +0100)
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

index bba5705509c6e1b03117fb39ccfef813cbcaa6e6..73b6f338613e8cf8a2ba7306778cf9d9b6630d72 100644 (file)
@@ -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.