<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:06:40 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-44688] duplicate symbols when compiling with clang 9</title>
                <link>https://jira.mongodb.org/browse/SERVER-44688</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi, mongodb 4.2.1 builds fine on macOS 10.13 when compiled with &lt;tt&gt;--libc++&lt;/tt&gt; using MacPorts clang 7, and also with clang 8 if I apply the fix from&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44270&quot; title=&quot;Compilation fails with --libc++ and clang 8.0+&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44270&quot;&gt;&lt;del&gt;SERVER-44270&lt;/del&gt;&lt;/a&gt;. But using clang 9, the build fails with hundreds of thousands of duplicate symbol errors like this:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;duplicate symbol __ZN5mongo13error_details11isNamedCodeILi9EEE in:&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/dbshell.o&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/mongodbcr.o&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;duplicate symbol __ZN5mongo13error_details11isNamedCodeILi199EEE in:&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/dbshell.o&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/mongodbcr.o&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;duplicate symbol __ZN5mongo13error_details11isNamedCodeILi89EEE in:&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/dbshell.o&lt;/tt&gt;&lt;br/&gt;
 &lt;tt&gt;build/MP/mongo/shell/mongodbcr.o&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;My compressed full build log is attached.&lt;/p&gt;

&lt;p&gt;Another user reported the same problem when using clang 9 to build mongodb 4.0.13 on OS X 10.11. Here is &lt;a href=&quot;https://trac.macports.org/attachment/ticket/59461/main.log.Z&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;their compressed full build log&lt;/a&gt; if you&apos;d like it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1008075">SERVER-44688</key>
            <summary>duplicate symbols when compiling with clang 9</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="3">Duplicate</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="ryandesign">Ryan Schmidt</reporter>
                        <labels>
                    </labels>
                <created>Sun, 17 Nov 2019 10:52:34 +0000</created>
                <updated>Thu, 21 Nov 2019 18:18:07 +0000</updated>
                            <resolved>Thu, 21 Nov 2019 18:18:07 +0000</resolved>
                                    <version>4.2.1</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2560025" author="acm" created="Thu, 21 Nov 2019 18:17:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - I believe this has been fixed on the v4.2 branch and the fix will arrive in the upcoming r4.2.2 tag. I&apos;m closing this ticket, but please let me know if I there is more I can do to assist.&lt;/p&gt;

&lt;p&gt;The v4.2 commit is available here: &lt;a href=&quot;https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2555574" author="acm" created="Wed, 20 Nov 2019 22:08:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - Were you able to see if the fix for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44025&quot; title=&quot;Ensure that isNamedCode variable template specializations has internal linkage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44025&quot;&gt;&lt;del&gt;SERVER-44025&lt;/del&gt;&lt;/a&gt; addresses this issue for you? &lt;/p&gt;</comment>
                            <comment id="2549267" author="acm" created="Tue, 19 Nov 2019 16:12:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - I think this is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44025&quot; title=&quot;Ensure that isNamedCode variable template specializations has internal linkage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44025&quot;&gt;&lt;del&gt;SERVER-44025&lt;/del&gt;&lt;/a&gt;, which is fixed on master but not on v4.2. I&apos;ve asked that it be tagged for backport to at least v4.2, but in the meantime you should be able to trivially apply the same fix. Also, I checked in with the engineer who found and fixed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44025&quot; title=&quot;Ensure that isNamedCode variable template specializations has internal linkage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44025&quot;&gt;&lt;del&gt;SERVER-44025&lt;/del&gt;&lt;/a&gt;, and they indicated that you were likely to run in to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44059&quot; title=&quot;_makeCoefficientLow in decimal128.h should be static&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44059&quot;&gt;&lt;del&gt;SERVER-44059&lt;/del&gt;&lt;/a&gt; next, and that will get backport requests as well.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="970548">SERVER-44025</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="237532" name="main.log.bz2" size="351602" author="ryandesign" created="Sun, 17 Nov 2019 10:47:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Nov 2019 16:12:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 11 weeks, 6 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>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 11 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvoehj:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3442">Dev Platform 2019-12-02</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|hw3a33:</customfieldvalue>

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