server is compiled with -fPIC
server could be compiled with -fPIE which can improve performance
Settings like that are made by autoconf & automake - to even consider it, we'd
need an autoconf rule that enabled it only when building with a compiler that
supports it on a platform that it's useful on, and didn't break other platforms
or compilers. The X server has the additional complication that we'd need to
figure out how to adjust the automake Makefile.am's to use PIC for files going
into shared objects and only use PIE on files used exclusively in building the
server executables themselves (the X server build is a horrific mix of both,
all over the place in the directory structure).
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/157.