<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:44:54 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-17563] GPerfTools does not build on PPC64 (Power8) platform</title>
                <link>https://jira.mongodb.org/browse/SERVER-17563</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It seems that mongodb in version 3.0 always includes the gperf header (coming from the cpu_profile_command), even through the command is only available when mongodb is explicitly built with the profiler.&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;scons: Building targets ...&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;Generating build/linux2/normal/buildinfo.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;g++ -o build/linux2/normal/third_party/gperftools-2.2/src/base/spinlock_internal.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wno-unknown-pragmas -Winvalid-pch -pipe -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -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/linux2/normal/third_party/gperftools-2.2/src -Isrc/third_party/gperftools-2.2/src -Isrc/third_party/gperftools-2.2 -Ibuild/linux2/normal -Isrc src/third_party/gperftools-2.2/src/base/spinlock_internal.cc&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;In file included from src/third_party/gperftools-2.2/src/base/spinlock_internal.cc:52: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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h: In constructor &apos;{anonymous}::InitModule::InitModule()&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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h:59:49: error: &apos;sys_futex&apos; was not declared in this scope&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;                   sys_futex(&amp;amp;x, FUTEX_WAKE, 1, 0) &amp;gt;= 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;                                                 ^&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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h: In function &apos;void base::internal::SpinLockDelay(volatile Atomic32*, int32, int)&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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h:88:71: error: &apos;sys_futex&apos; was not declared in this scope&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;                 value, reinterpret_cast&amp;lt;struct kernel_timespec *&amp;gt;(&amp;amp;tm));&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;&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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h: In function &apos;void base::internal::SpinLockWake(volatile Atomic32*, bool)&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;src/third_party/gperftools-2.2/src/base/spinlock_linux-inl.h:99:67: error: &apos;sys_futex&apos; was not declared in this scope&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;               FUTEX_WAKE | futex_private_flag, all? INT_MAX : 1, 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;                                                                   ^&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;scons: *** [build/linux2/normal/third_party/gperftools-2.2/src/base/spinlock_internal.o] Error 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;   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: building terminated because of errors.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="189101">SERVER-17563</key>
            <summary>GPerfTools does not build on PPC64 (Power8) platform</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="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="jorik.blaas@synerscope.com">Jorik Blaas</reporter>
                        <labels>
                            <label>code-only</label>
                    </labels>
                <created>Thu, 12 Mar 2015 13:30:30 +0000</created>
                <updated>Mon, 8 Jan 2024 15:23:10 +0000</updated>
                            <resolved>Thu, 11 Feb 2016 21:17:17 +0000</resolved>
                                    <version>3.0.0</version>
                                    <fixVersion>3.2.5</fixVersion>
                    <fixVersion>3.3.2</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="1196794" author="xgen-internal-githook" created="Tue, 8 Mar 2016 19:42:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;markbenvenuto&apos;, u&apos;name&apos;: u&apos;Mark Benvenuto&apos;, u&apos;email&apos;: u&apos;mark.benvenuto@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17563&quot; title=&quot;GPerfTools does not build on PPC64 (Power8) platform&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17563&quot;&gt;&lt;del&gt;SERVER-17563&lt;/del&gt;&lt;/a&gt; GPerfTools does not build on PPC64LE (Power8) platform&lt;/p&gt;

&lt;p&gt;(cherry picked from commit df981d0766beb3e1c423f72eba1831ec510bd457)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6bcaea60782137725eec2b73f53ca9bad2e34741&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6bcaea60782137725eec2b73f53ca9bad2e34741&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1170982" author="xgen-internal-githook" created="Thu, 11 Feb 2016 19:42:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;markbenvenuto&apos;, u&apos;name&apos;: u&apos;Mark Benvenuto&apos;, u&apos;email&apos;: u&apos;mark.benvenuto@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17563&quot; title=&quot;GPerfTools does not build on PPC64 (Power8) platform&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17563&quot;&gt;&lt;del&gt;SERVER-17563&lt;/del&gt;&lt;/a&gt; GPerfTools does not build on PPC64LE (Power8) platform&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/df981d0766beb3e1c423f72eba1831ec510bd457&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/df981d0766beb3e1c423f72eba1831ec510bd457&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="916598" author="acm" created="Mon, 18 May 2015 13:35:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jorik.blaas%40synerscope.com&quot; class=&quot;user-hover&quot; rel=&quot;jorik.blaas@synerscope.com&quot;&gt;jorik.blaas@synerscope.com&lt;/a&gt; Some of them, possibly. However, many of the replication and sharding tests expect to be able to spawn servers from the shell while running tests, this will not work against a remote server.&lt;/p&gt;</comment>
                            <comment id="916557" author="jorik.blaas@synerscope.com" created="Mon, 18 May 2015 12:50:09 +0000"  >&lt;p&gt;Would I be able to run the integration tests from a different machine (with JS), against this power8 machine as a remote?&lt;/p&gt;</comment>
                            <comment id="916522" author="acm" created="Mon, 18 May 2015 12:13:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jorik.blaas%40synerscope.com&quot; class=&quot;user-hover&quot; rel=&quot;jorik.blaas@synerscope.com&quot;&gt;jorik.blaas@synerscope.com&lt;/a&gt; - Yes, that is correct. Please note that MongoDB does no testing on Power8 at this time, so this is definitely not a supported configuration. Additionally, you will not be able to run the JavaScript integration tests because they require the mongo shell, which you can&apos;t build when using --js-engine=none.&lt;/p&gt;</comment>
                            <comment id="916517" author="jorik.blaas@synerscope.com" created="Mon, 18 May 2015 12:07:31 +0000"  >&lt;p&gt;That was the combination that did it, I now have a mongodb build, haven&apos;t run any tests yet.&lt;/p&gt;

&lt;p&gt;~/build/mongodb-src-r3.0.0$ scons --js-engine=none --allocator=system --wiredtiger=off -j40&lt;/p&gt;

&lt;p&gt;Install file: &quot;build/linux2/allocator_system/wiredtiger_off/mongo/mongod&quot; as &quot;mongod&quot;&lt;br/&gt;
scons: done building targets.&lt;/p&gt;

&lt;p&gt;That does mean that I do not have V8 javascript, do not have wiredtiger, and are not using tcmalloc, right?&lt;/p&gt;</comment>
                            <comment id="916489" author="acm" created="Mon, 18 May 2015 11:59:21 +0000"  >&lt;p&gt;WiredTiger as embedded in the MongoDB source tree does not currently support PPC64. You can disable it when building by adding --wiredtiger=off to the SCons invocation.&lt;/p&gt;</comment>
                            <comment id="916472" author="jorik.blaas@synerscope.com" created="Mon, 18 May 2015 11:31:13 +0000"  >&lt;p&gt;I think this is more about memory write barriers than about disk write barriers (as the link you have posted seems to suggest).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.makelinux.net/books/lkd2/ch09lev1sec10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.makelinux.net/books/lkd2/ch09lev1sec10&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="916468" author="anhal" created="Mon, 18 May 2015 11:24:46 +0000"  >&lt;p&gt;Thanks Jorik. &lt;br/&gt;
I built with the option you mentioned and received same errors. I just checked this link on official Red Hat website &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/writebarrieronoff.html#writebarrfilesyserrors&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/writebarrieronoff.html#writebarrfilesyserrors&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any idea on how this option of turning off write barrier could help or not?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Anup&lt;/p&gt;
</comment>
                            <comment id="916390" author="jorik.blaas@synerscope.com" created="Mon, 18 May 2015 07:09:43 +0000"  >&lt;p&gt;v8 by default isn&apos;t available on power8, so that is causing a compilation failure.&lt;/p&gt;

&lt;p&gt;When compiling with scons --js-engine=none --allocator=system&lt;/p&gt;

&lt;p&gt;The error becomes different once again, due to an unimplemented WRITE_BARRIER primitive.&lt;/p&gt;

&lt;p&gt;gcc -o build/linux2/allocator_system/third_party/wiredtiger/src/block/block_ext.o -c -std=c99 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/linux2/allocator_system/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/snappy-1.1.2 -Isrc/third_party/zlib-1.2.8 -Ibuild/linux2/allocator_system/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/linux2/allocator_system/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ext.c&lt;br/&gt;
In file included from src/third_party/wiredtiger/src/include/wt_internal.h:279:0,&lt;br/&gt;
                 from src/third_party/wiredtiger/src/async/async_api.c:9:&lt;br/&gt;
src/third_party/wiredtiger/src/include/gcc.h:162:2: error: #error &quot;No write barrier implementation for this hardware&quot;&lt;br/&gt;
 #error &quot;No write barrier implementation for this hardware&quot;&lt;br/&gt;
  ^&lt;br/&gt;
In file included from src/third_party/wiredtiger/src/include/wt_internal.h:331:0,&lt;br/&gt;
                 from src/third_party/wiredtiger/src/async/async_api.c:9:&lt;br/&gt;
src/third_party/wiredtiger/src/include/txn.i: In function &apos;__wt_txn_am_oldest&apos;:&lt;br/&gt;
src/third_party/wiredtiger/src/include/txn.i:384:2: error: implicit declaration of function &apos;WT_READ_BARRIER&apos; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
  WT_ORDERED_READ(session_cnt, conn-&amp;gt;session_cnt);&lt;br/&gt;
  ^&lt;/p&gt;</comment>
                            <comment id="916352" author="anhal" created="Mon, 18 May 2015 05:20:42 +0000"  >&lt;p&gt;Hi Sam,&lt;br/&gt;
The nature of the error has changed after applying your tweak (scons mongod --allocator=system). Please find the log below,&lt;/p&gt;

&lt;p&gt;g++ -o build/PowerPC/allocator_system/third_party/snappy-1.1.2/snappy-sinksource.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -Wno-sign-compare -Wno-unused-function -DPCRE_STATIC -Isrc/third_party/snappy-1.1.2 -Ibuild/PowerPC/allocator_system -Isrc src/third_party/snappy-1.1.2/snappy-sinksource.cc&lt;br/&gt;
Generating placeholder library build/PowerPC/allocator_system/third_party/snappy-1.1.2/libsnappy.a&lt;br/&gt;
Skipping ranlib for build/PowerPC/allocator_system/third_party/snappy-1.1.2/libsnappy.a&lt;br/&gt;
g++ -o build/PowerPC/allocator_system/third_party/v8/src/x64/assembler-x64.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -fPIC -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -ansi -pedantic -Wno-unused-parameter -DPCRE_STATIC -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc/third_party/v8/src src/third_party/v8/src/x64/assembler-x64.cc&lt;br/&gt;
In file included from src/third_party/v8/src/v8globals.h:31:0,&lt;br/&gt;
                 from src/third_party/v8/src/v8.h:53,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:&lt;br/&gt;
src/third_party/v8/src/globals.h:90:2: error: #error Host architecture was not detected as supported by v8&lt;br/&gt;
 #error Host architecture was not detected as supported by v8&lt;br/&gt;
  ^&lt;br/&gt;
src/third_party/v8/src/globals.h:116:2: error: #error Target architecture x64 is only supported on x64 host&lt;br/&gt;
 #error Target architecture x64 is only supported on x64 host&lt;br/&gt;
  ^&lt;br/&gt;
In file included from src/third_party/v8/src/platform.h:81:0,&lt;br/&gt;
                 from src/third_party/v8/src/v8utils.h:32,&lt;br/&gt;
                 from src/third_party/v8/src/v8.h:56,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:&lt;br/&gt;
