This small change is prompted by Jay's comments regarding Devuan 4 and shm_open not being in libc on this platform.
By default, Xorg module symbols are resolved 'lazily'. They are not resolved when the module is loaded, but when they are encountered at runtime. If an undefined symbol is encountered, this can result in the X server log just stopping with no clues. This can be hard to reproduce as the tests do not cover all code paths.
With this change an unresolveable symbol is reported in the make check X server log. For example, if I make this change:-
This small change is prompted by Jay's comments regarding Devuan 4 and
shm_open
not being in libc on this platform.By default, Xorg module symbols are resolved 'lazily'. They are not resolved when the module is loaded, but when they are encountered at runtime. If an undefined symbol is encountered, this can result in the X server log just stopping with no clues. This can be hard to reproduce as the tests do not cover all code paths.
With this change an unresolveable symbol is reported in the
make check
X server log. For example, if I make this change:-the existing
make check
completes without errors asundef_test_sym
is only encountered when xrdp connects to the driver.With the PR
make check
fails.tests/test-xorg.log
contains these lines:-