<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:01:53 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-65110] Should also set LLVM_SYMBOLIZER in mongodtoolchain gcc vars files</title>
                <link>https://jira.mongodb.org/browse/SERVER-65110</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We set the symbolizer in the clang vars files but not in gcc. That means that if you use &lt;tt&gt;--sanitize=address&lt;/tt&gt; with toolchain gcc you get an error asking you to manually pass &lt;tt&gt;LLVM_SYMBOLIZER=path&lt;/tt&gt; to scons. But if you are using the toolchain compiler, we should assume you want to use the toolchain llvm-symbolizer as well and just do that busy work for you.&lt;/p&gt;

&lt;p&gt;Since &lt;tt&gt;gcc -print-prog-name=llvm-symbolizer&lt;/tt&gt; just prints &lt;tt&gt;llvm-symbolizer&lt;/tt&gt; at you without path-qualifiying it, we can&apos;t use the same solution. But for the toolchain, we know that it is in the same &lt;tt&gt;bin/&lt;/tt&gt; dir as the compiler, so we can either set it relative to the path of the vars file, or just set it based on &lt;tt&gt;toolchain_bindir&lt;/tt&gt;. Alternatively, since we inject the toolchain into the &lt;tt&gt;PATH&lt;/tt&gt;, maybe an unqualified &lt;tt&gt;llvm-symbolizer&lt;/tt&gt; command is fine, and the error we give if &lt;tt&gt;LLVM_SYMBOLIZER&lt;/tt&gt; isn&apos;t configured is overly-agressive?&lt;/p&gt;</description>
                <environment></environment>
        <key id="2013048">SERVER-65110</key>
            <summary>Should also set LLVM_SYMBOLIZER in mongodtoolchain gcc vars files</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="trevor.guidry@mongodb.com">Trevor Guidry</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Mar 2022 12:15:03 +0000</created>
                <updated>Thu, 20 Oct 2022 18:27:47 +0000</updated>
                            <resolved>Thu, 6 Oct 2022 16:48:18 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4883481" author="JIRAUSER1268551" created="Thu, 6 Oct 2022 16:48:19 +0000"  >&lt;p&gt;This is only for running sanitizers with gcc which is currently something SDP does not want to support. If you feel this should be supported please reach out to me on slack and we can discuss there. Also if this benefits you in some other way other than gcc sanitizer please feel free to reopen and explain it to me.&lt;/p&gt;</comment>
                            <comment id="4447524" author="acm" created="Thu, 31 Mar 2022 14:20:34 +0000"  >&lt;p&gt;Setting &lt;tt&gt;LLVM_SYMBOLIZER&lt;/tt&gt; is required so that you can get working &lt;tt&gt;+foo_test&lt;/tt&gt; results under the sanitizer. I agree we should make it work.&lt;/p&gt;</comment>
                            <comment id="4447490" author="ryan.egesdahl" created="Thu, 31 Mar 2022 14:13:38 +0000"  >&lt;p&gt;Usually, you need the symbolizing when actually running the built object, so you should only need to set the environment variable when running the tests. Setting &lt;tt&gt;LLVM_SYMBOLIZER&lt;/tt&gt; as a SCons build variable would only be needed just to make the build happen - it would not even be used. Note, we currently don&#8217;t support GCC sanitizers, which is why you&#8217;re not succeeding here - I&#8217;m suggesting this workaround so we can see if it&#8217;s something we could potentially add if this works for you.&lt;/p&gt;</comment>
                            <comment id="4447433" author="redbeard0531" created="Thu, 31 Mar 2022 13:58:43 +0000"  >&lt;p&gt;I was just going off of the error I got when passing &lt;tt&gt;--sanitize=address&lt;/tt&gt; to scons. It prevents even trying to build without setting &lt;tt&gt;LLVM_SYMBOLIZER&lt;/tt&gt;. I could also try bypassing that logic and manually puting &lt;tt&gt;-fsanitize=address&lt;/tt&gt; in my &lt;tt&gt;CCFLAGS&lt;/tt&gt; and &lt;tt&gt;LINKFLAGS&lt;/tt&gt;. Is that what you are suggesting?&lt;/p&gt;</comment>
                            <comment id="4447417" author="ryan.egesdahl" created="Thu, 31 Mar 2022 13:54:11 +0000"  >&lt;p&gt;GCC versions above 4.9 should have &lt;tt&gt;libbacktrace&lt;/tt&gt; compiled in and should not need an external symbolizer. Could you try setting &lt;tt&gt;ASAN_OPTIONS=symbolize=1&lt;/tt&gt; and see if that does the trick? If not, we should really be looking into why GCC isn&#8217;t doing its own symbolizing.&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 31 Mar 2022 13:54:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 17 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>iryna.zhuravlova@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 17 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.neben@mongodb.com</customfieldvalue>
            <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>ryan.egesdahl@mongodb.com</customfieldvalue>
            <customfieldvalue>trevor.guidry@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0p7vz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i087qs:</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|i0ou1b:</customfieldvalue>

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