[SERVER-22248] MongoDB 3.2.1 build generates internal compiler error in VS2015 Created: 20/Jan/16 Updated: 21/Jan/16 Resolved: 21/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 3.2.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rex Conn | Assignee: | Ramon Fernandez Marina |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | scons --ssl CPPPATH=s:\sdk\openssl-1.0.2e\include LIBPATH=s:\sdk\openssl-1.0.2e\win64\lib --release --win-version-min=vista all |
||||||||
| Participants: | |||||||||
| Description |
|
I'm getting an internal error in VS2015 when building 3.2.1. (Tried it multiple times on two systems, including rebooting & trying again.) Is there a command line option to tell SCONS to use VS2013 instead?
|
| Comments |
| Comment by Ramon Fernandez Marina [ 21/Jan/16 ] | |
|
Thanks for the additional information rconn, looks like you've run into the VS2015 bugs listed in Regards, | |
| Comment by Rex Conn [ 21/Jan/16 ] | |
|
I tried both of the suggested workarounds in Building 3.2.1 with VS2013 does work. | |
| Comment by Rex Conn [ 20/Jan/16 ] | |
|
I got the source from https://www.mongodb.org/downloads#production . | |
| Comment by Andrew Morrow (Inactive) [ 20/Jan/16 ] | |
|
Hi rconn - You can explicitly select a compiler on the SCons command line with the MSVC_VERSION SCons Variable. To build with VS2013, try
| |
| Comment by Ramon Fernandez Marina [ 20/Jan/16 ] | |
|
rconn, what sources are you using to build? Are you building from the git repo or did you get them from the releases tab on github? If the latter then this may be a known issue – please see Thanks, |