[MONGOCRYPT-334] RHEL 6 failing to compile bson-atomic.h Created: 15/Sep/21  Updated: 28/Oct/23  Resolved: 22/Sep/21

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Bug Priority: Unknown
Reporter: Neal Beeken Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: failing-on-waterfall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates MONGOCRYPT-335 Building on RHEL 6.2 64-bit fails Closed
Related
related to CDRIVER-4124 Clean Up Internal Atomic APIs Closed

 Description   

RHEL 6 on x86_64
RHEL 6 on s390x

libbson now uses symbols such as
__ATOMIC_ACQ_REL
__ATOMIC_RELAXED
__ATOMIC_CONSUME
in
bson_atomic_int64_fetch_add

which I suppose do not exist on RHEL 6's toolchain?



 Comments   
Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-334 clone mongo-c-driver from reference in all tests (#195)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/50b3859224b944e669105019a7e5bb3ba9c6c5f6

Comment by Kevin Albertson [ 21/Sep/21 ]

PR: https://github.com/mongodb/libmongocrypt/pull/195

Comment by Colby Pike [ 15/Sep/21 ]

Thanks for this notice. Looks like there's an old GCC on rhel6 that's not happy with the new code. I'll confirm.

Generated at Thu Feb 08 09:08:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.