libstdc++/4260: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Feb 19 23:25:00 GMT 2002


> Synopsis: ABI change beween 3.0 and 3.0.1: programs linked with 3.0 lib don't work after 3.0.1 lib is installed
> 
> State-Changed-From-To: open->analyzed
> State-Changed-By: bkoz
> State-Changed-When: Tue Feb 19 18:08:49 2002
> State-Changed-Why:
>     Dave, I ton't think this is still an issue, correct? I cannot see this symbol in the linux shared library:
>     
>     %nm libstdc++.so.4.0.0 | grep GLOBAL | grep FI
>     
>     Gives me nothing....

That's because linux doesn't use collect2.  With 3.1, I currentls see

bash-2.05a$ nm libstdc++.sl.4.0|grep GLOBAL|grep FI|less
_GLOBAL__FI_libgcc_s_sl|        -4|uext  |stub   |
_GLOBAL__FI_libgcc_s_sl|          |undef |code   |
_GLOBAL__FI_libstdc___sl_4_0|    484704|extern|entry  |
_GLOBAL__FI_libstdc___sl_4_0|    484728|extern|code   |$CODE$
_GLOBAL__FI_libstdc___sl_4_0|    485100|uext  |stub   |

The library internal name is

bash-2.05a$ chatr libstdc++.sl.4.0
libstdc++.sl.4.0:
...
         internal name:
	      libstdc++.sl.4

This is ok.  However, the issue reported must be kept in mind when the
library version is next updated.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Gcc-bugs mailing list