[SERVER-17455] Configure checks for __atomic and __sync should verify all required functions Created: 04/Mar/15  Updated: 07/Dec/16  Resolved: 22/Apr/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.0.0
Fix Version/s: 3.1.2

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: build-jbr
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-17447 Failed to build on Linux i686 with clang Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

See SERVER-17447 for details.

Sprint: BUILD 2 04/24/15
Participants:

 Description   

We currently assume that the presence of _atomic_compare_exchange on a native width int means that the entire spectrum of __atomic* ops are available to us. We make similar assumptions for std::atomic or __sync.

We should expand these tests to check for the presence of the entire API surface that we require.



 Comments   
Comment by Githook User [ 23/Apr/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-17455 Use CheckLib for libatomic and print nicer messages
Branch: master
https://github.com/mongodb/mongo/commit/4ff9beb8293ab4b0de8ddbb3542331b7e30051b3

Comment by Githook User [ 22/Apr/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-17455 Re-add std::atomic configure checks
Branch: master
https://github.com/mongodb/mongo/commit/33ef05ce2d71107533d283e6d2d31c34b01d33b7

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