[SERVER-13762] Configure check for library rt is not done under Ubuntu C++11 build Created: 28/Apr/14  Updated: 11/Jul/16  Resolved: 28/Apr/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.6.0
Fix Version/s: 2.7.0

Type: Bug Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-13686 support V8 3.25 JavaScript scripting ... Closed
related to SERVER-13792 add SCons configure and runtime check... Closed
Operating System: ALL
Participants:

 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



 Comments   
Comment by Githook User [ 28/Apr/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-13762 added configure check for POSIX system - replaces existing checks for unistd.h and clock_gettime
Branch: master
https://github.com/mongodb/mongo/commit/a3f67f410b333dde69330eeb138ccc65f2c21045

Generated at Thu Feb 08 03:32:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.