From 489d396fb03389f71d3216fe913b83f8952da42e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 23 Sep 2019 19:16:36 -0700 Subject: mongodb: Use gcc to compile it for now It doesn't seem to have needed c++17 features that mongodb needs src/mongo/stdx/new.h:53:12: error: no member named 'hardware_constructive_interference_size' in namespace 'std' using std::hardware_constructive_interference_size; ~~~~~^ src/mongo/stdx/new.h:54:12: error: no member named 'hardware_destructive_interference_size' in namespace 'std' using std::hardware_destructive_interference_size; ~~~~~^ clang build fails to link aarch64-yoe-linux-ld.gold: error: build/opt/mongo/s/mongos_options.o: multiple definition of 'mongo::error_details::isNamedCode<0>' Signed-off-by: Khem Raj --- conf/nonclangable.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 8730f5e..29b018c 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -38,6 +38,8 @@ TOOLCHAIN_pn-mesa_mips = "gcc" TOOLCHAIN_pn-mesa_mipsel = "gcc" TOOLCHAIN_pn-mesa_riscv64 = "gcc" TOOLCHAIN_pn-mesa_powerpc = "gcc" +# multiple definition of 'mongo::error_details::isNamedCode<0>' +TOOLCHAIN_pn-mongodb = "gcc" # variant-impl.hpp:309:36: error: 'is_variant' does not name a template but is followed by template arguments TOOLCHAIN_pn-omxplayer = "gcc" TOOLCHAIN_pn-opensbi = "gcc" @@ -238,4 +240,3 @@ UNWINDLIB_pn-chromium-x11_toolchain-clang_armv7a = "--unwindlib=libgcc" UNWINDLIB_pn-chromium-x11_toolchain-clang_armv7ve = "--unwindlib=libgcc" UNWINDLIB_pn-chromium-ozone-wayland_toolchain-clang_armv7a = "--unwindlib=libgcc" UNWINDLIB_pn-chromium-ozone-wayland_toolchain-clang_armv7ve = "--unwindlib=libgcc" - -- cgit v1.2.3-54-g00ecf