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

snapshot_helper undefined ref on x86 release builds

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • ALL
    • Hide

      ./buildscripts/scons.py --variables-files=etc/scons/mongodbtoolchain_stable_clang.vars --link-model=dynamic --ninja ICECC=icecc CCACHE=ccache --dbg=off --opt=on --release --streams-release-build --remote-exec-release=on
      ninja -j200 install-all

      Show
      ./buildscripts/scons.py --variables-files=etc/scons/mongodbtoolchain_stable_clang.vars --link-model=dynamic --ninja ICECC=icecc CCACHE=ccache --dbg=off --opt=on --release --streams-release-build --remote-exec-release=on ninja -j200 install-all

      When building release mode on x86, you will get an error message:
      ```
      ld.lld: error: bazel-out/k8-dbg/bin/_solib_x86_64/src/mongo/db/storage/libsnapshot_helper.so: undefined reference to boost::assertion_failed(char const*, char const*, char const*, long) [--no-allow-shlib-undefined]
      ```
      this is not the case on arm platform however.

            Assignee:
            zack.winter@mongodb.com Zack Winter
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: