Hi Jonathan,

>>diff --git a/libstdc++-v3/config/abi/pre/gnu.ver 
>>b/libstdc++-v3/config/abi/pre/gnu.ver
>>index 06892cd2d18..bf4d7338cb6 100644
>>--- a/libstdc++-v3/config/abi/pre/gnu.ver
>>+++ b/libstdc++-v3/config/abi/pre/gnu.ver
>>@@ -2628,6 +2628,10 @@ GLIBCXX_3.4.36 {
>>
>>     
>> _ZNSt6chrono8__detail25__recent_leap_second_infoERNS_16leap_second_infoEj;
>>
>>+    # basic_string::allocate_at_least
>>+    
>>_ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE*_S_allocate_*;
>>+    
>>_ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE*_M_create_*;

this part broke the Solaris build:

ld: fatal: libstdc++-symbols.ver-sun: 7568: symbol 
'_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE19_M_create_and_placeEjj':
 symbol version conflict
ld: fatal: libstdc++-symbols.ver-sun: 7570: symbol 
'_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE19_M_create_and_placeEjj':
 symbol version conflict

Both symbols are matched in  GLIBCXX_3.4.21 and GLIBCXX_3.4.36:

    ##_ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE1[68-9]* 
(glob)
    
##_ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE*_M_create_* 
(glob)

Changing the first to

    ##_ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE1[68]* 
(glob)

(i.e. omitting 9 from the final char set) allows the build to continue.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to