[CDRIVER-2478] --disable-shm-counters should disable the build of mongoc-stat Created: 29/Jan/18 Updated: 28/Oct/23 Resolved: 31/Jan/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 1.9.2 |
| Fix Version/s: | 1.10.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gabriel Russell (Inactive) | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The use of shm_open in mongoc-counters.c is disabled without MONGOC_ENABLE_SHM_COUNTERS, but the shm_open in mongoc-stat.c is always compiled, and will fail to link if shm_open is not available. |
| Comments |
| Comment by Githook User [ 31/Jan/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: If the driver is built with --disable-shm-counters, mongoc-stat should |
| Comment by A. Jesse Jiryu Davis [ 31/Jan/18 ] |
|
Hi, what's motivating this ticket / why is it urgent please? |
| Comment by Gabriel Russell (Inactive) [ 30/Jan/18 ] |
|
Getting a fix for this backported to 1.9 would be nice to have. |