Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17747

FreeBSD 11.0-CURRENT build issue

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.9, 3.1.4
    • Affects Version/s: 3.1.0
    • Component/s: Build
    • Environment:
    • Fully Compatible
    • FreeBSD
    • Hide

      wget --no-check-certificate https://fastdl.mongodb.org/src/mongodb-src-r3.1.0.tar.gz
      tar -zxvf ./mongodb-src-r3.1.0.tar.gz
      cd ./mongodb-src-r3.1.0
      scons all

      Show
      wget --no-check-certificate https://fastdl.mongodb.org/src/mongodb-src-r3.1.0.tar.gz tar -zxvf ./mongodb-src-r3.1.0.tar.gz cd ./mongodb-src-r3.1.0 scons all
    • BUILD 4 06/05/15

      While building MongoDB on FreeBSD 11.0, the build process was stopped in this compile step:
      ===
      ...
      c++ -o build/freebsd/x86_64/normal/third_party/v8/src/platform-freebsd.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-null-conversion -ansi -Wno-unused-parameter -DBOOST_ALL_NO_LIB -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc/third_party/v8/src src/third_party/v8/src/platform-freebsd.cc
      src/third_party/v8/src/platform-freebsd.cc:346:53: error: use of undeclared identifier 'MAP_NORESERVE'
      MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
      ^
      src/third_party/v8/src/platform-freebsd.cc:418:48: error: use of undeclared identifier 'MAP_NORESERVE'
      MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
      ^
      src/third_party/v8/src/platform-freebsd.cc:448:40: error: use of undeclared identifier 'MAP_NORESERVE'
      MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED,
      ^
      3 errors generated.
      scons: *** [build/freebsd/x86_64/normal/third_party/v8/src/platform-freebsd.o] Error 1
      scons: building terminated because of errors.
      ===

        1. build.log
          316 kB
          Andrew Shevchuk

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            dev.ashevchuk@gmail.com Andrew Shevchuk
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: