From c59efaef7aa0c0e89bf38c82e74f2237bb66cdbb Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 21 Oct 2021 20:40:53 -0700 Subject: [PATCH] Cmake: Change static-pie message to indicate compiled without it If glibc is compiled without static-pie then we can't detect that. We will just get a compile failure. Looks like ALARM is compiling glibc without --enable-static-pie for whatever reason. Fixes #1326 as much as we can. We need to ask the ALARM maintainers to change their configuration. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55fa4bf9c..04a20e0f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,7 +208,7 @@ if (ENABLE_STATIC_PIE) message (FATAL_ERROR "Application has __rela_iplt_{start,end} symbols. Which means static-pie can't be enabled") endif() else() - message (FATAL_ERROR "Couldn't compile static-pie test. Static-pie can't be enabled!") + message (FATAL_ERROR "Couldn't compile static-pie test. Static-pie can't be enabled! Is your glibc compiled without static-pie?") endif() endif()