[SERVER-21839] Failed to build with --use-system-asio Created: 10/Dec/15 Updated: 07/Dec/16 Resolved: 25/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.11 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Felix Yan | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Arch Linux x86_64 |
||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Platforms 18 (08/05/16) | ||||||||
| Participants: | |||||||||
| Description |
|
I am getting the following error when building with "--use-system-asio". Removing this option gets it back to work.
|
| Comments |
| Comment by Githook User [ 25/Jul/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 11/Dec/15 ] |
|
Hi felixonmars - Thanks for the bug report. I can confirm that I reproduce this issue. I'm marking it as 3.3 required but when we fix it I will get it queued for consideration for backport to 3.2. The issue is a little tricky because I think that the system asio on arch is header-only, so there is no libdep for our build system to specify. Additionally, please note that we have made some small modifications to our vendored copy of ASIO 1.11.0: https://github.com/mongodb/mongo/commits/master/src/third_party/asio-asio-1-11-0 The relevant commits are:
The first of these has been fixed upstream (see https://github.com/chriskohlhoff/asio/commit/1d19a0060146cc345787158ab564f77e02a03568), however, the second is still an open issue (see https://github.com/chriskohlhoff/asio/issues/73) Therefore, our recommendation would be to build against the vendored copy of ASIO until these issues are addressed. |