Commit Graph

58 Commits

Author SHA1 Message Date
proller
0fff8a785b Add libglibc-compatibility/musl/getentropy.c 2019-03-27 19:12:47 +03:00
proller
cf8001b6a9
Fix includes (#4673) 2019-03-13 16:58:04 +03:00
Alexey Milovidov
c3938b2977 Addition to prev. revision 2019-03-11 01:28:32 +03:00
Alexey Milovidov
d9138ef8ba Removed obsolete targets 2019-03-11 00:24:27 +03:00
Alexey Milovidov
fb3f760224 Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2 2019-01-20 00:42:08 +03:00
Alexey Milovidov
cd4f93ff2a Added missing glibc compatibility functions 2019-01-20 00:41:59 +03:00
Alexey Milovidov
68af2eaf00 Merge remote-tracking branch 'origin/master' into fix-glibc-compatibility-2 2019-01-20 00:37:42 +03:00
Alexey Milovidov
e22e19ddc9 Added missing glibc compatibility functions 2019-01-20 00:35:46 +03:00
Alexey Milovidov
37f8d20181 Fix glibc compatibility, part 2 2019-01-19 20:14:57 +03:00
alexey-milovidov
d54a019456
Merge branch 'master' into fix-glibc-compatibility 2019-01-18 21:21:47 +03:00
Alexey Milovidov
ed124c955a Link all libraries to "glibc-compatibility" 2019-01-18 21:20:07 +03:00
Alexey Milovidov
112f62f49f Fixed linking order of glibc-compatibility library 2019-01-18 19:36:10 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
alesapin
34e4f8e0c1 Move docker images to 18.10 and add compatibility file for glibc >= 2.28 2018-12-29 13:10:35 +03:00
alesapin
282b303a1c Link libglibc-compatibility to dbms at last position (#3816)
* Link libglibc-compatibility to dbms at last position

* Don't replace getrandom if it doesn't exists in libc
2018-12-12 15:51:40 +03:00
alesapin
182adf1e40 Spaces instead of tab 2018-12-10 21:17:35 +03:00
alesapin
ca9d6d83b5 Add getrandom.c from musl 2018-12-10 21:16:15 +03:00
proller
2221638ade Fix presence of both libc++ and -static-libstdc++ link flags (#3706)
* Fix precence of both libc++ and -static-libstdc++ link flags

* cmake: NO_WERROR for ARCH_ARM

* Try fix test link

* revert

* Update CMakeLists.txt
2018-12-01 01:30:34 +03:00
Amos Bird
dc8b3a7791 Fix build without jemalloc
```
libs/libglibc-compatibility/libglibc-compatibility.a(glibc-compatibility.c.o): In function `explicit_bzero':
/home/amos/git/chorigin/build-dev/../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):/home/amos/git/chorigin/build-dev/../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
collect2: error: ld returned 1 exit status
```
2018-10-22 23:34:15 +08:00
Alexey Milovidov
38534bba80 Removed GLIBC_2.10 [#CLICKHOUSE-3989] 2018-09-14 05:48:24 +03:00
Alexey Milovidov
7c675aac45 Addition to prev. revision [#CLICKHOUSE-3989] 2018-09-14 05:11:54 +03:00
Alexey Milovidov
c155564235 Addition to prev. revision [#CLICKHOUSE-3989] 2018-09-14 05:08:24 +03:00
Alexey Milovidov
20ffe8a70c More simple [#CLICKHOUSE-3989] 2018-09-14 05:00:40 +03:00
Alexey Milovidov
17f91c3949 More simple [#CLICKHOUSE-3989] 2018-09-14 04:59:05 +03:00
Alexey Milovidov
db0c854026 More simple [#CLICKHOUSE-3989] 2018-09-14 04:56:56 +03:00
Alexey Milovidov
dbf3ccdcb8 More simple [#CLICKHOUSE-3989] 2018-09-14 04:53:50 +03:00
Alexey Milovidov
3342b422a3 Fixed build [#CLICKHOUSE-3989] 2018-09-14 04:48:56 +03:00
Alexey Milovidov
b2faf857bb Renamed README.md to .txt [#CLICKHOUSE-3989] 2018-09-14 03:03:28 +03:00
Alexey Milovidov
4308f3e3a2 Added more info in README [#CLICKHOUSE-3989] 2018-09-14 03:00:51 +03:00
Alexey Milovidov
53d816f23f Added dummy implementation of __cxa_thread_atexit_impl [#CLICKHOUSE-3989] 2018-09-14 03:00:24 +03:00
Alexey Milovidov
83021c7dc7 Removed usage of __cxa_thread_atexit_impl [#CLICKHOUSE-3989] 2018-09-14 02:58:55 +03:00
Alexey Milovidov
48effe6711 Added dummy implementation [#CLICKHOUSE-3989] 2018-09-14 02:57:26 +03:00
Alexey Milovidov
9cf705e00e Added license and readme [#CLICKHOUSE-3989] 2018-09-14 02:42:57 +03:00
Alexey Milovidov
29a99229af Imported some files from libcxx and libcxxabi; https://github.com/llvm-project/llvm-project-20170507; commit ad82e63b9719923cb393bd805730eaca0e3632a8 [#CLICKHOUSE-3989] 2018-09-14 02:40:33 +03:00
Alexey Milovidov
d852d5806b Removed dependency [#CLICKHOUSE-2] 2018-08-06 03:19:33 +03:00
Alexey Milovidov
cc6d959ef0 Removed dependency [#CLICKHOUSE-2] 2018-08-06 02:59:18 +03:00
Alexey Milovidov
cf7c090fcb Removed dependency [#CLICKHOUSE-2] 2018-08-06 02:47:31 +03:00
Alexey Milovidov
16565bf111 Fixed build [#CLICKHOUSE-2] 2018-06-19 00:15:35 +03:00
Alexey Milovidov
8eda273b02 Fixed build [#CLICKHOUSE-2] 2018-06-19 00:14:17 +03:00
Alexey Milovidov
11313e94c7 Get rid of GLIBC_2.27 symbols #2240 2018-05-11 14:58:11 +03:00
Alexey Milovidov
3ff088f270 Get rid of GLIBC_2.27 symbols #2240 2018-05-11 14:54:25 +03:00
alexey-milovidov
603e6dd640 Update glibc-compatibility.c 2018-01-11 16:25:17 +03:00
proller
a66d47d0c6 glib compatibility fix for asan and tsan: __shm_directory 2018-01-11 16:25:17 +03:00
Alexey Milovidov
e4d354e39a Fixed error when using libressl instead of openssl #1466 2017-11-21 03:32:05 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler (#1484)
* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
proller
56f7f1df72 fix cmake 2017-10-09 20:41:27 +03:00
Vladimir Chebotarev
31d2ed2982 libglibc-compatibility: Changed musl longjmp to work with glibc setjmp. [#METR-21516] 2017-10-09 00:39:00 +03:00
Vladimir Chebotarev
3a7f4f04e2 libglibc-compatibility: Added longjmp tests and fixed longjmp problem. [#METR-21516] 2017-10-09 00:39:00 +03:00
proller
5250650f65 Fixes (#1286)
* Revert "Simplification [#CLICKHOUSE-2]."

This reverts commit 98ad6a5db3.

* Fix error: comparison of unsigned expression < 0 is always false

* Fix float division by zero

* Fix float division by zero

* Disable PointInPolygon function if compiling with old clang

* Fix warning:
dbms/src/Functions/FunctionsCoding.h:336:21: error: comparison of constant -1 with expression of type 'const char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
            if (num != -1)

* Fix
2017-09-26 23:29:34 +03:00
Alexey Milovidov
f31a38c5ea Fixed build on Ubuntu Precise [#CLICKHOUSE-2]. 2017-09-18 10:10:35 +03:00