v.24.8Improvement

Add -no-pie to Aarch64 Linux builds for better stacktrace introspection after ClickHouse restart

Add -no-pie to Aarch64 Linux builds to allow proper introspection and symbolizing of stacktraces after a ClickHouse restart. #67916 (filimonov).
Added the -no-pie linker flag to Aarch64 Linux builds of ClickHouse to improve introspection and symbolizing of stacktraces after a server restart.

Why it matters

This feature addresses the difficulty in obtaining proper stacktrace symbols on Aarch64 Linux after ClickHouse restarts. By disabling position-independent executables with the -no-pie flag, it enables better debugging, profiling, and error analysis, enhancing the developer and operator experience.

How to use it

Users do not need to configure anything manually. The Aarch64 Linux build of ClickHouse now includes the -no-pie flag by default. Simply build or update ClickHouse on Aarch64 Linux to the version including this change to benefit from improved stacktrace symbolization.