[SERVER-8994] Upgrade boost to 1.5x Created: 15/Mar/13 Updated: 11/Jul/16 Resolved: 22/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.6 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 1 |
| Labels: | community-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Server 2.7.3, Server 2.7.4, Server 2.7.5, Server 2.7.6 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
We are a few revs behind on boost. We should consider advancing to boost 1.52 or boost 1.53 for the 2.5/2.6 release cycle, mostly to pick up bug fixes and better C++11 support. |
| Comments |
| Comment by Githook User [ 03/Mar/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 15/Jan/15 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 22/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 21/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 20/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: Fix comes from lexical_cast.diff: https://svn.boost.org/trac/boost/ticket/4946 |
| Comment by Githook User [ 20/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 20/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 15/Aug/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: Initial import of source Libraries: algorithm array asio bind chrono config container date_time |
| Comment by Mathias Stearn [ 08/Aug/14 ] |
|
FYI, 1.56 has been released: http://www.boost.org/users/history/version_1_56_0.html Among many other things, it has a move-enabled boost::optional. |
| Comment by Githook User [ 12/Jun/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: 1. Move swap from std to mongo namespace. Fixed C++ build on 10.9 with |
| Comment by Githook User [ 06/Jun/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 06/Jun/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 04/Jun/14 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: Initial import of source Libraries: algorithm array bind chrono config container date_time |
| Comment by Tad Marshall [ 31/May/13 ] |
|
There may be Boost issues related to locales and traits in 1.49, but I haven't tried a newer version to verify this. I get Boost errors related to locales in Solaris until I do "export LC_ALL=C" and when I searched the web for clues I found a "mea culpa" from a Boost developer who said that they had fixed this. |
| Comment by Andrew Morrow (Inactive) [ 31/May/13 ] |
|
In that case we need to do the audit sooner rather than later. Any system that builds with --use-system-boost and has boost > 1.49 is going to be at risk, and that is most linux vendor packages (e.g. debian). |
| Comment by Mathias Stearn [ 31/May/13 ] |
|
FYI: we will need to audit all uses of boost::thread to make sure we call join() or detach() before the thread is destructed: https://svn.boost.org/trac/boost/ticket/6266. Version 1.49 had an implicit detach() in the destructor and we have relied on that behavior. The new behavior is the same as std::thread in c++11 so we would probably need to do this anyway. |