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

FreeBSD 11.0-CURRENT build issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.0.9, 3.1.4
    • Component/s: Build
    • Labels:
    • Environment:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      FreeBSD
    • Backport Completed:
    • Steps To Reproduce:
      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
    • Sprint:
      BUILD 4 06/05/15

      Description

      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.
      ===

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: