Closed ggardet closed 2 years ago
@ggardet - Libglvnd is hosted on GitLab now. Can you please post this as a merge request there? https://gitlab.freedesktop.org/glvnd/libglvnd
@ggardet - Libglvnd is hosted on GitLab now. Can you please post this as a merge request there? https://gitlab.freedesktop.org/glvnd/libglvnd
Done: https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/262
When Branch Target Identifier (BTI) is enabled on aarch64, any software which run libglvnd will fail with SIGILL, Illegal instruction. If I run
kmscube
withingdb
, I get:This is because some assembler code misses the BTI landing pads. See: https://developer.arm.com/documentation/102433/0100/Jump-oriented-programming
"hint #34" is the same thing as "BTI C" landing pad, but keep compatibility with systems without BTI enabled.