<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:23 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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-9118] Failed to build MOFED 3.4-1.0.0</title>
                <link>https://jira.whamcloud.com/browse/LU-9118</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;+ make -j4 -s
Making all in .
In file included from /tmp/rpmbuild-lustre-jenkins-2HDIMGOt/BUILD/lustre-2.9.52_82_gb2d45e0/libcfs/include/libcfs/linux/libcfs.h:85:0,
                 from /tmp/rpmbuild-lustre-jenkins-2HDIMGOt/BUILD/lustre-2.9.52_82_gb2d45e0/libcfs/include/libcfs/libcfs.h:37,
                 from /tmp/rpmbuild-lustre-jenkins-2HDIMGOt/BUILD/lustre-2.9.52_82_gb2d45e0/lnet/klnds/o2iblnd/o2iblnd.h:77,
                 from /tmp/rpmbuild-lustre-jenkins-2HDIMGOt/BUILD/lustre-2.9.52_82_gb2d45e0/lnet/klnds/o2iblnd/o2iblnd.c:38:
/tmp/rpmbuild-lustre-jenkins-2HDIMGOt/BUILD/lustre-2.9.52_82_gb2d45e0/libcfs/include/libcfs/linux/linux-time.h:149:19: error: redefinition of &lt;span class=&quot;code-quote&quot;&gt;&apos;ktime_get_real_ns&apos;&lt;/span&gt;
 &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline u64 ktime_get_real_ns(void)
                   ^
In file included from /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-reviews-ib/arch/x86_64/build_type/client/distro/sles12/ib_stack/mlx/BUILD/mlnx-ofa_kernel-devel/usr/src/ofa_kernel/&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;/include/linux/compat-2.6.h:82:0,
                 from &amp;lt;command-line&amp;gt;:0:
