<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:21:24 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-9770] Allow windows builds to use the dynamic C and C++ runtime libraries</title>
                <link>https://jira.mongodb.org/browse/SERVER-9770</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On windows, we currently link against the static C and C++ runtime libraries, unlike all other platforms where we link against them dynamically. &lt;/p&gt;

&lt;p&gt;We will add a build-time switch to use /MD instead of /MT, to allow the enterprise build to work.&lt;/p&gt;</description>
                <environment>Windows</environment>
        <key id="76370">SERVER-9770</key>
            <summary>Allow windows builds to use the dynamic C and C++ runtime libraries</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>build-system-cleanup</label>
                    </labels>
                <created>Thu, 23 May 2013 16:16:43 +0000</created>
                <updated>Mon, 11 Jul 2016 17:38:51 +0000</updated>
                            <resolved>Fri, 6 Sep 2013 20:18:17 +0000</resolved>
                                                    <fixVersion>2.5.3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="419622" author="auto" created="Fri, 6 Sep 2013 19:22:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;milkie&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9770&quot; title=&quot;Allow windows builds to use the dynamic C and C++ runtime libraries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9770&quot;&gt;&lt;del&gt;SERVER-9770&lt;/del&gt;&lt;/a&gt; introduce new scons flag to optionally build with /MD&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b91195fe8f9fecc7d4318d430a3c1c064b32d811&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b91195fe8f9fecc7d4318d430a3c1c064b32d811&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="419355" author="milkie" created="Fri, 6 Sep 2013 14:45:08 +0000"  >&lt;p&gt;Modified the work for this to allow just the enterprise build to use the dynamic libraries, when a build flag is supplied to scons.&lt;/p&gt;</comment>
                            <comment id="367174" author="dwight_10gen" created="Tue, 25 Jun 2013 10:50:59 +0000"  >&lt;p&gt;i agree the C++ driver needs to work however one is building one&apos;s client application, and thus should work with /MD.  does it not currently?  i would suggest a separate ticket on that and linking them to each other.&lt;/p&gt;</comment>
                            <comment id="367172" author="dwight_10gen" created="Tue, 25 Jun 2013 10:49:57 +0000"  >&lt;p&gt;i am not convinced it should be dynamic. that is the standard on linux but the argument in the description is just that it&apos;s the way people do it on linux not the root reasons why that is good.&lt;/p&gt;

&lt;p&gt;it effectively creates more combinations of builds, one could imagine a bug with a specific combination of our code and the RTL, in theory you might then want to test all the combinations.&lt;/p&gt;

&lt;p&gt;the security thing is an example of a reason to do it.&lt;/p&gt;

&lt;p&gt;dynamic link errors can be nightmarish.&lt;/p&gt;

&lt;p&gt;another way to think about this: has this &lt;b&gt;ever&lt;/b&gt; manifested as an issue in the real world?  perhaps it has and i just am unaware.  i am positive dynamic will occasionally manifest as an issue as dll&apos;s tend to be missing at times.&lt;/p&gt;

&lt;p&gt;i also find a certain lack of elegance if our tarball suddenly includes DLLs.  yuck.  right now, you can run mongod.exe or mongo.exe and there are no dependencies.  with foo.dll required, even if in the tarball, you could imagine it not being on the PATH or something.  sounds yucky to me.&lt;/p&gt;</comment>
                            <comment id="361770" author="milkie" created="Mon, 17 Jun 2013 14:13:09 +0000"  >&lt;p&gt;We&apos;re planning on distributing some DLLs with the MongoDB executables to support some security features.  These will be distributed using the installer.&lt;br/&gt;
Eventually we will need /MD for the C++ driver as well.&lt;/p&gt;</comment>
                            <comment id="343851" author="tad" created="Thu, 23 May 2013 17:00:02 +0000"  >&lt;p&gt;I agree about the security issue, but there is a change in the security model in doing this.  The old way, we could release a build that corrected a flaw in the MSVC libraries.  In the new way, we can&apos;t (and theoretically don&apos;t have to), but customers have to use Windows Update or another mechanism to address security flaws.&lt;/p&gt;

&lt;p&gt;In the general case, we can&apos;t assume that a customer has, for example, msvcp100.dll.  A new install of Windows Server 2008 certainly won&apos;t have it; MSVC 2010 didn&apos;t exist when Windows Server 2008 was released.  These libraries can be downloaded or we can provide them in a &quot;redistributable package&quot; (the correct way to do it).  The MSI from Microsoft (for the MSVC libraries) can be incorporated into our MSI so it is not an extra step for the user ... it is just something to be aware of.&lt;/p&gt;

&lt;p&gt;The standalone nature of the Windows MongoDB executables is sort of a feature, though perhaps not an important one.&lt;/p&gt;</comment>
                            <comment id="343831" author="acm" created="Thu, 23 May 2013 16:42:58 +0000"  >&lt;p&gt;The security issues cut both ways: if we link statically, then security updates to the dynamic runtime libraries will not be picked up by our server.&lt;/p&gt;

&lt;p&gt;Can you elaborate on the deployment issues? Does a stock windows install not come with the msvcrXX.dll libraries pre-installed?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="32285">CXX-96</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 May 2013 16:25:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 23 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>
                            10 years, 23 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrms1z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>51739</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></customfieldvalue>

                        </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|ht0qzj:</customfieldvalue>

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