[RFC] libga68: Add symbol versions to exports
Jose E. Marchesi
jose.marchesi@oracle.com
Sat Dec 27 20:38:40 GMT 2025
> On Sat, Dec 27, 2025, at 6:36 AM, Jose E. Marchesi wrote:
>> Hi Pietro.
>>
>> The approach looks good to me.
>> One comment though:
>>
>>> diff --git a/libga68/ga68.map b/libga68/ga68.map
>>> new file mode 100644
>>> index 00000000000..d1641e230c3
>>> --- /dev/null
>>> +++ b/libga68/ga68.map
>>> @@ -0,0 +1,41 @@
>>> +LIBGA68_1.0 {
>>
>> Shouldn't that be LIBGA68_2.0?
>>
>> Our GCC 15 based libga68 uses 1.0 and the set of exported symbols is
>> different...
>
> No idea.
>
> libgfortran has "GFORTRAN_16" in the map file and libtool version "5:0:0"
> libgomp has "GOMP_6.0.1" in the map file and libtool version "1:0:0"
> libitm has "LIBITM_1.1" in the map file and libtool version "1:0:0"
> libatomic has "LIBATOMIC_1.2" in the map file and libtool version "3:0:2"
In principle DSO versioning and symbol versioning is orthogonal.
Version numbers don't need to be related at all.
I personally think that it makes sense to base the symbol versions on
the DSO version at this point. In theory a DSO bump is not ever
necessary provide we version the symbols the right way..
More information about the Algol68
mailing list