

Src/third_party/wiredtiger/src/include/gcc.h:182:10: error: expected '(' before 'volatile' asm volatile ("sync" ::: "memory") \ In file included from src/third_party/wiredtiger/src/include/wt_internal.h:300:0,įrom src/third_party/wiredtiger/src/async/async_api.c:9: Gcc -o build/opt/third_party/wiredtiger/src/block/block_ckpt.o -c -std=c99 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DPCRE_STATIC -DNDEBUG -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Isrc/third_party/snappy-1.1.2 -Isrc/third_party/zlib-1.2.8 -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ckpt.c

CODEBLOCKS PTHREAD PATCH
However, that patch had one issue due to which on ppc64le, we get following error while building. Patch merged under WT-1942 was meant to enable wiredtiger while building MongoDB server 3.2 on ppc64le architecture. \.\./boost/thread/pthread/pthread_mutex_scoped_lock.This patch is in continuation of WT-1942.

Int const cond_res=pthread_cond_timedwait(&cond,&m,&timeout.getTs())

\.\./boost/thread/pthread/mutex.hpp:309:77: error: 'const internal_platform_timepoint ' has no member named 'getTs' did you mean 'getNs'? \.\./boost/thread/pthread/mutex.hpp: In member function 'bool boost::timed_mutex::do_try_lock_until(const internal_platform_timepoint&)': \.\./boost/thread/pthread/thread_data.hpp:13,įrom. "g++" -O0 -fno-inline -Wall -pedantic -g -pthread -m64 -Wextra -Wno-long-long -Wno-unused-parameter -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_TEST_DYN_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -DBOOST_TIMER_DYN_LINK=1 -I".\.\." -c -o ".\.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\threading-multi\test_thread.o" "test_thread.cpp" \.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\threading-multi\test_thread.o If not exist ".\.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\threading-multi\\" mkdir ".\.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\threading-multi" \.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\threading-multi If not exist ".\.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread\\" mkdir ".\.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread"Ĭommon.mkdir. \.\.\bin.v2\libs\thread\test\test_thread.test\gcc-mingw-gnu-7.3.0\debug\threadapi-pthread If not exist ".\.\.\bin.v2\libs\thread\test\test_thread.test\\" mkdir ".\.\.\bin.v2\libs\thread\test\test_thread.test"Ĭommon.mkdir. \.\.\bin.v2\libs\thread\test\test_thread.test lockfree boost::atomic_flag : yes (cached) PTW32_LIB=C:\Program Files\ptw32\Pre-built2\lib PTW32_INCLUDE=C:\Program Files\ptw32\Pre-built2\include You can specify them in site-config.jam, user-config.jam If you need pthread you should specify the paths. Trying to build Boost.Thread with pthread support. default address-model : 64-bit (cached) /./b2 toolset=gcc threadapi=pthread test_thread -d2
