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
alexey-milovidov
c6f40c5c2d
Revert "Revert "less sys calls #2 : make vdso work again""
2021-08-25 14:19:20 +03:00
alexey-milovidov
3db3b40b5e
Revert "less sys calls #2 : make vdso work again"
2021-08-19 01:38:12 +03:00
Alexey Milovidov
9a4a8d3943
Fix build with clang-13
2021-08-16 03:16:45 +03:00
Vitaly Baranov
213e6366c2
Update getauxval.c
2021-08-12 13:44:09 +03:00
Vitaly Baranov
3d9a4adfbf
Better handling case when __environ is null
2021-08-12 13:43:06 +03:00
Vitaly Baranov
9243e89150
Update getauxval.c
2021-08-12 12:10:37 +03:00
Vitaly Baranov
242d8e1861
__auxv_init lazy initialization
2021-08-12 11:06:12 +02:00
Mikhail Filimonov
2c01e2789a
make vdso work again
2021-08-12 11:06:06 +02:00
Azat Khuzhin
4dcbf3a5c5
Replace __pthread_get_minstack() with a const
2021-06-20 14:03:04 +03:00
Azat Khuzhin
0286673f8f
Fix __pthread_get_minstack()
...
This is the function that should take into account TLS block, and 1MB is
too high, since it will be used for sigaltstack() on SIGSEGV
v0: copy-paste glibc __pthread_get_minstack()
v2: return static 16K instead of 1MB
2021-06-19 21:27:02 +03:00
alexey-milovidov
1ea637d996
Merge pull request #23970 from ClickHouse/pvs-studio-fixes-6
...
PVS-Studio fixes, part 6
2021-05-09 21:45:19 +03:00
Alexey Milovidov
367f7fe6c9
Fix warnings by PVS-Studio
2021-05-08 23:57:08 +03:00
Alexey Milovidov
7f349cd286
Fix warnings by PVS-Studio in some third-party code
2021-05-08 22:41:06 +03:00
divanorama
b6ea00cf29
Update glibc_compatibility check: ARCH_ARM -> ARCH_AARCH64
2021-05-08 14:24:04 +02:00
Alexey Milovidov
c1a2745bfb
Add one more variant to memcpy benchmark
2021-03-16 00:04:03 +03:00
Alexey Milovidov
1606c7e3f3
Fix typo
2021-03-14 12:24:17 +03:00
Alexey Milovidov
bab924620a
Add comments and documentation
2021-03-14 00:53:00 +03:00
Alexey Milovidov
a1ebd52d09
Add comments and documentation
2021-03-14 00:51:13 +03:00
Alexey Milovidov
32e66baa0a
Add comments and documentation
2021-03-14 00:48:44 +03:00
Alexey Milovidov
b4cae2c858
Add TODO
2021-03-14 00:48:08 +03:00
Alexey Milovidov
36a41220d3
Add comments and documentation
2021-03-14 00:46:47 +03:00
Alexey Milovidov
37cc2fe977
Use custom memcpy only for AArch64
2021-03-13 22:39:10 +03:00
Alexey Milovidov
a446612e8a
Remove currently unused code
2021-03-13 10:39:43 +03:00
Alexey Milovidov
6d91881f6a
Remove currently unused code
2021-03-13 10:38:35 +03:00
Alexey Milovidov
8619665ef2
Remove AVX
2021-03-10 10:04:33 +03:00
Alexey Milovidov
7664a3d53e
Fix MSan
2021-03-09 01:29:32 +03:00
Alexey Milovidov
e02de2355e
Remove useless files
2021-03-08 13:22:17 +03:00
Alexey Milovidov
3fb5b247ed
Evaluate another memcpy
2021-03-08 13:19:25 +03:00
Alexey Milovidov
f0342eda9c
Add experimental memcpy implementation
2021-03-08 13:05:18 +03:00
Alexey Milovidov
da32a617b2
Merge branch 'jart-memcpy' into replace-memcpy
2021-03-08 12:15:49 +03:00
Alexey Milovidov
2c86bc4ea3
Addition to prev. revision
2021-03-08 10:00:54 +03:00
Alexey Milovidov
aecdadd02e
Add missing files
2021-03-03 02:33:17 +03:00
Alexey Milovidov
d1b3258ae7
Try without AVX
2021-03-03 00:16:34 +03:00
Alexey Milovidov
50c62c3b4c
Add memcpy implementation from @jart
2021-03-02 22:12:30 +03:00
Yatsishin Ilya
f8ae63995e
Fix msan warnings
2021-01-29 19:11:50 +03:00
Mikhail Filimonov
066fbfff0e
librdkafka support for arm64
2021-01-21 16:04:55 +01:00
Alexey Milovidov
98a8a20b70
Fix MSan error in rocksdb #19213
2021-01-17 21:30:02 +03:00
Alexey Milovidov
10ea06edad
Import strsignal from Musl
2021-01-08 08:09:30 +03:00
Alexey Milovidov
98687ff8f4
Merge branch 'master' into harmful
2020-12-31 02:25:28 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
...
Async read from socket
2020-12-23 12:20:42 +03:00
alexey-milovidov
f0dc3ec152
Merge pull request #17665 from amosbird/clientedit
...
clickhouse-client editor
2020-12-22 09:53:54 +03:00
Alexey Milovidov
157c66ebdb
Merge branch 'master' into harmful
2020-12-21 10:57:50 +03:00
Amos Bird
fe16aec48b
add .sql suffix
2020-12-21 14:43:06 +08:00
Alexey Milovidov
ff82176933
Add powf and powl to glibc-compatibility
2020-12-21 02:54:05 +03:00
Alexey Milovidov
42a4e38f08
Merge branch 'master' into harmful
2020-12-17 06:28:55 +03:00
Nikolai Kochetov
dd6b5baa59
Add timerfd from musl
2020-12-14 17:41:59 +03:00
Vitaly Baranov
7b0f94b5f2
glibc-compatibility: Add secure_getenv().
2020-11-24 17:55:02 +03:00
Vitaly Baranov
3253a525e2
glibc-compatibility: Add getauxval().
2020-11-24 17:55:02 +03:00