<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:30 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-7042] config.h header conflict with OFED 3.18</title>
                <link>https://jira.whamcloud.com/browse/LU-7042</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was mentioned on the mailing list, but we just hit it ourselves attempting to build Lustre 2.7 on SLES 12 with OFED 3.18.&lt;/p&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;[  128s] In file included from /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/compat-2.6.h:7:0,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.h:67,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.c:42:
[  128s] /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/../../compat/config.h:398:0: error: &quot;PACKAGE_BUGREPORT&quot; redefined [-Werror]
[  128s]  #define PACKAGE_BUGREPORT &quot;http://bugs.openfabrics.org/bugzilla&quot;
[  128s]  ^
[  128s] In file included from &amp;lt;command-line&amp;gt;:0:0:
[  128s] /home/abuild/rpmbuild/BUILD/cray-lustre/config.h:558:0: note: this is the location of the previous definition
[  128s]  #define PACKAGE_BUGREPORT &quot;https://jira.hpdd.intel.com/&quot;
[  128s]  ^
[  128s] In file included from /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/compat-2.6.h:7:0,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.h:67,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.c:42:
[  128s] /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/../../compat/config.h:401:0: error: &quot;PACKAGE_NAME&quot; redefined [-Werror]
[  128s]  #define PACKAGE_NAME &quot;compat_ofa&quot;
[  128s]  ^
[  128s] In file included from &amp;lt;command-line&amp;gt;:0:0:
[  128s] /home/abuild/rpmbuild/BUILD/cray-lustre/config.h:561:0: note: this is the location of the previous definition
[  128s]  #define PACKAGE_NAME &quot;Lustre&quot;
[  128s]  ^
[  128s] In file included from /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/compat-2.6.h:7:0,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.h:67,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.c:42:
[  128s] /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/../../compat/config.h:404:0: error: &quot;PACKAGE_STRING&quot; redefined [-Werror]
[  128s]  #define PACKAGE_STRING &quot;compat_ofa 1.0&quot;
[  128s]  ^
[  128s] In file included from &amp;lt;command-line&amp;gt;:0:0:
[  128s] /home/abuild/rpmbuild/BUILD/cray-lustre/config.h:564:0: note: this is the location of the previous definition
[  128s]  #define PACKAGE_STRING &quot;Lustre LUSTRE_VERSION&quot;
[  128s]  ^
[  128s] In file included from /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/compat-2.6.h:7:0,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.h:67,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.c:42:
[  128s] /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/../../compat/config.h:407:0: error: &quot;PACKAGE_TARNAME&quot; redefined [-Werror]
[  128s]  #define PACKAGE_TARNAME &quot;compat_ofa&quot;
[  128s]  ^
[  128s] In file included from &amp;lt;command-line&amp;gt;:0:0:
[  128s] /home/abuild/rpmbuild/BUILD/cray-lustre/config.h:567:0: note: this is the location of the previous definition
[  128s]  #define PACKAGE_TARNAME &quot;lustre&quot;
[  128s]  ^
[  128s] In file included from /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/compat-2.6.h:7:0,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.h:67,
[  128s]                  from /home/abuild/rpmbuild/BUILD/cray-lustre/lnet/klnds/o2iblnd/o2iblnd.c:42:
[  128s] /usr/src/kernel-modules-ofed/x86_64/cray_ari_s/include/linux/../../compat/config.h:413:0: error: &quot;PACKAGE_VERSION&quot; redefined [-Werror]
[  128s]  #define PACKAGE_VERSION &quot;1.0&quot;
[  128s]  ^
[  128s] In file included from &amp;lt;command-line&amp;gt;:0:0:
[  128s] /home/abuild/rpmbuild/BUILD/cray-lustre/config.h:573:0: note: this is the location of the previous definition
[  128s]  #define PACKAGE_VERSION &quot;LUSTRE_VERSION&quot;
[  128s]  ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It seems OFED 3.18 now automatically generates a config.h in the same fashion that Lustre does, and these PACKAGE_* defines in the two config.h files are conflicting.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31684">LU-7042</key>
            <summary>config.h header conflict with OFED 3.18</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Aug 2015 21:05:30 +0000</created>
                <updated>Tue, 11 Jul 2017 21:29:18 +0000</updated>
                            <resolved>Sat, 19 Sep 2015 05:30:43 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="125178" author="simmonsja" created="Wed, 26 Aug 2015 14:48:41 +0000"  >&lt;p&gt;That is resulting from the macro AC_PACKAGE_NAME which is pretty standard in usage.&lt;/p&gt;</comment>
                            <comment id="125556" author="simmonsja" created="Fri, 28 Aug 2015 16:13:06 +0000"  >&lt;p&gt;Hmmm. The only solution I can think of is doing #undef PACKAGE_XXX after #include &amp;lt;compact-2.6.h&amp;gt;&lt;/p&gt;</comment>
                            <comment id="127090" author="gerrit" created="Fri, 11 Sep 2015 16:55:20 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16381&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16381&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7042&quot; title=&quot;config.h header conflict with OFED 3.18&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7042&quot;&gt;&lt;del&gt;LU-7042&lt;/del&gt;&lt;/a&gt; ofed: Handle OFED 3.18 packaging definitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f9f1ed5e8da106512ea7dc618b578e984edb0937&lt;/p&gt;</comment>
                            <comment id="127278" author="gerrit" created="Mon, 14 Sep 2015 19:48:31 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16418&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7042&quot; title=&quot;config.h header conflict with OFED 3.18&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7042&quot;&gt;&lt;del&gt;LU-7042&lt;/del&gt;&lt;/a&gt; lnet: Handle OFED 3.18 packaging definitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c0cd81795f38da5225022b52319ae5d90a802a72&lt;/p&gt;</comment>
                            <comment id="127279" author="dmiter" created="Mon, 14 Sep 2015 20:04:47 +0000"  >&lt;p&gt;This is very serious issue because of all checks will fail if they include &amp;lt;compact-2.6.h&amp;gt; which redefine PACKAGE_* macros.&lt;/p&gt;
