Are the per ABI module directories relevant for ABI version checking? #303
Unanswered
callmetango
asked this question in
Q&A
Replies: 2 comments 4 replies
-
@callmetango @metux @stefan11111 IMO, if we accept that any increase of |
Beta Was this translation helpful? Give feedback.
0 replies
-
@metux Is |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When looking for how to solve Use Semantic Versioning instead of 25.0.x.x · Issue #646 · X11Libre/xserver I stumbled upon the fact that there are different ABI versions for the following classes:
I found this in L56 - xserver/hw/xfree86/common/xf86Module.h at 5c3ce08b · X11Libre/xserver.
When drilling down further, it occured to me that the four version classes are used when checking for the compatibility of the module to load in L443 - xserver/hw/xfree86/loader/loadmod.c at 5c3ce08b · X11Libre/xserver and the following.
So do I get it right that if for example the
xf86-video-intel
module has to be loaded then the version information struct of the classABI_CLASS_VIDEODRV
is checked against the server version information inABI_VIDEODRV_VERSION
? If so, how come the per-ABI driver directories like/usr/lib/xorg/modules/xlibre-25...
into play and where?Wouldn't it be closer to the implementation of the version compatibility checking to reflect the major numbers of the
ABI_..._VERSION
defines in the file path? Like given athen having a
/usr/lib/xorg/modules/drivers/28/...
path for the drivers that are compiled against/compatible with theABI_VIDEODRV_VERSION
28
?@metux @ONykyf @stefan11111 What do you think?
Beta Was this translation helpful? Give feedback.
All reactions