<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:44:28 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-17447] Failed to build on Linux i686 with clang</title>
                <link>https://jira.mongodb.org/browse/SERVER-17447</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am getting the following errors when trying to build mongodb. A quick google shows it might need a i686 build target instead of i386?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;clang++ -o build/build/mongo/db/auth/authorization_session.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -march=nocona -mtune=generic -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_GCC_ATOMIC_BUILTINS -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/authorization_session.cpp&lt;br/&gt;
build/build/mongo/client/dbclient.o: In function `mongo::AtomicIntrinsics&amp;lt;long long, void&amp;gt;::fetchAndAdd(long long volatile*, long long)&apos;:&lt;br/&gt;
/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/dbclient_rs.o: In function `mongo::AtomicIntrinsics&amp;lt;long long, void&amp;gt;::fetchAndAdd(long long volatile*, long long)&apos;:&lt;br/&gt;
/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/syncclusterconnection.o: In function `mongo::AtomicIntrinsics&amp;lt;long long, void&amp;gt;::fetchAndAdd(long long volatile*, long long)&apos;:&lt;br/&gt;
/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/syncclusterconnection.o:/build/mongodb/src/mongodb-src-r3.0.0/src/mongo/platform/atomic_intrinsics_gcc_atomic.h:72: more undefined references to `__atomic_fetch_add_8&apos; follow&lt;br/&gt;
clang++ -o build/build/mongo/db/auth/authz_documents_update_guard.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -march=nocona -mtune=generic -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_GCC_ATOMIC_BUILTINS -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/authz_documents_update_guard.cpp&lt;br/&gt;
clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/build/mongo/mongo&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="187185">SERVER-17447</key>
            <summary>Failed to build on Linux i686 with clang</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="-1">Unassigned</assignee>
                                    <reporter username="felixonmars">Felix Yan</reporter>
                        <labels>
                            <label>build-jbr</label>
                    </labels>
                <created>Tue, 3 Mar 2015 17:17:43 +0000</created>
                <updated>Wed, 7 Dec 2016 22:50:14 +0000</updated>
                            <resolved>Mon, 27 Apr 2015 19:46:05 +0000</resolved>
                                    <version>3.0.0</version>
                                    <fixVersion>3.1.2</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="899141" author="jonathan.reams@10gen.com" created="Mon, 27 Apr 2015 19:46:05 +0000"  >&lt;p&gt;Except for the upstream tcmalloc problem, this should be fixed now.&lt;/p&gt;</comment>
                            <comment id="896512" author="acm" created="Thu, 23 Apr 2015 18:28:58 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=felixonmars&quot; class=&quot;user-hover&quot; rel=&quot;felixonmars&quot;&gt;felixonmars&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;The LIBS=atomic workaround &lt;a href=&quot;https://github.com/mongodb/mongo/commit/33ef05ce2d71107533d283e6d2d31c34b01d33b7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;should no longer be needed&lt;/a&gt; on the master branch. Also, the tcmalloc issue has been &lt;a href=&quot;https://code.google.com/p/gperftools/issues/detail?id=683&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;filed upstream&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="842742" author="felixonmars" created="Wed, 4 Mar 2015 15:32:02 +0000"  >&lt;p&gt;Okay, then I&apos;ll use the workaround for now. Thanks!&lt;/p&gt;</comment>
                            <comment id="842737" author="acm" created="Wed, 4 Mar 2015 15:28:05 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=felixonmars&quot; class=&quot;user-hover&quot; rel=&quot;felixonmars&quot;&gt;felixonmars&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;32 bit support is not very high priority, but I expect that we will fix this in a reasonably timely manner. In the meantime, the LIBS=atomic workaround should be easily integrated into your packaging process, I expect.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;

