ClickHouse/base
Azat Khuzhin cab0551c5b Add ability to compile using newer version fo glibc w/o using new symbols
In glibc 2.32 new version of some symbols had been added [1]:

    $ nm -D clickhouse | fgrep -e @GLIBC_2.32
                     U pthread_getattr_np@GLIBC_2.32
                     U pthread_sigmask@GLIBC_2.32

  [1]: https://www.spinics.net/lists/fedora-devel/msg273044.html

Right now ubuntu 20.04 is used as official image for building
ClickHouse, however once it will be switched someone may not be happy
with that fact that he/she cannot use official binaries anymore because
they have glibc < 2.32.

To avoid this dependency, let's force previous version of those
symbols from glibc.

Note, that I've tested this by compiling with glibc 2.32 and verifying
that output ELF does not have @GLIBC_2.32 symbols and also running that
binary inside ubuntu:20.04 image (that has glibc 2.31).

v1: -Wl,--wrap
v2: -Wl,--defsym
v3: -include
v4: fix versioning for aarch64
2021-10-01 21:01:59 +03:00
..
bridge Merge ext into common 2021-06-16 23:28:41 +03:00
common Remove ya.make 2021-09-25 04:22:54 +03:00
daemon Remove ya.make 2021-09-25 04:22:54 +03:00
glibc-compatibility Add ability to compile using newer version fo glibc w/o using new symbols 2021-10-01 21:01:59 +03:00
harmful fix 2021-01-20 14:12:33 +03:00
loggers Remove ya.make 2021-09-25 04:22:54 +03:00
mysqlxx Log queries to external databases (since they may be rewriten) 2021-09-29 21:56:28 +03:00
pcg-random Remove ya.make 2021-09-25 04:22:54 +03:00
readpassphrase Remove ya.make 2021-09-25 04:22:54 +03:00
widechar_width Remove ya.make 2021-09-25 04:22:54 +03:00
CMakeLists.txt Fix split build finally 2021-03-12 21:12:34 +00:00