Closed vipsland closed 2 years ago
this is the issue with an older server with libterark installed and working on ubuntu 20.04
but it compiled until here. pls help resolve. thx
src/jemalloc.c:2992:7: warning: '__libc_malloc' specifies less restrictive attributes than its target 'malloc': 'alloc_size', 'leaf', 'malloc', 'nothrow' [-Wmissing-attributes] 2992 | void *__libc_malloc(size_t size) PREALIAS(je_malloc); | ^~~~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_decls.h:63, from include/jemalloc/internal/jemalloc_preamble.h:5, from src/jemalloc.c:2: /usr/include/stdlib.h:539:14: note: '__libc_malloc' target declared here 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ src/jemalloc.c:2989:6: warning: '__libc_free' specifies less restrictive attributes than its target 'free': 'leaf', 'nothrow' [-Wmissing-attributes] 2989 | void __libc_free(void* ptr) PREALIAS(je_free); | ^~~~~~~~~~~ In file included from include/jemalloc/internal/jemalloc_internal_decls.h:63, from include/jemalloc/internal/jemalloc_preamble.h:5, from src/jemalloc.c:2: /usr/include/stdlib.h:565:13: note: '__libc_free' target declared here 565 | extern void free (void *__ptr) __THROW; | ^~~~ ar: `u' modifier ignored since `D' is the default (see `U') ar: `u' modifier ignored since `D' is the default (see `U') [ 16%] Performing install step for 'jemalloc-project' /usr/bin/install -c -m 755 bin/jemalloc-config /usr/local/src/terarkdb/build/bin /usr/bin/install -c -m 644 include/jemalloc/jemalloc.h /usr/local/src/terarkdb/build/include/jemalloc /usr/bin/install -c -m 755 bin/jemalloc.sh /usr/local/src/terarkdb/build/bin /usr/bin/install -c -m 755 lib/libjemalloc.a /usr/local/src/terarkdb/build/lib /usr/bin/install -c -m 755 bin/jeprof /usr/local/src/terarkdb/build/bin /usr/bin/install -c -m 644 jemalloc.pc /usr/local/src/terarkdb/build/lib/pkgconfig /usr/bin/install -c -m 644 doc/jemalloc.html /usr/local/src/terarkdb/build/share/doc/jemalloc /usr/bin/install: cannot stat 'doc/jemalloc.html': No such file or directory make[3]: *** [Makefile:506: install_doc_html] Error 1 make[3]: *** Waiting for unfinished jobs.... /usr/bin/install -c -m 755 lib/libjemalloc_pic.a /usr/local/src/terarkdb/build/lib Note: Writing jemalloc.3 make[2]: *** [third-party/CMakeFiles/jemalloc-project.dir/build.make:74: third-party/jemalloc-project-prefix/src/jemalloc-project-stamp/jemalloc-project-install] Error 2 make[1]: *** [CMakeFiles/Makefile2:544: third-party/CMakeFiles/jemalloc-project.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
this is the issue with an older server with libterark installed and working on ubuntu 20.04
but it compiled until here. pls help resolve. thx