&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;| &lt;span class=&quot;code-comment&quot;&gt;/* confdefs.h.  */&lt;/span&gt;
| #define PACKAGE_NAME &lt;span class=&quot;code-quote&quot;&gt;&quot;Lustre&quot;&lt;/span&gt;
| #define PACKAGE_TARNAME &lt;span class=&quot;code-quote&quot;&gt;&quot;lustre&quot;&lt;/span&gt;
| #define PACKAGE_VERSION &lt;span class=&quot;code-quote&quot;&gt;&quot;LUSTRE_VERSION&quot;&lt;/span&gt;
| #define PACKAGE_STRING &lt;span class=&quot;code-quote&quot;&gt;&quot;Lustre LUSTRE_VERSION&quot;&lt;/span&gt;
| #define PACKAGE_BUGREPORT &lt;span class=&quot;code-quote&quot;&gt;&quot;https:&lt;span class=&quot;code-comment&quot;&gt;//jira.hpdd.intel.com/&quot;&lt;/span&gt;
&lt;/span&gt;| #define PACKAGE &lt;span class=&quot;code-quote&quot;&gt;&quot;lustre&quot;&lt;/span&gt;
| #define VERSION &lt;span class=&quot;code-quote&quot;&gt;&quot;2.7.59&quot;&lt;/span&gt;
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR &lt;span class=&quot;code-quote&quot;&gt;&quot;.libs/&quot;&lt;/span&gt;
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_MODULE_LOADING_SUPPORT 1
| #define STACKTRACE_OPS_HAVE_WALK_STACK 1
| #define HAVE_SHRINKER_WANT_SHRINK_PTR 1
| #define HAVE_SYSCTL_CTLNAME 1
| #define HAVE_KSTRTOUL 1
| #define HAVE_STACKTRACE_WARNING 1
| #define HAVE_CRC32 1
| #define NEED_CRC32_ACCEL 1
| #define HAVE_HLIST_ADD_AFTER 1
| #define CPU_AFFINITY 1
| #define HAVE_COMPAT_RDMA 1
| #define HAVE_KTHREAD_WORK 1
| #define HAVE_RDMA_CREATE_ID_4ARG 1
| &lt;span class=&quot;code-comment&quot;&gt;/* end confdefs.h.  */&lt;/span&gt;
|
| #include &amp;lt;linux/kernel.h&amp;gt;
|
|               #ifdef HAVE_COMPAT_RDMA
|               #include &amp;lt;linux/compat-2.6.h&amp;gt;
|               #endif
|               #include &amp;lt;rdma/ib_verbs.h&amp;gt;
|
| &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;
| main (void)
| {
|
|               struct ib_cq_init_attr cq_attr;
|
|               cq_attr.comp_vector = NULL;
|
|   ;
|   &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
| }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;My patch resolve this issue.&lt;/p&gt;</comment>
                            <comment id="127890" author="gerrit" created="Sat, 19 Sep 2015 03:47:02 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16418/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16418/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7042&quot; title=&quot;config.h header conflict with OFED 3.18&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7042&quot;&gt;&lt;del&gt;LU-7042&lt;/del&gt;&lt;/a&gt; lnet: Handle OFED 3.18 packaging definitions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bfa4bc911208f7a7a447984a40266c70ad8814ab&lt;/p&gt;</comment>
                            <comment id="127894" author="pjones" created="Sat, 19 Sep 2015 05:30:43 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="26586">LU-5628</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzxlcf:</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>