</comment>
                            <comment id="842674" author="acm" created="Wed, 4 Mar 2015 14:05:43 +0000"  >&lt;p&gt;Also, I&apos;ve filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17461&quot; title=&quot;32-bit clang cannot compile vendored gperftools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17461&quot;&gt;&lt;del&gt;SERVER-17461&lt;/del&gt;&lt;/a&gt; to track the 32-bit clang errors in tcmalloc.&lt;/p&gt;</comment>
                            <comment id="842670" author="felixonmars" created="Wed, 4 Mar 2015 14:03:20 +0000"  >&lt;p&gt;Ah, great. Thanks!&lt;/p&gt;

&lt;p&gt;For this particular fix, I am not sure if this is the correct fix, but should I expect this to be fixed upstream?&lt;/p&gt;</comment>
                            <comment id="842652" author="acm" created="Wed, 4 Mar 2015 13:42:40 +0000"  >&lt;p&gt;You should just be able to say&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons LIBS=atomic ...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;instead of needing to tunnel it in via the compiler.&lt;/p&gt;</comment>
                            <comment id="842545" author="felixonmars" created="Wed, 4 Mar 2015 08:33:28 +0000"  >&lt;p&gt;Since I didn&apos;t find a sane way to specify the flag, i simply applied it to --cc and --cxx, and now it builds fine.&lt;/p&gt;

&lt;p&gt;I mean:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;--cc=&apos;clang -latomic&apos; --cxx=&apos;clang++ -latomic&apos;&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="842467" author="felixonmars" created="Wed, 4 Mar 2015 05:25:27 +0000"  >&lt;p&gt;I&apos;ve played around your test program a bit, and looks like specifying -latomic could fix the linker error. Any thoughts?&lt;/p&gt;

&lt;p&gt;e.g.:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$ clang++ --std=c++11 -latomic -m32 ./64_atomic.cpp&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;(finished without an error)&lt;/p&gt;</comment>
                            <comment id="842452" author="acm" created="Wed, 4 Mar 2015 04:56:34 +0000"  >&lt;p&gt;OK, that appears to confirm that we do not obtain 64-bit atomic operations when targeting 32-bit with clang, even in C++11 mode. I can confirm that on my system, with clang 3.5, the following fails to compile in 32-bit mode:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;$ cat ./64_atomic.cpp&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#include &amp;lt;atomic&amp;gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;#include &amp;lt;cstdint&amp;gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;int main(int argc, char* argv[]) {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    std::atomic&amp;lt;std::int64_t&amp;gt; x;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;    return x.fetch_add(1);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;$ clang++ --std=c++11 -m32 ./64_atomic.cpp&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/tmp/64_atomic-31294e.o: In function `main&apos;:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;./64_atomic.cpp:(.text+0x56): undefined reference to `__atomic_fetch_add_8&apos;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;$ clang++ --version&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Ubuntu clang version 3.5.0-4ubuntu2 (tags/RELEASE_350/final) (based on LLVM 3.5.0)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Target: x86_64-pc-linux-gnu&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Thread model: posix&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;but the same program builds fine with GCC 4.8.2 in 32 bit mode. So, I think that if you want to target 32-bit, you will either need to get clang updated to a version offers the required intrinsics, or use GCC which as you point out is in conflict with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13880&quot; title=&quot;mongo client from ArchLinux packages crashes on ensureIndex() &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13880&quot;&gt;&lt;del&gt;SERVER-13880&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="842447" author="felixonmars" created="Wed, 4 Mar 2015 04:49:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have just tested with --allocator=system and it failed the same way with --system-tcmalloc as I have pasted above.&lt;/p&gt;</comment>
                            <comment id="842443" author="acm" created="Wed, 4 Mar 2015 04:31:24 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=felixonmars&quot; class=&quot;user-hover&quot; rel=&quot;felixonmars&quot;&gt;felixonmars&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;That is an interesting failure, but I think it is a distinct issue (clang, 32-bit, tcmalloc). I think we should try to sidestep that, for now, by disabling tcmalloc entirely with the --allocator=system flag, and see if we can get a definitive answer on clang std::atomic in 32-bit mode.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="842442" author="felixonmars" created="Wed, 4 Mar 2015 04:31:05 +0000"  >&lt;p&gt;This is the error when building with system tcmalloc and --c++11=on:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;clang++ -o build/build/mongo/db/auth/authz_documents_update_guard.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -march=nocona -mtune=generic -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/authz_documents_update_guard.cpp&lt;br/&gt;
build/build/mongo/client/dbclient.o: In function `std::__atomic_base&amp;lt;long long&amp;gt;::fetch_add(long long, std::memory_order)&apos;:&lt;br/&gt;
/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/dbclient_rs.o: In function `std::__atomic_base&amp;lt;long long&amp;gt;::fetch_add(long long, std::memory_order)&apos;:&lt;br/&gt;
/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/syncclusterconnection.o: In function `std::__atomic_base&amp;lt;long long&amp;gt;::fetch_add(long long, std::memory_order)&apos;:&lt;br/&gt;
/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: undefined reference to `__atomic_fetch_add_8&apos;&lt;br/&gt;
build/build/mongo/client/syncclusterconnection.o:/bin/../lib/gcc/i686-pc-linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/atomic_base.h:618: more undefined references to `__atomic_fetch_add_8&apos; follow&lt;br/&gt;
clang++ -o build/build/mongo/db/auth/authz_manager_external_state.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -march=nocona -mtune=generic -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/authz_manager_external_state.cpp&lt;br/&gt;
clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/build/mongo/mongo&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="842439" author="felixonmars" created="Wed, 4 Mar 2015 04:23:30 +0000"  >&lt;p&gt;--c++11=on failed with the following error:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;clang++ -o build/build/third_party/gperftools-2.2/src/maybe_threads.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -march=nocona -mtune=generic -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -DMALLOC_HOOK_MAYBE_VOLATILE=volatile -DNO_TCMALLOC_SAMPLES -DNO_HEAP_CHECK -DNDEBUG -Ibuild/build/third_party/gperftools-2.2/src -Isrc/third_party/gperftools-2.2/src -Isrc/third_party/gperftools-2.2 -Ibuild/build -Isrc src/third_party/gperftools-2.2/src/maybe_threads.cc&lt;br/&gt;
In file included from src/third_party/gperftools-2.2/src/malloc_hook.cc:687:&lt;br/&gt;
src/third_party/gperftools-2.2/src/malloc_hook_mmap_linux.h:108:23: error: non-constant-expression cannot be narrowed from type &apos;off_t&apos; (aka &apos;long long&apos;) to &apos;int32&apos; (aka &apos;int&apos;) in initializer list &lt;span class=&quot;error&quot;&gt;&amp;#91;-Wc++11-narrowing&amp;#93;&lt;/span&gt;&lt;br/&gt;
                      (off_t) offset };&lt;br/&gt;
                      ^~~~~~~~~~~~~~&lt;br/&gt;
src/third_party/gperftools-2.2/src/malloc_hook_mmap_linux.h:108:23: note: insert an explicit cast to silence this issue&lt;br/&gt;
                      (off_t) offset };&lt;br/&gt;
                      ^~~~~~~~~~~~~~&lt;br/&gt;
                      static_cast&amp;lt;int32&amp;gt;( )&lt;br/&gt;
1 error generated.&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/build/third_party/gperftools-2.2/src/malloc_hook.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="842437" author="felixonmars" created="Wed, 4 Mar 2015 04:16:34 +0000"  >&lt;p&gt;Update:&lt;/p&gt;

&lt;p&gt;Sorry I think I misunderstood you - just built with GCC 4.9.2 and it did build successfully, so it should be clang missing 64-bit __atomic intrinsics.&lt;/p&gt;

&lt;p&gt;I&apos;ll go on and test if --c++11=on helps.&lt;/p&gt;</comment>
                            <comment id="842380" author="felixonmars" created="Wed, 4 Mar 2015 02:53:13 +0000"  >&lt;p&gt;I&apos;m quickly answering some of them, and will test for others later:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Yes I am doing an intentional cross compile, as I am packaging the &lt;span class=&quot;error&quot;&gt;&amp;#91;community&amp;#93;&lt;/span&gt;/mongodb package for Arch, and Arch targets i686 (yes, it&apos;s 32-bit x86 architecture) and x86_64.. We are already providing a warning on installation time for the 32-bit limitations, too.&lt;/li&gt;
	&lt;li&gt;I am using clang because GCC is not an option: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13880&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-13880&lt;/a&gt; (I note that the bug was marked as duplicate and the target bug has been fixed. But at least with latest 2.6.8 and GCC 4.9.2 I am still getting the segfault. I&apos;ll follow up that bug report later)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="842359" author="acm" created="Wed, 4 Mar 2015 02:28:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=felixonmars&quot; class=&quot;user-hover&quot; rel=&quot;felixonmars&quot;&gt;felixonmars&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the details. I have several comments and questions, and then a few suggestions:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;First, I&apos;d like to verify that what you are attempting here is an intentional cross compile. When you say i686 build, you mean the 32-bit x86 architecture, correct? If so, are you aware of the severe limitations on data capacity for 32-bit mongod builds? Additionally, the new WiredTiger storage engine is not offered in 32-bit builds. I&apos;d go so far as to suggest that packaging a 32-bit mongo build may not really be worthwhile. A 32-bit build is only really useable for the most basic prototyping or experimenting. That said, this is intended to be a supported configuration, so...&lt;/li&gt;
	&lt;li&gt;Normally, I&apos;d expect this combination of architecture, OS, toolchain, and standard library version to auto enable a C&amp;#43;&amp;#43;11 build. However, you are building with system versions of several C&amp;#43;&amp;#43; libraries. The build system conservatively disables auto-enablement of C&amp;#43;&amp;#43;11 mode if it sees that the build is configured to use system versions of C&amp;#43;&amp;#43; libraries (boost, etc.), since it cannot know if the system version of the library is built in C++11 mode, and some libraries, in particular boost, are not ABI stable between C&amp;#43;&amp;#43;03 and C&amp;#43;&amp;#43;11 mode compilation.&lt;/li&gt;
	&lt;li&gt;Since the build is not in C&amp;#43;&amp;#43;11 mode, it does not attempt to use std::atomic, and instead falls back to the __atomic API. Note that in the configure output, there is an explicit check for support for at least the existence of the __atomic API, though not for all of the functions we use. This is intended as a coarse check, so that we can move on to looking for __sync if __atomic appears not to be offered.&lt;/li&gt;
	&lt;li&gt;Finally, note that the actual build error is a linker error: __atomic_fetch_add_8 is not found. This is a 64-bit atomic operation, and the fact that this symbol is being searched for at link time suggests that clang 3.5 may not offer this function as an intrinsic when targeting 32-bit x86 targets.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Given the above, you have a few different potential resolutions:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Stop packaging for 32-bit x86.&lt;/li&gt;
	&lt;li&gt;If you can confirm that your version of clang does not offer intrinsics for the 64-bit __atomic intrinsics you could try using GCC instead, if that is an option.&lt;/li&gt;
	&lt;li&gt;If arch is building the system version of its C++ libraries with --std=c&amp;#43;&amp;#43;11, then you could try to explicitly build in C&amp;#43;&amp;#43;11 mode by passing --c&amp;#43;&amp;#43;11=on to scons so that std::atomic is used instead of the intrinsics. However, I wonder if the lack of an intrinsic for __atomic_fetch_add_8 on this target gives reason to suspect that std::atomic may also not work for 64-bit integers in this configuration.&lt;/li&gt;
	&lt;li&gt;If the system libraries on arch are not being built with C&amp;#43;&amp;#43;11, you could instead use the vendored version of the third party libraries, which would also allow you to enable C&amp;#43;&amp;#43;11, and potentially get you std::atomic, however, the same caveat exists there.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Also, it is probably an flaw in our build system that the check for __atomic does not actually invoke all of the __atomic functions that we require. If it had, then you would have had a failure at configure time, which presumably would have been more informative. I&apos;ve opened &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17455&quot; title=&quot;Configure checks for __atomic and __sync should verify all required functions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17455&quot;&gt;&lt;del&gt;SERVER-17455&lt;/del&gt;&lt;/a&gt; to track this.&lt;/p&gt;

&lt;p&gt;I realize this is a lot of detail and does not fully provide a path forward, but the situation is complex. Please let me know if you need clarification on any of the above points or suggestions.&lt;/p&gt;

&lt;p&gt;For your question about documenting the status of --use-system-tcmalloc, I&apos;ve filed &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-4907&quot; title=&quot;Document that building with --use-system-tcmalloc may lead to behavior changes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-4907&quot;&gt;&lt;del&gt;DOCS-4907&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="842330" author="felixonmars" created="Wed, 4 Mar 2015 00:57:13 +0000"  >&lt;p&gt;Hi Andrea,&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Host is latest Arch Linux x86_64, but I am building it in a clean Arch Linux i686 chroot (using Arch devtools)&lt;/li&gt;
	&lt;li&gt;Output of clang --version and clang++ --version:
&lt;blockquote&gt;
&lt;p&gt;clang version 3.5.1 (tags/RELEASE_351/final)&lt;br/&gt;
Target: i386-pc-linux-gnu&lt;br/&gt;
Thread model: posix&lt;br/&gt;
clang version 3.5.1 (tags/RELEASE_351/final)&lt;br/&gt;
Target: i386-pc-linux-gnu&lt;br/&gt;
Thread model: posix&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;
	&lt;li&gt;Console output of &quot;configure&quot;:
&lt;blockquote&gt;
&lt;p&gt;scons: Reading SConscript files ...&lt;br/&gt;
Mkdir(&quot;build/scons&quot;)&lt;br/&gt;
scons version: 2.3.4&lt;br/&gt;
python version: 2 7 9 &apos;final&apos; 0&lt;br/&gt;
Checking whether the C++ compiler works... yes&lt;br/&gt;
Checking whether the C compiler works... yes&lt;br/&gt;
Checking if C++ compiler &quot;clang++&quot; is GCC... no&lt;br/&gt;
Checking if C++ compiler &quot;clang++&quot; is clang... yes&lt;br/&gt;
Checking if C compiler &quot;clang&quot; is clang... yes&lt;br/&gt;
Checking if C compiler is clang 3.4 (or Apple XCode 5.1.1) or newer...yes&lt;br/&gt;
Checking if C++ compiler is clang 3.4 (or Apple XCode 5.1.1) or newer...yes&lt;br/&gt;
Checking if target architecture is 32-bit x86...yes&lt;br/&gt;
WARNING: WiredTiger is not supported on 32-bit platforms, disabling support&lt;br/&gt;
Checking if C compiler supports -Wno-unused-local-typedefs... no&lt;br/&gt;
Checking if C compiler supports -Wno-unused-function... yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-private-field... yes&lt;br/&gt;
Checking if C compiler supports -Wno-deprecated-declarations... yes&lt;br/&gt;
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-const-variable... yes&lt;br/&gt;
Checking if C compiler supports -Wno-unused-but-set-variable... no&lt;br/&gt;
Checking if C compiler supports -Wno-missing-braces... yes&lt;br/&gt;
Checking if implicit boost::shared_ptr null conversion is supported... yes&lt;br/&gt;
Checking if we are using libstdc++... yes&lt;br/&gt;
Checking for libstdc++ 4.6.0 or better... yes&lt;br/&gt;
Checking if we are on a POSIX system... yes&lt;br/&gt;
Checking if the POSIX monotonic clock is supported... yes&lt;br/&gt;
Checking if C compiler supports -fno-builtin-memcmp... yes&lt;br/&gt;
Checking for __thread... yes&lt;br/&gt;
Checking for gcc __atomic builtins... yes&lt;br/&gt;
Checking for C library pcre... yes&lt;br/&gt;
Checking for C library pcrecpp... yes&lt;br/&gt;
Checking for C library snappy... yes&lt;br/&gt;
Checking for C++ header file boost/filesystem/operations.hpp... yes&lt;br/&gt;
Checking for C++ library boost_thread-mt... no&lt;br/&gt;
Checking for C++ library boost_thread... yes&lt;br/&gt;
Checking for C++ library boost_filesystem-mt... no&lt;br/&gt;
Checking for C++ library boost_filesystem... yes&lt;br/&gt;
Checking for C++ library boost_program_options-mt... no&lt;br/&gt;
Checking for C++ library boost_program_options... yes&lt;br/&gt;
Checking for C++ library boost_system-mt... no&lt;br/&gt;
Checking for C++ library boost_system... yes&lt;br/&gt;
Checking for C library rt... yes&lt;br/&gt;
Checking for C library dl... yes&lt;br/&gt;
Checking for C++ header file execinfo.h... yes&lt;br/&gt;
Checking whether backtrace is declared... yes&lt;br/&gt;
Checking whether backtrace_symbols is declared... yes&lt;br/&gt;
Checking whether backtrace_symbols_fd is declared... yes&lt;br/&gt;
Checking for C library pcap... yes&lt;br/&gt;
Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes&lt;br/&gt;
Checking for C library tcmalloc... yes&lt;br/&gt;
scons: done reading SConscript files.&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;
	&lt;li&gt;config.log attached.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;And thanks for the tips! Hope it will be documented in the Build section of the wiki, too (or if I have missed it?)&lt;/p&gt;</comment>
                            <comment id="841890" author="acm" created="Tue, 3 Mar 2015 18:18:44 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=felixonmars&quot; class=&quot;user-hover&quot; rel=&quot;felixonmars&quot;&gt;felixonmars&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;Could you please provide a few additional pieces of information to help us diagnose the issue?&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The host architecture, operating system, and operating system version&lt;/li&gt;
	&lt;li&gt;The intended target architecture for the build, if different from the host architecture&lt;/li&gt;
	&lt;li&gt;The output of clang --version, and the output of clang++ --version&lt;/li&gt;
	&lt;li&gt;The console output of the &quot;configure&quot; step of a clean rebuild (should not say (cached) anywhere).&lt;/li&gt;
	&lt;li&gt;Please attach the file build/scons/config.log from that clean rebuild.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;d also like to point out that building with --use-system-tcmalloc is not a recommended build configuration for MongoDB 3.0, as there are important customizations in our bundled version of tcmalloc.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="187340">SERVER-17455</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="187404">SERVER-17461</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="66409" name="config.log" size="41455" author="felixonmars" created="Wed, 4 Mar 2015 00:57:35 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>19.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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>Tue, 3 Mar 2015 18:18:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 42 weeks, 2 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, 42 weeks, 2 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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>felixonmars</customfieldvalue>
            <customfieldvalue>jonathan.reams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlbhr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>164907</customfieldvalue>
                        </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="477">BUILD 2 04/24/15</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;The build command I was using:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;scons all \&lt;br/&gt;
    --use-system-pcre \&lt;br/&gt;
    --use-system-snappy \&lt;br/&gt;
    --use-system-tcmalloc \&lt;br/&gt;
    --use-sasl-client \&lt;br/&gt;
    --use-system-boost \&lt;br/&gt;
    --variant-dir=build \&lt;br/&gt;
    --ssl \&lt;br/&gt;
    --disable-warnings-as-errors \&lt;br/&gt;
    --cc=clang --cxx=clang++&lt;/p&gt;&lt;/blockquote&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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl7z3:</customfieldvalue>

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