src/third_party/v8/src/atomicops.h:164:2: error: #error &quot;Atomic operations are not supported on your platform&quot;&lt;br/&gt;
 #error &quot;Atomic operations are not supported on your platform&quot;&lt;br/&gt;
  ^&lt;br/&gt;
In file included from src/third_party/v8/src/lazy-instance.h:94:0,&lt;br/&gt;
                 from src/third_party/v8/src/platform.h:82,&lt;br/&gt;
                 from src/third_party/v8/src/v8utils.h:32,&lt;br/&gt;
                 from src/third_party/v8/src/v8.h:56,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:&lt;br/&gt;
src/third_party/v8/src/once.h: In function &apos;void v8::internal::CallOnce(v8::internal::OnceType*, v8::internal::NoArgFunction)&apos;:&lt;br/&gt;
src/third_party/v8/src/once.h:106:24: error: cannot convert &apos;v8::internal::OnceType* &lt;/p&gt;
{aka long int*}&apos; to &apos;const volatile Atomic32* {aka const volatile int*}&apos; for argument &apos;1&apos; to &apos;v8::internal::Atomic32 v8::internal::Acquire_Load(const volatile Atomic32*)&apos;&lt;br/&gt;
   if (Acquire_Load(once) != ONCE_STATE_DONE) {&lt;br/&gt;
                        ^&lt;br/&gt;
src/third_party/v8/src/once.h: In function &apos;void v8::internal::CallOnce(v8::internal::OnceType*, typename v8::internal::OneArgFunction&amp;lt;Arg*&amp;gt;::type, Arg*)&apos;:&lt;br/&gt;
src/third_party/v8/src/once.h:115:24: error: cannot convert &apos;v8::internal::OnceType* {aka long int*}
&lt;p&gt;&apos; to &apos;const volatile Atomic32* &lt;/p&gt;
{aka const volatile int*}
&lt;p&gt;&apos; for argument &apos;1&apos; to &apos;v8::internal::Atomic32 v8::internal::Acquire_Load(const volatile Atomic32*)&apos;&lt;br/&gt;
   if (Acquire_Load(once) != ONCE_STATE_DONE) {&lt;br/&gt;
                        ^&lt;br/&gt;
In file included from src/third_party/v8/src/incremental-marking.h:32:0,&lt;br/&gt;
                 from src/third_party/v8/src/heap.h:35,&lt;br/&gt;
                 from src/third_party/v8/src/elements.h:33,&lt;br/&gt;
                 from src/third_party/v8/src/objects-inl.h:38,&lt;br/&gt;
                 from src/third_party/v8/src/v8.h:60,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:&lt;br/&gt;
src/third_party/v8/src/execution.h: At global scope:&lt;br/&gt;
src/third_party/v8/src/execution.h:262:74: error: a function call cannot appear in a constant-expression&lt;br/&gt;
   static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);&lt;br/&gt;
                                                                          ^&lt;br/&gt;
src/third_party/v8/src/execution.h:263:72: error: a function call cannot appear in a constant-expression&lt;br/&gt;
   static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);&lt;br/&gt;
                                                                        ^&lt;br/&gt;
In file included from src/third_party/v8/src/isolate.h:44:0,&lt;br/&gt;
                 from src/third_party/v8/src/elements.h:34,&lt;br/&gt;
                 from src/third_party/v8/src/objects-inl.h:38,&lt;br/&gt;
                 from src/third_party/v8/src/v8.h:60,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:&lt;br/&gt;
