<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:58:27 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-21798] Can&apos;t build 3.2 in Windows with --ssl flag</title>
                <link>https://jira.mongodb.org/browse/SERVER-21798</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When I try to build 3.2 in Windows (either VS2013 or VS2015), I get an error &quot;Compiler must support a thread local storage class for trivially constructible types&quot; when the --ssl flag is passed to scons.  If I remove the flag scons proceeds with the compilation.&lt;/p&gt;

&lt;p&gt;My original command line had more options, but even with this:&lt;/p&gt;

&lt;p&gt;scons --release --64 --ssl=SSL&lt;/p&gt;

&lt;p&gt;it fails to compile.&lt;/p&gt;</description>
                <environment>Windows 10, Visual Studio 2013 &amp;amp; 2015, MongoDB 3.2</environment>
        <key id="242822">SERVER-21798</key>
            <summary>Can&apos;t build 3.2 in Windows with --ssl flag</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rconn">Rex Conn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Dec 2015 19:29:25 +0000</created>
                <updated>Tue, 15 Dec 2015 12:02:54 +0000</updated>
                            <resolved>Tue, 15 Dec 2015 12:02:54 +0000</resolved>
                                    <version>3.2.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1111998" author="rconn" created="Fri, 11 Dec 2015 14:23:05 +0000"  >&lt;p&gt;Thanks; everything is building now.  On to the testing ...&lt;/p&gt;</comment>
                            <comment id="1111114" author="mark.benvenuto" created="Thu, 10 Dec 2015 18:53:14 +0000"  >&lt;p&gt;Yes, it defaults to x64. It will display the target processor during the configure steps. &lt;/p&gt;</comment>
                            <comment id="1111073" author="rconn" created="Thu, 10 Dec 2015 18:31:23 +0000"  >&lt;p&gt;Unfortunately I have to support Win2008 (non-R2) for now.&lt;/p&gt;

&lt;p&gt;Does the 3.2 build default to x64?&lt;/p&gt;</comment>
                            <comment id="1111060" author="mark.benvenuto" created="Thu, 10 Dec 2015 18:23:55 +0000"  >&lt;p&gt;I had copied build script from 3.0, and then modified. In 3.2, for SSL, use this:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons --ssl CPPPATH=s:\sdk\openssl-1.0.2d\include LIBPATH=s:\sdk\openssl-1.0.2d\win64\lib --release --win-version-min=vista all&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;My first comment also has the same answer. I would recommend &lt;tt&gt;--win-version-min=ws08r2&lt;/tt&gt; though if you are only targeting Windows 7 or later as it allows us to take advantage of reader writer locks in Windows.&lt;/p&gt;</comment>
                            <comment id="1111035" author="rconn" created="Thu, 10 Dec 2015 18:11:14 +0000"  >&lt;p&gt;OK, changing it to CPPPATH made it go farther (past the thread local storage error &amp;amp; OpenSSL error).  Now it says:&lt;/p&gt;

&lt;p&gt;SCons Error: no such option:  --64&lt;/p&gt;

&lt;p&gt;If I remove &quot;--64&quot; it does begin compiling, though I don&apos;t know if it&apos;s compiling for x86 or x64.&lt;/p&gt;</comment>
                            <comment id="1110834" author="milkie" created="Thu, 10 Dec 2015 16:13:48 +0000"  >&lt;p&gt;Mark had a typo in his command; it should be CPPPATH.&lt;/p&gt;</comment>
                            <comment id="1110833" author="rconn" created="Thu, 10 Dec 2015 16:13:37 +0000"  >&lt;p&gt;The end of config.log shows the error:&lt;br/&gt;
LINK : fatal error LNK1181: cannot open input file &apos;libeay32.lib&apos;&lt;/p&gt;

&lt;p&gt;Libeay32.lib is in the same place it&apos;s always been (and the C++ driver build has no problem finding it).&lt;/p&gt;</comment>
                            <comment id="1110828" author="rconn" created="Thu, 10 Dec 2015 16:12:00 +0000"  >&lt;p&gt;I tried your command line but it returns an error in scons:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;s:\sdk\MongoDB-r3.2.0&amp;#93;&lt;/span&gt; scons --ssl CPPATH=s:\sdk\openssl-1.0.2d\include LIBPATH=s:\sdk\openssl-1.0.2d\win64\lib --release --64 --win-version-min=vista all&lt;br/&gt;
scons: Reading SConscript files ...&lt;br/&gt;
scons version: 2.3.4&lt;br/&gt;
python version: 2 7 9 &apos;final&apos; 0&lt;br/&gt;
Unknown variables specified: CPPATH&lt;/p&gt;</comment>
                            <comment id="1108732" author="mark.benvenuto" created="Tue, 8 Dec 2015 21:08:01 +0000"  >&lt;p&gt;Please use the following command line: The command to build mongodb has changed in 3.2.&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons --ssl CPPATH=s:\sdk\openssl-1.0.2d\include LIBPATH=s:\sdk\openssl-1.0.2d\win64\lib --release --64 --win-version-min=vista all&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="1108666" author="adam.midvidy" created="Tue, 8 Dec 2015 19:55:50 +0000"  >&lt;p&gt;The end of config.log shows the error:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;LINK : fatal error LNK1181: cannot open input file &apos;libeay32.lib&apos;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="1108662" author="rconn" created="Tue, 8 Dec 2015 19:54:06 +0000"  >&lt;p&gt;Config.log attached.&lt;/p&gt;</comment>
                            <comment id="1108655" author="adam.midvidy" created="Tue, 8 Dec 2015 19:50:55 +0000"  >&lt;p&gt;Can you attach the contents of your MONGO_GIT_PATH/build/scons/config.log file?&lt;/p&gt;</comment>
                            <comment id="1108653" author="rconn" created="Tue, 8 Dec 2015 19:50:04 +0000"  >&lt;p&gt;I know about OpenSSL; my real command line looks like this:&lt;/p&gt;

&lt;p&gt;scons --ssl --extrapath=s:\sdk\openssl-1.0.2d --libpath=s:\sdk\openssl-1.0.2d\win64\lib --release --64 --win-version-min=vista all&lt;/p&gt;

&lt;p&gt;Which doesn&apos;t work with the --ssl flag; scons doesn&apos;t even get to the point where it starts compiling.  It throws the error when checking the environment.&lt;/p&gt;

&lt;p&gt;This works with 3.0.7 but not 3.2.0.&lt;/p&gt;</comment>
                            <comment id="1108650" author="rconn" created="Tue, 8 Dec 2015 19:47:51 +0000"  >&lt;p&gt;Curiously, building the C++ 1.1.0 legacy driver works fine with the --ssl flag.&lt;/p&gt;</comment>
                            <comment id="1108636" author="mark.benvenuto" created="Tue, 8 Dec 2015 19:36:44 +0000"  >&lt;p&gt;In order to build MongoDB with SSL on Windows, you need OpenSSL and a command line like the following:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons.bat --ssl CPPPATH=&quot;d:\lib\ssl\include&quot; LIBPATH=&quot;d:\lib\ssl\lib&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;where &lt;tt&gt;d:\lib\ssl&lt;/tt&gt; is the location of your OpenSSL binaries.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="101295" name="config.log" size="11878" author="rconn" created="Tue, 8 Dec 2015 19:54:06 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 8 Dec 2015 19:35:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 9 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 9 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adam.midvidy</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>rconn</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkmtb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsev27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrksx3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>