Upstream appears to be disabling position independent code for some reason in the crispy-core library: https://github.com/contour-terminal/contour/blob/master/src/crispy/CMakeLists.txt#L100 (although they are using no-pie, which is odd since it is a library and I would have expected no-pic instead, since pie is for executables not libraries...). Try removing those options from the build and running it again. CMake should automatically pick up the PIC/PIE options from the hardened build flags provided by the RPM build system.

-Ian

On Mon, Feb 27, 2023 at 6:31 AM Felix Wang <topazus@outlook.com> wrote:
The detailed information: https://gist.github.com/topazus/b4bfd63b8cbce70acd4dac02a087d785
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue