<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:29 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-238] Build fail in util/allocator.h</title>
                <link>https://jira.mongodb.org/browse/SERVER-238</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;lt;snip&amp;gt;&lt;br/&gt;
g++ -o shell/utils.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -O3 -D_SCONS -DUSE_ASIO_OFF -DXP_UNIX -DUSE_ASIO_OFF -DXP_UNIX -DUSE_READLINE -I. shell/utils.cpp&lt;br/&gt;
g++ -o mongos -fPIC -pthread stdafx.o buildinfo.o db/jsobj.o db/json.o db/commands.o db/lasterror.o db/nonce.o db/queryutil.o shell/mongo.o util/background.o util/mmap.o util/sock.o util/util.o util/message.o util/assert_util.o util/httpclient.o util/md5.o util/md5main.o client/connpool.o client/dbclient.o client/model.o scripting/engine.o util/mmap_posix.o util/processinfo_linux2.o scripting/engine_spidermonkey.o util/message_server_port.o util/message_server_asio.o s/strategy.o s/strategy_shard.o s/strategy_single.o s/commands_admin.o s/commands_public.o s/request.o s/cursors.o s/server.o s/shard.o s/shardkey.o s/config.o -L/usr/lib64 -L/lib64 -lpthread -lstdc++ -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_system-mt -lpcrecpp -lpcre -ljs&lt;br/&gt;
g++ -o mongo -fPIC -pthread shell/dbshell.o shell/utils.o -L/usr/lib64 -L/lib64 -L. -lmongoclient -lpthread -lstdc++ -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_system-mt -ljs -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_system-mt -ljs -lreadline -lncurses -lrt&lt;br/&gt;
shell/utils.o: In function `ourmalloc&apos;:&lt;br/&gt;
/var/tmp/portage/dev-db/mongodb-0.9.8/work/mongodb-mongo-75a58367af664525db5e7226db81082be19e4f06/shell/../client/../util/allocator.h:27: undefined reference to `mongo::dbexit(mongo::ExitCode, char const*)&apos;&lt;br/&gt;
shell/utils.o: In function `ourrealloc&apos;:&lt;br/&gt;
/var/tmp/portage/dev-db/mongodb-0.9.8/work/mongodb-mongo-75a58367af664525db5e7226db81082be19e4f06/shell/../client/../util/allocator.h:33: undefined reference to `mongo::dbexit(mongo::ExitCode, char const*)&apos;&lt;br/&gt;
/var/tmp/portage/dev-db/mongodb-0.9.8/work/mongodb-mongo-75a58367af664525db5e7226db81082be19e4f06/shell/../client/../util/allocator.h:33: undefined reference to `mongo::dbexit(mongo::ExitCode, char const*)&apos;&lt;br/&gt;
/var/tmp/portage/dev-db/mongodb-0.9.8/work/mongodb-mongo-75a58367af664525db5e7226db81082be19e4f06/shell/../client/../util/allocator.h:33: undefined reference to `mongo::dbexit(mongo::ExitCode, char const*)&apos;&lt;br/&gt;
shell/utils.o: In function `ourmalloc&apos;:&lt;br/&gt;
/var/tmp/portage/dev-db/mongodb-0.9.8/work/mongodb-mongo-75a58367af664525db5e7226db81082be19e4f06/shell/../client/../util/allocator.h:27: undefined reference to `mongo::dbexit(mongo::ExitCode, char const*)&apos;&lt;br/&gt;
collect2: ld returned 1 exit status&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;mongo&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;</description>
                <environment>Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r6 x86_64)&lt;br/&gt;
=================================================================&lt;br/&gt;
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-gentoo-1.12.11.1&lt;br/&gt;
boost: 1.35</environment>
        <key id="10447">SERVER-238</key>
            <summary>Build fail in util/allocator.h</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="jbergstroem">Johan Bergstr&#246;m</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Aug 2009 12:26:33 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:12 +0000</updated>
                            <resolved>Sat, 15 Aug 2009 23:40:01 +0000</resolved>
                                    <version>0.9.8</version>
                                    <fixVersion>0.9.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="10686" author="eliot" created="Thu, 10 Sep 2009 10:03:07 +0000"  >&lt;p&gt;closed b/c resolved more than 2 week ago&lt;/p&gt;</comment>
                            <comment id="10485" author="jbergstroem" created="Sat, 15 Aug 2009 14:09:15 +0000"  >&lt;p&gt;&quot;mindleak&quot; on the irc freenode channel apparently had the same issue which he fixed by prepending LIBPATH instead of appending it. git diff below:&lt;/p&gt;

&lt;p&gt;diff --git a/SConstruct b/SConstruct&lt;br/&gt;
index 99c15f5..ca21461 100644&lt;br/&gt;
&amp;#8212; a/SConstruct&lt;br/&gt;
+++ b/SConstruct&lt;br/&gt;
@@ -872,7 +872,7 @@ elif not onlyServer:&lt;/p&gt;

&lt;p&gt;         shellEnv.VariantDir( &quot;32bit&quot; , &quot;.&quot; )&lt;br/&gt;
     else:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;shellEnv.Append( LIBPATH=[ &quot;.&quot; ] )&lt;br/&gt;
+        shellEnv.Prepend( LIBPATH=[ &quot;.&quot; ] )&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;     shellEnv = doConfigure( shellEnv , needPcre=False , needJava=False , shell=True )&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 10 Sep 2009 10:03:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 23 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 23 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jbergstroem</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpwkn:</customfieldvalue>

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

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

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