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

Generated ninja file can try to link some objects before it's dependencies are ready

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL
    • Dev Platform 2020-02-24

      [4644/4886] Building build/debug/mongo/db/matcher/libexpressions.so
      FAILED: build/debug/mongo/db/matcher/libexpressions.so 
      PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin CCACHE_NOCPP2=1 ICECC_VERSION=/data/build/scons/icecc/3bd3951bba3f1291547efbcc21098663.tar.gz CCACHE_PREFIX=/bin/icecc /bin/icerun /opt/mongodbtoolchain/v3/bin/g++ @/home/chasinglogic/Work/mongo/build/debug/response_files/tmpbx3uaji3.lnk
      /opt/mongodbtoolchain/revisions/91aa820a4e15ec424e214cdc861c1f4aa575a72c/stow/gcc-v3.fox/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld.gold: error: cannot open build/debug/third_party/pcre-8.42/libpcrecpp.so: No such file or directory
      /opt/mongodbtoolchain/revisions/91aa820a4e15ec424e214cdc861c1f4aa575a72c/stow/gcc-v3.fox/lib/gcc/x86_64-mongodb-linux/8.2.0/../../../../x86_64-mongodb-linux/bin/ld.gold: error: cannot open build/debug/third_party/boost-1.70.0/libboost_filesystem.so: No such file or directory
      src/mongo/db/matcher/expression_leaf.cpp:252: error: undefined reference to 'pcrecpp::RE::no_arg'
      src/mongo/db/matcher/expression_leaf.cpp:252: error: undefined reference to 'pcrecpp::RE::no_arg'
      src/mongo/db/matcher/expression_leaf.cpp:252: error: undefined reference to 'pcrecpp::RE::no_arg'
      src/mongo/db/matcher/expression_leaf.cpp:252: error: undefined reference to 'pcrecpp::RE::no_arg'
      src/mongo/db/matcher/expression_leaf.cpp:252: error: undefined reference to 'pcrecpp::RE::PartialMatch(pcrecpp::StringPiece const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&) const'
      src/third_party/pcre-8.42/pcrecpp.h:494: error: undefined reference to 'pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
      /opt/mongodbtoolchain/revisions/91aa820a4e15ec424e214cdc861c1f4aa575a72c/stow/gcc-v3.fox/include/c++/8.2.0/bits/unique_ptr.h:81: error: undefined reference to 'pcrecpp::RE::~RE()'
      src/third_party/pcre-8.42/pcrecpp.h:491: error: undefined reference to 'pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
      src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp:109: error: undefined reference to 'pcrecpp::RE::PartialMatch(pcrecpp::StringPiece const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&) const'
      collect2: error: ld returned 1 exit status
      

      Occurs when running with high j values and icecream building the

      {all}

      target.

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: