<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:59 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-731] try Sun Studio for compiling on solaris</title>
                <link>https://jira.mongodb.org/browse/SERVER-731</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Also:&lt;br/&gt;
  in third_party/pcre-7.4/config.h look for TODO for sunos&lt;/p&gt;</description>
                <environment>solaris</environment>
        <key id="11476">SERVER-731</key>
            <summary>try Sun Studio for compiling on solaris</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="backlog-server-build">Backlog - Build Team</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                            <label>build-later</label>
                            <label>build-needs-definition</label>
                    </labels>
                <created>Wed, 10 Mar 2010 23:12:36 +0000</created>
                <updated>Tue, 6 Dec 2022 05:50:29 +0000</updated>
                            <resolved>Tue, 8 Aug 2017 14:52:47 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1643036" author="ramon.fernandez" created="Tue, 8 Aug 2017 14:52:47 +0000"  >&lt;p&gt;Currently there are no further plans to explore other toolchains on Solaris.&lt;/p&gt;</comment>
                            <comment id="13565" author="werehamster" created="Mon, 12 Apr 2010 16:18:26 +0000"  >&lt;p&gt;Additional information to the #pragma pack behavior of sunstudio: &lt;a href=&quot;http://forums.sun.com/thread.jspa?threadID=5433609&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://forums.sun.com/thread.jspa?threadID=5433609&lt;/a&gt; and &lt;a href=&quot;http://bugs.sun.com/view_bug.do?bug_id=4494035&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://bugs.sun.com/view_bug.do?bug_id=4494035&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="13220" author="werehamster" created="Mon, 29 Mar 2010 09:10:06 +0000"  >&lt;p&gt;I added _&lt;em&gt;attribute&lt;/em&gt;_((packed)) to all structures and classes which are inside #pragma pack(1) (because Sun Studio ignores #pragma pack on non-POD types), the resulting code compiles fine with Sun Studio but fails to compile with g++. There is one error:&lt;br/&gt;
db/diskloc.h: In member function &apos;int&amp;amp; mongo::DiskLoc::GETOFS()&apos;:&lt;br/&gt;
db/diskloc.h:93: error: cannot bind packed field &apos;((mongo::DiskLoc*)this)-&amp;gt;mongo::DiskLoc::ofs&apos; to &apos;int&amp;amp;&apos;&lt;/p&gt;

&lt;p&gt;and many warnings (such as):&lt;br/&gt;
db/btree.h:374: warning: ignoring packed attribute because of unpacked non-POD field &apos;mongo::BSONObj mongo::BtreeCursor::startKey&apos;&lt;br/&gt;
db/btree.h:375: warning: ignoring packed attribute because of unpacked non-POD field &apos;mongo::BSONObj mongo::BtreeCursor::endKey&apos;&lt;/p&gt;

&lt;p&gt;I don&apos;t know which types need to be packed and which do not, and I don&apos;t want to add _&lt;em&gt;attribute&lt;/em&gt;&lt;em&gt;((packed)) when not absolutely necessary, so the last commit (Create a define for __attribute&lt;/em&gt;_((packed)) and use when appropriate) in my new patchset (available in the &apos;solaris-fixes-clean&apos; branch) needs to be reviewed and updated appropriately.&lt;/p&gt;</comment>
                            <comment id="13214" author="werehamster" created="Sun, 28 Mar 2010 08:28:02 +0000"  >&lt;p&gt;So, all but dbtests/threadedtests.cpp compiles without errors or warnings, &apos;make test_all&apos; in node-mongodb-native runs without errors, but I see a lot assertions failed in the output of &apos;scons smokeAll&apos;. Anyway, the code is in my github repo, but the commits aren&apos;t cleaned up yet, the whole series could be squashed down to maybe eight commits.&lt;/p&gt;

&lt;p&gt;The error in threadedtests.cpp is actually an error in either boost or the Sun Studio C++ compiler (my guess is the later):&lt;br/&gt;
&quot;/usr/include/boost/thread/future.hpp&quot;, line 414: Error: Formal argument other of type boost::unique_lock&amp;lt;boost::mutex&amp;gt; in call to boost::unique_lock&amp;lt;boost::mutex&amp;gt;::operator=(boost::unique_lock&amp;lt;boost::mutex&amp;gt;) has an inaccessible copy constructor.&lt;br/&gt;
The same error can be observed with a empty source file which only includes the &amp;lt;boost/thread.hpp&amp;gt; include file.&lt;/p&gt;

&lt;p&gt;In data structures which need a particular layout, I&apos;d suggest you to use stdint types, that would make the size of the fields much clearer. I didn&apos;t address this in any of my commits since it&apos;s not necessarily needed to make mongo compile with Sun Studio. But it&apos;s something that would improve portability.&lt;/p&gt;</comment>
                            <comment id="13183" author="werehamster" created="Fri, 26 Mar 2010 09:42:49 +0000"  >&lt;p&gt;See work in progress here: &lt;a href=&quot;http://github.com/wereHamster/mongo/compare/solaris-fixes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/wereHamster/mongo/compare/solaris-fixes&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="227526">CDRIVER-818</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25138"><![CDATA[Build]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 26 Mar 2010 09:42:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 27 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 27 weeks, 1 day 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>backlog-server-build</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>werehamster</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrir3j:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5153</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|hrip4f:</customfieldvalue>

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