[SERVER-28199] Can't compile master branch with off-the-shelf gcc 5.4 Created: 06/Mar/17 Updated: 05/Apr/17 Resolved: 07/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Igor Canadi | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Create AWS instance with Ubuntu 14.04. Then: sudo apt-get install git Output: https://gist.github.com/igorcanadi/8f42d680be476ab12f7d3da3dc141d59 |
| Sprint: | Platforms 2017-03-27 |
| Participants: |
| Description |
|
I'm trying to reproduce https://jira.mongodb.org/browse/SERVER-27400 and need to build mongo on AWS environment. I created a c3.4xlarge instance with Ubuntu 14.04, installed gcc 5.4, and scons complains that my compiler doesn't support thread local storage for trivially constructible types. See repro steps. |
| Comments |
| Comment by Githook User [ 07/Mar/17 ] | |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: | |
| Comment by Mark Benvenuto [ 06/Mar/17 ] | |
|
igor I just sent out a code review of a change to raise the minimum scons version to prevent others from hitting this problem. | |
| Comment by Igor Canadi [ 06/Mar/17 ] | |
|
That works, thanks a lot Mark! | |
| Comment by Mark Benvenuto [ 06/Mar/17 ] | |
|
igor, use this command to compile MongoDB. It will use Scons 2.5.0 instead of the scons that comes with Ubuntu 14.04. There was a recent change in master that bumps the minimum version of scons.
|