<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:52:16 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-61373] v4 toolchain is missing llvm-mi</title>
                <link>https://jira.mongodb.org/browse/SERVER-61373</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;There&apos;s llvm-mi in v3 toolset, but not in v4&lt;/p&gt;

&lt;p&gt;llvm-mi is used in vscode for native debugging:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1921879">SERVER-61373</key>
            <summary>v4 toolchain is missing llvm-mi</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="13202">Works as Designed</resolution>
                                        <assignee username="ryan.egesdahl@mongodb.com">Ryan Egesdahl</assignee>
                                    <reporter username="sergey.galtsev@mongodb.com">Sergey Galtsev</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Nov 2021 00:43:20 +0000</created>
                <updated>Fri, 27 Oct 2023 13:52:11 +0000</updated>
                            <resolved>Thu, 16 Dec 2021 18:52:57 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4247059" author="JIRAUSER1258160" created="Tue, 14 Dec 2021 15:48:49 +0000"  >&lt;p&gt;Ok, understood.&lt;/p&gt;</comment>
                            <comment id="4246589" author="acm" created="Tue, 14 Dec 2021 13:41:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sergey.galtsev&quot; class=&quot;user-hover&quot; rel=&quot;sergey.galtsev&quot;&gt;sergey.galtsev&lt;/a&gt;&#160;- The purpose of the toolchain is to support building and testing the server in CI and for release, to backfill toolchain support on developer systems when the system toolchain is insufficient, and to provide stable versions of required development tools across systems in order to interoperate with toolchain produced binaries. If the LLVM project has deemed &lt;tt&gt;lldb-mi&lt;/tt&gt; as something that doesn&apos;t belong in modern LLVM due to its lack of a maintainer, then I&apos;m not comfortable re-adding it, as it could prevent us from making necessary upgrades in the future without becoming the de facto maintainer. As &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryan.egesdahl&quot; class=&quot;user-hover&quot; rel=&quot;ryan.egesdahl&quot;&gt;ryan.egesdahl&lt;/a&gt;&#160;points out, there is nothing stopping you from building your own &lt;tt&gt;lldb-mi&lt;/tt&gt; against the toolchain LLVM support libraries, which are or shortly will be present, or obtaining &lt;tt&gt;lldb-mi&lt;/tt&gt; from your system package manager. In particular, I&apos;ll note that homebrew provides &lt;tt&gt;lldb-mi&lt;/tt&gt; in the &lt;tt&gt;llvm@9&lt;/tt&gt;&#160;packages (and probably older as well), and Ubuntu 20.04 provides it in the &lt;tt&gt;lldb-10&lt;/tt&gt; package (and probably older as well).&#160;&lt;/p&gt;</comment>
                            <comment id="4245608" author="JIRAUSER1258160" created="Mon, 13 Dec 2021 23:00:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryan.egesdahl&quot; class=&quot;user-hover&quot; rel=&quot;ryan.egesdahl&quot;&gt;ryan.egesdahl&lt;/a&gt; the issue with not having llvm-mi in the toolchain is that debugging in vscode will be affected, and many engineers here use vscode. Since llvm-mi is not used during code compilation, perhaps you can include it into toolchain despite objections? Alternative would be either to stop debugging in vscode (unrealistic), sticking to v3 toolchain (undesirable), or finding even more backwards ways to debug. All these alternatives are worse that providing a somewhat old tool.&lt;/p&gt;</comment>
                            <comment id="4245217" author="ryan.egesdahl" created="Mon, 13 Dec 2021 21:00:28 +0000"  >&lt;p&gt;The reason &lt;tt&gt;llvm-mi&lt;/tt&gt; was removed from the LLVM distribution is apparently that it hasn&apos;t been updated in a very long time, and they are hoping that splitting it out into its own repository will encourage someone to step up and maintain it. Unfortunately, that means that &lt;tt&gt;llvm-mi&lt;/tt&gt; is an unmaintained tool. I have many reservations about including an unmaintained tool in the toolchain because if/when it breaks or a bug is encountered, I don&apos;t think we can promise that we&apos;ll be able to fix it or convince upstream to do so.&lt;/p&gt;

&lt;p&gt;What I propose is that we not include &lt;tt&gt;llvm-mi&lt;/tt&gt; in the toolchain and instead enable LLVM in the v4 toolchain to be built against so any user who wants to can add any tool they like - such as this one. We&apos;ve already had some success building IWYU against LLVM with minimal effort, so hopefully it will be as easy for users to do the same with &lt;tt&gt;llvm-mi&lt;/tt&gt;. The next rollout of the v4 toolchain should have this capability.&lt;/p&gt;

&lt;p&gt;I know it&apos;s not the optimal solution, but I think it&apos;s the best we can offer at this time.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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>Mon, 13 Dec 2021 21:00:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 8 weeks, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2390</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 8 weeks, 1 day 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>ryan.egesdahl@mongodb.com</customfieldvalue>
            <customfieldvalue>sergey.galtsev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i09r07:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzy4xr:</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="5576">Dev Platform 2021-12-27</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|i09d5j:</customfieldvalue>

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