-flto=auto build flag causes linking error in “test/tests”
When compiling xserver with -flto=auto, building will fail mentioning a linking error at “test/tests”
Here is the log. xorg-server-rootless-nosystemd-minimal-git-1.20.0.r804.g5e3900904-1-x86_64-build.log
Building works if you disable the test suite with “--enable-unit-tests=no”, as mentioned here.
Edited by shoober420