<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58:10 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>[CXX-92] Shared client compiler switch &quot;--as-needed&quot; giving compiler errors</title>
                <link>https://jira.mongodb.org/browse/CXX-92</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;switch &quot;--as-needed&quot; is leaving a lot of undefined references when building mongoclient.so. See log for details. Removing switch then everything links. Will attach patch momentarily....&lt;/p&gt;


&lt;p&gt;Here are some of the link error message, full log is attached.&lt;br/&gt;
./libmongotestfiles.a(cmdline.o): In function `mongo::CmdLine::addGlobalOptions(boost::program_options::options_description&amp;amp;, boost::program_options::options_description&amp;amp;)&apos;:&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:47: undefined reference to `boost::program_options::options_description::add_options()&apos;&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:47: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)&apos;&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:51: undefined reference to `boost::program_options::options_description::add_options()&apos;&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:51: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)&apos;&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:52: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*, char const*)&apos;&lt;br/&gt;
/home/dhubler/temp/mongodb-src-r2.0.0/db/cmdline.cpp:53: undefined reference to `boost::program_options::options_description_easy_init::operator()(char const*,&lt;/p&gt;</description>
                <environment>Fedora 14 64 but&lt;br/&gt;
git sha b2910bcc5e55ee7d29f83476db0fd1c577690b71</environment>
        <key id="24299">CXX-92</key>
            <summary>Shared client compiler switch &quot;--as-needed&quot; giving compiler errors</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="dhubler">Douglas Hubler</reporter>
                        <labels>
                            <label>compile</label>
                            <label>cxxmove</label>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Mon, 31 Oct 2011 17:15:12 +0000</created>
                <updated>Thu, 10 Apr 2014 18:08:36 +0000</updated>
                            <resolved>Mon, 17 Mar 2014 14:56:02 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="517397" author="acm" created="Mon, 17 Mar 2014 14:56:03 +0000"  >&lt;p&gt;I&apos;m closing this, but please feel free to re-open if this is still an issue.&lt;/p&gt;</comment>
                            <comment id="514441" author="acm" created="Wed, 12 Mar 2014 18:49:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dhubler&quot; class=&quot;user-hover&quot; rel=&quot;dhubler&quot;&gt;dhubler&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;This ticket is quite old. Would you be able to try this with the latest release candidate from the legacy branch of the now independent C++ driver repo and see whether the issue is resolved?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://blog.mongodb.org/post/78478565493/upcoming-changes-to-the-mongodb-cpp-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://blog.mongodb.org/post/78478565493/upcoming-changes-to-the-mongodb-cpp-driver&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13672" name="0002-SERVER-4181-as-needed-compiler-switch-otherwise-mong.patch" size="788" author="dhubler" created="Mon, 31 Oct 2011 17:16:15 +0000"/>
                            <attachment id="13671" name="mongo-sharedclient-no-as-needed.log" size="19706" author="dhubler" created="Mon, 31 Oct 2011 17:15:13 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrib4f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20447</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>