Hello Patrice, > Something that I really do not understand is why this issue does not > happen for some variables in the texinfo libraries used by the XS > modules objects. ... > Therefore, the translated_special_unit_info symbol seems to be in two > different compilation units, and should be used in a function called > in tests, and yet there is no failure.
For the problem to occur, you need to have - one access of the variable in libtexinfo, - AND one access of the variable in the ConvertXS module shared library, - AND one of these is read/write, and the other one depends on it. Here, extern const TRANSLATED_SUI_ASSOCIATION translated_special_unit_info[]; is a read-only array, and so its values in the two shared libraries are the same. Therefore there is no ill effect. That's what I would guess. Bruno
