ClickHouse/cmake
Robert Schulze b27e6cfed2
Strip less aggressively to make the embedded hash survive
- It was noticed that in (*), the crashstack says "There is no
  information about the reference checksum."

- The binaries are pulled via docker hub and upon inspection they indeed
  lack the hash embedded as ELF section ".note.ClickHouse.hash" in the
  clickhouse binary. This is weird because docker hub images are
  "official" builds which should trigger the hash embedding.

- Turns out that the docker hub binaries are also stripped which was too
  aggressive. We now no longer remove sections ".comment" and ".note"
  which are anyways only 140 bytes in size, i.e. binary size still goes
  down (on my stystem) from 2.1 GB to 0.47 + 0.40 GB binary + dbg info.

(*) https://playground.lodthe.me/ba75d494-95d1-4ff6-a0ad-60c138636c9b
2022-06-10 18:33:55 +02:00
..
darwin Move cmake/find/cxx.cmake -> cmake/cxx.cmake 2022-01-31 16:01:11 +03:00
freebsd Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
linux Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
toolchain Remove old toolchain 2021-10-11 07:02:19 +03:00
add_check.cmake cmake: Avoiding check target conflicts. [#CHEBOTAREV-14] 2017-08-24 16:37:27 +03:00
add_warning.cmake Do not build protobuf twice 2021-11-25 01:50:54 +03:00
arch.cmake Replace variable ARCH_ARM by ARCH_AARCH64 2022-05-15 09:48:02 +02:00
autogenerated_versions.txt Update version to 22.6.1.1 2022-05-19 10:06:09 +02:00
ccache.cmake Update cmake/ccache.cmake 2022-05-20 09:57:25 +02:00
check_flags.cmake Remove unused check for -Wshadow 2022-05-15 09:48:03 +02:00
clang_tidy.cmake Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup 2022-04-26 09:42:47 +02:00
cpu_features.cmake Re-enable SSE2 for PowerPC 2022-05-20 08:51:48 +02:00
cxx.cmake Move cmake/find/cxx.cmake -> cmake/cxx.cmake 2022-01-31 16:01:11 +03:00
dbms_glob_sources.cmake GLOB with CONFIGURE_DEPENDS 2022-05-18 10:34:10 +02:00
embed_binary.cmake Maybe better dependencies tracking in CMake 2021-07-08 05:50:18 +03:00
fuzzer.cmake updated cmake/ files, added some comments 2020-09-17 18:37:23 +03:00
git_status.cmake Cosmetics 2022-05-17 19:06:13 +02:00
limit_jobs.cmake Print number of available logical cores in configuration 2022-03-01 21:24:22 +01:00
print_flags.cmake More reproducible builds 2021-11-26 05:44:08 +03:00
sanitize_target_link_libraries.cmake Sanitize LINK_LIBRARIES property for the directories (#12160) 2020-07-07 19:22:41 +03:00
sanitize.cmake Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES) 2022-01-24 17:28:33 +03:00
strip_binary.cmake Strip less aggressively to make the embedded hash survive 2022-06-10 18:33:55 +02:00
target.cmake Fail in systems with unknown CMAKE_SYSTEM_NAME 2022-05-15 09:48:54 +02:00
tools.cmake Print used linker always and not only on Linux 2022-05-15 16:07:10 +02:00
unwind.cmake Move cmake/find/unwind.cmake -> cmake/unwind.cmake 2022-01-31 16:01:12 +03:00
version.cmake Remove outdated links from CI 2022-03-28 15:53:22 +02:00
warnings.cmake Update warnings.cmake 2022-05-20 03:12:44 +03:00