src/third_party/v8/src/optimizing-compiler-thread.h: In constructor &apos;v8::internal::OptimizingCompilerThread::OptimizingCompilerThread(v8::internal::Isolate*)&apos;:&lt;br/&gt;
src/third_party/v8/src/optimizing-compiler-thread.h:51:66: error: cannot convert &apos;volatile AtomicWord* &lt;/p&gt;
{aka volatile long int*}
&lt;p&gt;&apos; to &apos;volatile Atomic32* &lt;/p&gt;
{aka volatile int*}
&lt;p&gt;&apos; for argument &apos;1&apos; to &apos;void v8::internal::NoBarrier_Store(volatile Atomic32*, v8::internal::Atomic32)&apos;&lt;br/&gt;
     NoBarrier_Store(&amp;amp;stop_thread_, static_cast&amp;lt;AtomicWord&amp;gt;(false));&lt;br/&gt;
                                                                  ^&lt;br/&gt;
In file included from src/third_party/v8/src/macro-assembler.h:50:0,&lt;br/&gt;
                 from src/third_party/v8/src/x64/assembler-x64.cc:32:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h: In function &apos;bool v8::internal::is_uint32(int64_t)&apos;:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h:49:60: error: &apos;V8_UINT64_C&apos; was not declared in this scope&lt;br/&gt;
   static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff);&lt;br/&gt;
                                                            ^&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h: In function &apos;bool v8::internal::is_int32(int64_t)&apos;:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h:54:58: error: &apos;V8_INT64_C&apos; was not declared in this scope&lt;br/&gt;
   static const int64_t kMinInt32 = -V8_INT64_C(0x80000000);&lt;br/&gt;
                                                          ^&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h: In function &apos;bool v8::internal::uint_is_int32(uint64_t)&apos;:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h:59:59: error: &apos;V8_UINT64_C&apos; was not declared in this scope&lt;br/&gt;
   static const uint64_t kMaxInt32 = V8_UINT64_C(0x7fffffff);&lt;br/&gt;
                                                           ^&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h: In function &apos;bool v8::internal::is_uint32(uint64_t)&apos;:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h:64:60: error: &apos;V8_UINT64_C&apos; was not declared in this scope&lt;br/&gt;
   static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff);&lt;br/&gt;
                                                            ^&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h: In static member function &apos;static bool v8::internal::CpuFeatures::IsSupported(v8::internal::CpuFeature)&apos;:&lt;br/&gt;
src/third_party/v8/src/x64/assembler-x64.h:462:40: error: &apos;V8_UINT64_C&apos; was not declared in this scope&lt;br/&gt;
     return (supported_ &amp;amp; (V8_UINT64_C(1) &amp;lt;&amp;lt; f)) != 0;&lt;br/&gt;
                                        ^&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/PowerPC/allocator_system/third_party/v8/src/x64/assembler-x64.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;/p&gt;


&lt;p&gt;Thanks in advance,&lt;br/&gt;
Anup&lt;/p&gt;</comment>
                            <comment id="916348" author="anhal" created="Mon, 18 May 2015 05:07:19 +0000"  >&lt;p&gt;Hi Sam,&lt;br/&gt;
I have encountered same issue on ppc64. I will try the tweak you have mentioned and get back with results. &lt;br/&gt;
Thanks,&lt;br/&gt;
Anup&lt;/p&gt;</comment>
                            <comment id="915729" author="samk" created="Fri, 15 May 2015 21:48:00 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Sorry for not getting back to you sooner. We&apos;ve looked into this issue, but it looks like there&apos;s an interaction between the default allocator &lt;tt&gt;tcmalloc&lt;/tt&gt; and &lt;tt&gt;gperftools&lt;/tt&gt; on PPC/Power systems. If you can pass &lt;tt&gt;--allocator=system&lt;/tt&gt; to scons when you build &lt;tt&gt;mongod&lt;/tt&gt; does this work?&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
sam&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="205966">SERVER-18626</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>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="16541">3.2.5</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>Thu, 12 Mar 2015 14:12:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 49 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-216</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 49 weeks, 1 day 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>anhal</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jorik.blaas@synerscope.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlavj:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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;get a linux ppc64/power8 system, then untar a clean 3.0.0 mongodb build, and run &apos;scons --js-engine=none&apos;&lt;/p&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_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|hrml8n:</customfieldvalue>

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