Commit Graph

72 Commits

Author SHA1 Message Date
Amos Bird
30a085db7e
omit frame pointers for libc code 2019-12-09 21:38:20 +08:00
Amos Bird
e69c0a0126
Get rid of getauxval dep 2019-12-09 20:59:08 +08:00
Amos Bird
44b66da298
porting musl vdso implementation 2019-12-09 10:34:23 +08:00
Amos Bird
113e1932aa
porting clock_gettime and clock_nanosleep. 2019-12-07 00:11:50 +08:00
Amos Bird
b0d4baccc8 Enable musl and jemalloc for arm.
Can generate better arm packages.
2019-10-14 00:06:54 +08:00
Amos Bird
dbc352fdf9 glibc 2.29 compatibility 2019-09-30 12:28:50 +08:00
proller
5d08a7b353 Remove gcc-7 from build scripts 2019-09-17 13:37:35 +03:00
Ivan
b4339f266d
Make a better build scheme (#6500)
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
99b9d354f7 Fixed glibc compatibility 2019-08-01 06:20:54 +03:00
Alexey Milovidov
fec6ede519 Fixed glibc-compatibility 2019-07-30 03:15:01 +03:00
Alexey Milovidov
c8d5162ec2 Compatibility with gcc-9 #5717 2019-06-27 17:28:48 +03:00
proller
1cb0ba5854 Cmake: better USE_STATIC_LIBRARIES and SPLIT_SHARED_LIBRARIES handling 2019-06-18 20:10:25 +03:00
proller
d6a90b6079
Build fixes (#5368) 2019-05-22 13:16:16 +03:00
proller
79d2f1f034
libglibc-compatibility : do not use sys/random.h on old systems (skip getentropy.c) (#4984) 2019-04-11 22:28:29 +03:00
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