<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:43:37 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-17199] Fix building on platforms without execinfo.h</title>
                <link>https://jira.mongodb.org/browse/SERVER-17199</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The file &lt;tt&gt;src/mongo/platform/backtrace.cpp&lt;/tt&gt; includes &lt;tt&gt;dlfcn.h&lt;/tt&gt; without &lt;tt&gt;#define _GNU_SOURCE&lt;/tt&gt; to access functions like &lt;tt&gt;dladdr()&lt;/tt&gt;. According to the man page this doesn&apos;t seem right and as a matter of fact it didn&apos;t compile with a toolchain missing &lt;tt&gt;&amp;lt;execinfo.h&amp;gt;&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="182918">SERVER-17199</key>
            <summary>Fix building on platforms without execinfo.h</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="9">Done</resolution>
                                        <assignee username="jonathan.reams@mongodb.com">Jonathan Reams</assignee>
                                    <reporter username="raffopazzo">Raffaele Rossi</reporter>
                        <labels>
                            <label>build-jbr</label>
                    </labels>
                <created>Fri, 6 Feb 2015 11:56:25 +0000</created>
                <updated>Fri, 5 Feb 2016 14:29:20 +0000</updated>
                            <resolved>Fri, 12 Jun 2015 16:55:37 +0000</resolved>
                                                    <fixVersion>3.1.5</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="939098" author="jonathan.reams@10gen.com" created="Fri, 12 Jun 2015 16:54:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=raffopazzo&quot; class=&quot;user-hover&quot; rel=&quot;raffopazzo&quot;&gt;raffopazzo&lt;/a&gt;, sorry it took so long to get back on this. I actually got a repro environment with uclibc, and adding _GNU_SOURCE solved one problem but brought up another one; so we&apos;ve opted for a different approach to this. the code in backtrace.cpp is only for use on Solaris 10 where we don&apos;t have execinfo.h. Every other platform I could find had execinfo.h/backtrace available; in fact uclibc has backtrace available as a compile-time option. For platforms that really don&apos;t have execinfo.h available, we aren&apos;t going to try to emulate backtrace and mongo just won&apos;t print a stacktrace.&lt;/p&gt;</comment>
                            <comment id="939005" author="xgen-internal-githook" created="Fri, 12 Jun 2015 15:40:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jbreams&apos;, u&apos;name&apos;: u&apos;Jonathan Reams&apos;, u&apos;email&apos;: u&apos;jbreams@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17199&quot; title=&quot;Fix building on platforms without execinfo.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17199&quot;&gt;&lt;del&gt;SERVER-17199&lt;/del&gt;&lt;/a&gt; Fix compile on OSX&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0e014f112131780672d6c34ae1b492d614118d5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0e014f112131780672d6c34ae1b492d614118d5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="938812" author="xgen-internal-githook" created="Fri, 12 Jun 2015 13:15:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jbreams&apos;, u&apos;name&apos;: u&apos;Jonathan Reams&apos;, u&apos;email&apos;: u&apos;jbreams@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17199&quot; title=&quot;Fix building on platforms without execinfo.h&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17199&quot;&gt;&lt;del&gt;SERVER-17199&lt;/del&gt;&lt;/a&gt; Fix compiles on platforms without execinfo.h&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9a00e51f76afd0f68e96196ad8e11924de254d8e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9a00e51f76afd0f68e96196ad8e11924de254d8e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="914239" author="raffopazzo" created="Thu, 14 May 2015 16:41:52 +0000"  >&lt;p&gt;I imagine it&apos;s a 1-liner. You can try and send me the patch and I&apos;ll try, but I&apos;m having problem building master due to some boost problem in V8-3.25&lt;/p&gt;</comment>
                            <comment id="914085" author="jonathan.reams@10gen.com" created="Thu, 14 May 2015 15:12:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=raffopazzo&quot; class=&quot;user-hover&quot; rel=&quot;raffopazzo&quot;&gt;raffopazzo&lt;/a&gt;, I&apos;m having trouble finding a reproduction environment on my end. Can I email you a patch, and you can test it  in your environment?&lt;/p&gt;</comment>
                            <comment id="901823" author="raffopazzo" created="Thu, 30 Apr 2015 08:04:16 +0000"  >&lt;p&gt;I was cross-compiling for a mips-uclibc-linux platform. Since uClibc mimics glibc, this should be treated as a glibc platform, which according to the man page requires #define _GNU_SOURCE:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Glibc extensions: dladdr() and dlvsym()&lt;/p&gt;

&lt;p&gt;Glibc adds two functions not described by POSIX, with prototypes&lt;br/&gt;
#define _GNU_SOURCE         /* See feature_test_macros(7) */&lt;br/&gt;
#include &amp;lt;dlfcn.h&amp;gt;&lt;/p&gt;

&lt;p&gt;int dladdr(void *addr, Dl_info *info);&lt;/p&gt;

&lt;p&gt;void *dlvsym(void *handle, char *symbol, char *version);&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="901363" author="jonathan.reams@10gen.com" created="Wed, 29 Apr 2015 20:05:09 +0000"  >&lt;p&gt;The code in backtrace.cpp only gets executed if your platform doesn&apos;t have execinfo.h (e.g. Solaris), and on Solaris and other non-glibc platforms, _GNU_SOURCE isn&apos;t required to use dlopen. Is there a platform you&apos;re building on that doesn&apos;t have execinfo.h and uses the dlopen to emulate the backtrace calls? On my local Linux install, a missing execinfo.h causes a configure error because libstdc++ depends on calling backtrace.&lt;/p&gt;</comment>
                            <comment id="823217" author="raffopazzo" created="Fri, 6 Feb 2015 11:59:54 +0000"  >&lt;p&gt;I raised this issue uncertain whether you guys reckoned it&apos;d be worth. Happy to reject it if you think the code&apos;s ok as is, but I believe it&apos;s not compliant with the docs &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
BTW, the priority is Major by default. Not sure whether this should be lowered.&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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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>Wed, 29 Apr 2015 20:05:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 35 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, 35 weeks, 5 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jonathan.reams@mongodb.com</customfieldvalue>
            <customfieldvalue>raffopazzo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hris6n:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>160758</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="476">Platform 2 04/24/15</customfieldvalue>
    <customfieldvalue id="541">BUILD 4 06/05/15</customfieldvalue>
    <customfieldvalue id="568">Build 5 06/26/16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Compile with a toolchain missing &lt;tt&gt;execinfo.h&lt;/tt&gt;&lt;/p&gt;</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|hrip6v:</customfieldvalue>

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