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

Configure check for library rt is not done under Ubuntu C++11 build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: Build
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Under C++11 Ubuntu, the "Checking for library rt..." configuration test does not happen because the preceding check for clock_gettime fails

      [2014/04/27 16:51:51.976] Checking if C++ compiler supports -std=c++0x...
       [2014/04/27 16:51:52.011] yes
       [2014/04/27 16:51:52.016] Checking if C compiler supports -std=c99...
       [2014/04/27 16:51:52.051] yes
       [2014/04/27 16:51:52.056] Checking if C compiler supports -fno-builtin-memcmp...
       [2014/04/27 16:51:52.091] yes
       [2014/04/27 16:51:52.093] Checking for __thread...
       [2014/04/27 16:51:52.204] yes
       [2014/04/27 16:51:52.206] Checking for C header file unistd.h...
       [2014/04/27 16:51:52.247] yes
       [2014/04/27 16:51:52.247] Checking whether clock_gettime is declared...
       [2014/04/27 16:51:52.285] no

      Under the non-C++11 Enterprise Ubuntu build, the configuration checks passes for both the clock_gettime and the librt test that follows.

      [2014/04/27 16:51:52.630] Checking if C++ compiler supports -std=c++0x...
       [2014/04/27 16:51:52.667] yes
       [2014/04/27 16:51:52.669] Checking if __cplusplus >= 201103L to auto-enable C++11...
       [2014/04/27 16:51:52.707] no
       [2014/04/27 16:51:52.712] Checking if C compiler supports -fno-builtin-memcmp...
       [2014/04/27 16:51:52.749] yes
       [2014/04/27 16:51:52.751] Checking for __thread...
       [2014/04/27 16:51:52.867] yes
       [2014/04/27 16:51:52.870] Checking for C header file unistd.h...
       [2014/04/27 16:51:52.913] yes
       [2014/04/27 16:51:52.914] Checking whether clock_gettime is declared...
       [2014/04/27 16:51:52.958] yes
       [2014/04/27 16:51:52.958] Checking for C library rt...
       [2014/04/27 16:51:53.063] yes

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: