Commit Graph

2475 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
74dea085a9
Merge pull request #35943 from ClickHouse/update-unixodbc
Update unixodbc to mitigate CVE-2018-7485
2022-04-05 09:59:44 +02:00
Kseniia Sumarokova
9e2f0d25f3
Merge pull request #35832 from tonickkozlov/patch-1
Do not build krb5 if ENABLE_LIBRARIES is not set
2022-04-05 00:49:10 +02:00
Mikhail f. Shiryaev
6c7b8a0fd4
Update unixodbc to mitigate CVE-2018-7485 2022-04-04 23:34:33 +02:00
Azat Khuzhin
4cd159746e Fix polling of socket with negative timeout (when poll() interrupted by EINTR)
In case of EINTR the timeout will be adjusted, but this should not be
done in case of negative timeout since it means infinite timeout, and
in that adjustment block negative timeout will be reset to 0, which will
make poll() return (since zero timeout means return immediatelly even if
no fd is ready).

This should also fix 02127_connection_drain flap on CI [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32928/ddd5bebe555ce8feebcdd339e47fc45184c20dd1/stateless_tests__release__wide_parts_enabled__actions_.html

Refs: https://github.com/ClickHouse/poco/pull/55
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 10:24:07 +03:00
mergify[bot]
dc9af4701a
Merge branch 'master' into patch-1 2022-04-01 14:59:31 +00:00
Maksim Kita
dd7ae2b9aa Fix enable LLVM for JIT compilation in CMake 2022-03-30 17:43:52 +02:00
Azat Khuzhin
d9044cc2ac Do not require writable source directory for generating krb5 error tables
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-29 20:09:47 +03:00
tavplubix
693b47cdc9
Revert "Fix enable LLVM for JIT compilation in CMake" 2022-03-29 17:51:56 +03:00
Maksim Kita
c566c52c16
Merge pull request #35683 from kitaisreal/llvm-cmake-fix
Fix enable LLVM for JIT compilation in CMake
2022-03-29 13:10:10 +02:00
mergify[bot]
c609426d09
Merge branch 'master' into llvm-cmake-fix 2022-03-28 21:16:25 +00:00
Maksim Kita
4c336c45fb Fix enable LLVM for JIT compilation in CMake 2022-03-28 23:15:31 +02:00
Azat Khuzhin
53eb49a2e2 avro: create symlink in binary dir (over source dir)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-27 14:11:11 +03:00
Azat Khuzhin
6151e9b059 Avoid using std::result_of (deprecated in c++ > 17)
Fixes: #34906
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-27 11:19:56 +03:00
Alexey Milovidov
619e11bcf6
Merge pull request #34906 from Algunenano/libcxx14
Switch to libcxx / libcxxabi from LLVM 14
2022-03-26 19:12:30 +03:00
Raúl Marín
e4558b1568 Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
Alexey Milovidov
e426a9a2f1
Merge pull request #35541 from amosbird/betterbracketedpaste
Pasting improvement of clickhouse-client
2022-03-25 22:15:40 +03:00
mergify[bot]
0b95348215
Merge branch 'master' into libcxx14 2022-03-24 17:39:01 +00:00
Raúl Marín
9ad485af4c Update LLVM to llvmorg-14.0.0 / 329fda39c507 2022-03-24 11:04:26 +01:00
Raúl Marín
7fd4f06020 Temp fork of hyperscan to fix C++20 issue 2022-03-24 10:28:27 +01:00
Raúl Marín
841bf613ba Apply latest LLVM bug fixes to filesystem remove_all 2022-03-24 10:27:10 +01:00
Raúl Marín
9466e581bb Temporarily use my forks for libcxx / libcxxabi 2022-03-24 10:27:08 +01:00
Raúl Marín
f061e54acb Adapt libcxx CMakefiles to LLVM 14 changes 2022-03-24 10:25:04 +01:00
Amos Bird
e0694ea5ba
Pasting improvement of clickhouse-client 2022-03-23 23:25:58 +08:00
Rajkumar Varada
6481d62c6e
Merge branch 'ClickHouse:master' into libxml_upgrade 2022-03-21 09:23:57 -03:00
Anton Kozlov
c2d1935080
Do not build krb5 if ENABLE_LIBRARIES is not set
This module has hard dependency on SSL. If ENABLE_LIBRARIES is off then SSL is disabled. With this change, building this module will not break.
2022-03-18 15:56:25 +00:00
Maksim Kita
ad6b3693e1
Merge pull request #35123 from zhanghuajieHIT/fix_build_fail_with_gcc
fix build fail with gcc
2022-03-14 10:36:15 +01:00
zhanghuajie
53a8987b3b fix build fail with gcc --fix warnings without disabling some parameters 2022-03-11 21:59:19 +08:00
Maksim Kita
24231804ae
Merge pull request #35103 from ClickHouse/arm-build-llvm
Try to build llvm for Aarch64
2022-03-10 22:11:00 +01:00
Nikita Mikhaylov
af71df6054 Added comment 2022-03-09 16:51:44 +01:00
kashwy
bd7e48e87c Upgrade icu to icu-release-70-1
upgrade due to vulnerabilities of WS-2019-0513 and CVE-2020-10531
2022-03-08 21:37:26 -08:00
Nikita Mikhaylov
3b97f5f5c3 Better 2022-03-07 23:33:48 +01:00
Nikita Mikhaylov
b2345134e3 Try 2022-03-07 19:36:33 +01:00
Rajkumar
61639bb91b libxml2 package is upgraded to 2.9.13 2022-03-03 17:54:14 -08:00
Azat Khuzhin
71c9d4f39c Fix possible "nmalloc >= ndalloc" jemalloc assertion
Fixes: #31531
Refs: https://github.com/jemalloc/jemalloc/pull/2234
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-02 06:55:27 +03:00
Azat Khuzhin
01583ba10e jemalloc: fix includes order to avoid overlaps
If you had jemalloc build in contrib/jemalloc, and not current version
but some outdated, then compiler will pick incorrect file and may fail.

Also SYSTEM should be removed since regular -I is in the different list,
and will be checked before -isystem.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-21 08:32:45 +03:00
alexey-milovidov
26d0e5438c
Merge pull request #33057 from azat/jemalloc-dev-branch
[RFC] Update jemalloc to 5.3RC
2022-02-20 14:19:41 +03:00
Maksim Kita
6f9b436e3c
Merge pull request #34698 from kitaisreal/cmake-llvm-add-status-message-if-not-used
CMake llvm add status message if not used
2022-02-17 22:48:41 +01:00
Maksim Kita
0cf2b6eb07 CMake llvm add status message if not used 2022-02-17 19:46:15 +00:00
Azat Khuzhin
5a8cf3ac98 jemalloc: update version (to 5.3-rc) and commit SHA1
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:30:55 +03:00
Azat Khuzhin
c045a95a37 jemalloc: update provisioned headers for freebsd aarch64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
d3b60c011c jemalloc: update provisioned headers for freebsd x86_64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
04be7a5809 jemalloc: update provisioned headers for darwin aarch64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
ac31c648ab jemalloc: update provisioned headers for darwin x86_64
Generated on osx 10.14

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
054e84c382 jemalloc: add a note about JEMALLOC_PREFIX
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
4d3c4c7c8c jemalloc: update provisioned headers for linux aarch64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
ddcf0f96e8 jemalloc: update provisioned headers for linux ppc64le
v2: define JEMALLOC_DEFINE_MADVISE_FREE
    https://s3.amazonaws.com/clickhouse-builds/33057/6482a1c48f22d80f704bf869857091045a3f6917/binary_ppc64le/build_log.log
v3: fix pthread_atfork
    https://github.com/ClickHouse/ClickHouse/runs/5128801105?check_suite_focus=true

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

f
2022-02-17 21:25:58 +03:00
Azat Khuzhin
bd5137db15 jemalloc: update provisioned headers for linux riscv64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
bc5aeb4dcf jemalloc: add a note about musl support
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
daa292cf5a jemalloc: remove README for linux x86_64
Note, that there is no need to disable JEMALLOC_PURGE_MADVISE_FREE,
since jemalloc does check in runtime, and ClickHouse already
successfully works w/o this change.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
1a98c1aace jemalloc: move JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF out from per-arch
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00