/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-reviews-ib/arch/x86_64/build_type/client/distro/sles12/ib_stack/mlx/BUILD/mlnx-ofa_kernel-devel/usr/src/ofa_kernel/&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;/include/linux/compat-3.17.h:12:19: note: previous definition of &lt;span class=&quot;code-quote&quot;&gt;&apos;ktime_get_real_ns&apos;&lt;/span&gt; was here
 &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline u64 ktime_get_real_ns(void) {
                   ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="43731">LU-9118</key>
            <summary>Failed to build MOFED 3.4-1.0.0</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="simmonsja">James A Simmons</assignee>
                                    <reporter username="mdiep">Minh Diep</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Feb 2017 22:14:58 +0000</created>
                <updated>Thu, 2 Mar 2017 15:28:29 +0000</updated>
                            <resolved>Thu, 2 Mar 2017 13:11:26 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="184794" author="simmonsja" created="Tue, 14 Feb 2017 16:36:33 +0000"  >&lt;p&gt;Oh no we are colliding again with compact from MLX.&lt;/p&gt;</comment>
                            <comment id="184846" author="simmonsja" created="Tue, 14 Feb 2017 20:07:36 +0000"  >&lt;p&gt;MInh can you try patch &lt;a href=&quot;https://review.whamcloud.com/#/c/24919/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/24919&lt;/a&gt;&#160;with MLX OFED as well. I like to see the amount of conflict with the remaining 64 bit time work.&lt;/p&gt;</comment>
                            <comment id="184850" author="mdiep" created="Tue, 14 Feb 2017 20:34:56 +0000"  >&lt;p&gt;James, we still hit the same error. I guess your changed is after this error&lt;/p&gt;</comment>
                            <comment id="184854" author="simmonsja" created="Tue, 14 Feb 2017 21:36:32 +0000"  >&lt;p&gt;I just wanted to see if ktime_get_ns() is the only problem.&lt;/p&gt;</comment>
                            <comment id="184867" author="mdiep" created="Tue, 14 Feb 2017 23:04:54 +0000"  >&lt;p&gt;you need to fix ktime_get_real_ns first &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="185675" author="simmonsja" created="Tue, 21 Feb 2017 18:04:13 +0000"  >&lt;p&gt;I&apos;m installing a MOFED 4 stack on our system. Will push something soon.&lt;/p&gt;</comment>
                            <comment id="185685" author="gerrit" created="Tue, 21 Feb 2017 19:12:31 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25564&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25564&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9118&quot; title=&quot;Failed to build MOFED 3.4-1.0.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9118&quot;&gt;&lt;del&gt;LU-9118&lt;/del&gt;&lt;/a&gt; o2iblnd: handle MOFED libcfs time api collision&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 25f64d4aeb292d42ccafbd8568476df4f32b9e7c&lt;/p&gt;</comment>
                            <comment id="185818" author="bogl" created="Wed, 22 Feb 2017 18:54:40 +0000"  >&lt;p&gt;I hesitate to give this a +review.  I can see the proposed solution works when building without MOFED.  Can&apos;t see evidence of it working building with MOFED.&lt;/p&gt;

&lt;p&gt;James,  have you tested build with MOFED on both el6 and el7 to cover both cases of finding and not finding ktime_get_real_ns in the kernel?&lt;/p&gt;</comment>
                            <comment id="185838" author="simmonsja" created="Wed, 22 Feb 2017 20:48:28 +0000"  >&lt;p&gt;I tested it on MOFED 4 + RHEL7.3 but then I went to my Power8 RHEL7.2 + MOFED 3.3 which didn&apos;t work. I also have a Cray system with OFED 3.12 + SLES11SP3. The man problem is both MOFED and libcfs are setting HAVE_KTIME_GET_REAL_NS &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&#160;So I need to rethink it.&lt;/p&gt;</comment>
                            <comment id="185851" author="mdiep" created="Wed, 22 Feb 2017 21:56:02 +0000"  >&lt;p&gt;Yes, I confirmed that it failed in el6.8 too&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="185862" author="simmonsja" created="Wed, 22 Feb 2017 22:42:54 +0000"  >&lt;p&gt;Okay I figured out a solution. So both OFED and libcfs was setting HAVE_KTIME_GET_REAL_NS. So I inverted the logic of detection in libcfs, now NEED_KTIME_GET_REAL_NS and unset it in o2iblnd.h. &#160;The logic is in the commit. Try the latest patch. Tested on RHEL7.2 + MOFED 3.3 and RHEL7.3 + MOFED 4.0 and SLES11SP3 + OFED12&lt;/p&gt;</comment>
                            <comment id="185914" author="dmiter" created="Thu, 23 Feb 2017 02:59:27 +0000"  >&lt;p&gt;It looks this also affect the Open OFED 3.18-3.&lt;/p&gt;</comment>
                            <comment id="185917" author="simmonsja" created="Thu, 23 Feb 2017 03:50:29 +0000"  >&lt;p&gt;Does my patch help you Dmitry&lt;/p&gt;</comment>
                            <comment id="185924" author="dmiter" created="Thu, 23 Feb 2017 04:13:59 +0000"  >&lt;p&gt;James, I didn&apos;t reproduce this locally yet. I just got an issue report from our customer. I&apos;m going to reproduce this and check this patch soon.&lt;/p&gt;</comment>
                            <comment id="185945" author="mdiep" created="Thu, 23 Feb 2017 06:45:30 +0000"  >&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;In file included from /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-reviews-ib/arch/x86_64/build_type/client/distro/el7/ib_stack/ofa/BUILD/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:75:0, from &amp;lt;command-line&amp;gt;:1: /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-reviews-ib/arch/x86_64/build_type/client/distro/el7/ib_stack/ofa/BUILD/BUILD/compat-rdma-3.18/include/linux/compat-3.16.h:25:59: error: redefinition of &lt;span class=&quot;code-quote&quot;&gt;&apos;ktime_get_ns&apos;&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline u64 ktime_get_ns(void) ^ In file included from include/linux/ktime.h:442:0, from include/linux/timer.h:5, from include/linux/workqueue.h:8, from include/linux/pm.h:25,
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I don&apos;t think we can verify on OFED 3.18-3 because OFED also broken on el7 with similar/same error&lt;/p&gt;</comment>
                            <comment id="185950" author="dmiter" created="Thu, 23 Feb 2017 08:26:51 +0000"  >&lt;p&gt;The complains was following:&lt;/p&gt;

&lt;p&gt;For centos 7 kernel 3.10.0-514. OFED 3.18-3 installation fails during compilation.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;uname -a&lt;br/&gt;
 &lt;b&gt;Linux x 3.10.0-514.el7_lustre.x86_64 #1 SMP Wed Dec 7 15:50:02 PST 2016 x86_64 x86_64 x86_64 GNU/Linux&lt;/b&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;In file included from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:75:0,
                 from &amp;lt;command-line&amp;gt;:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-3.16.h:25:19: error: redefinition of &#226;&#8364;&#732;ktime_get_ns&#226;&#8364;&#8482;
static inline u64 ktime_get_ns(void)
                   ^
In file included from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:75:0,
                 from &amp;lt;command-line&amp;gt;:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-3.16.h:25:19: error: redefinition of &#226;&#8364;&#732;ktime_get_ns&#226;&#8364;&#8482;
static inline u64 ktime_get_ns(void)
                   ^
In file included from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:75:0,
                 from &amp;lt;command-line&amp;gt;:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-3.16.h:25:19: error: redefinition of &#226;&#8364;&#732;ktime_get_ns&#226;&#8364;&#8482;
static inline u64 ktime_get_ns(void)
                   ^
In file included from include/linux/ktime.h:442:0,
                 from include/linux/timer.h:5,
                 from include/linux/workqueue.h:8,
                 from include/linux/pm.h:25,
                 from ./arch/x86/include/asm/apic.h:5,
                 from ./arch/x86/include/asm/smp.h:12,
                 from include/linux/smp.h:43,
                 from include/linux/percpu.h:6,
                 from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/percpu.h:6,
                 from include/linux/percpu-rwsem.h:6,
                 from include/linux/fs.h:28,
                 from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-3.5.h:5,
                 from /var/tmp/OFED_topdir/BUILD/compat-rdma-3.18/include/linux/compat-2.6.h:64,
                 from &amp;lt;command-line&amp;gt;:0:
include/linux/timekeeping.h:170:19: note: previous definition of &#226;&#8364;&#732;ktime_get_ns&#226;&#8364;&#8482; was here
static inline u64 ktime_get_ns(void)

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="185951" author="dmiter" created="Thu, 23 Feb 2017 08:31:14 +0000"  >&lt;p&gt;I miss this is not related to Lustre code.But it have the same issue. So, the patch can be the same but for OFED-3.18-3. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="186141" author="simmonsja" created="Fri, 24 Feb 2017 19:31:47 +0000"  >&lt;p&gt;I just looked at the OFED-3.18 source and&#160;compat-3.16.h unconditionally create ktime_get_ns(). I can&apos;t turn off the collision like I did for ktime_get_real_ns(). Their is nothing I can do &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="186742" author="gerrit" created="Thu, 2 Mar 2017 06:57:06 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25564/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25564/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9118&quot; title=&quot;Failed to build MOFED 3.4-1.0.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9118&quot;&gt;&lt;del&gt;LU-9118&lt;/del&gt;&lt;/a&gt; o2iblnd: handle MOFED libcfs time api collision&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f548d1a00eaf705607b0c1eac254c95e3905f5b2&lt;/p&gt;</comment>
                            <comment id="186759" author="simmonsja" created="Thu, 2 Mar 2017 13:11:26 +0000"  >&lt;p&gt;MOFED 3.4 support is restored.&lt;/p&gt;</comment>
                            <comment id="186771" author="mdiep" created="Thu, 2 Mar 2017 15:20:28 +0000"  >&lt;p&gt;Landed in Lustre 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzz3j3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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