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

Ubuntu 10.04 fails to compile due to builtin__memcpy_chk bug

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • ALL

    Description

      In file included from /usr/include/string.h:640,
                       from /usr/include/c++/4.4/cstring:45,
                       from src/mongo/platform/basic.h:27,
                       from src/mongo/pch.h:28,
                       from src/mongo/client/dbclientcursor.h:20,
                       from src/mongo/db/repl/oplogreader.h:23,
                       from src/mongo/db/repl/master_slave.h:19,
                       from src/mongo/db/repl/master_slave.cpp:27:
      In function 'void* memcpy(void*, const void*, size_t)',
          inlined from 'void mongo::StringData::copyTo(char*, bool) const' at src/mongo/base/string_data-inl.h:59,
          inlined from 'void mongo::nsToDatabase(const mongo::StringData&, char*)' at src/mongo/db/namespace_string.h:137,
          inlined from 'void mongo::ReplSource::sync_pullOpLog_applyOperation(mongo::BSONObj&, bool)' at src/mongo/db/repl/master_slave.cpp:575:
      /usr/include/bits/string3.h:52: error: call to void* __builtin___memcpy_chk(void*, const void*, long unsigned int, long unsigned int) will always overflow destination buffer
      scons: *** [build/linux2/release/ssl/mongo/db/repl/master_slave.o] Error 1

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: