<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:59 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-16323] Build failed with &quot;error: conflicting types for &#8216;rhashtable_walk_enter&#8217;&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-16323</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Build fails with error: conflicting types for &#8216;rhashtable_walk_enter&#8217;&lt;/p&gt;

&lt;p&gt;&#160;&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;make[3]: Entering directory &apos;/usr/src/kernels/4.18.0-372.9.1.el8.x86_64&apos;
&#160; CC [M] &#160;/root/lustre-release/lustre-release/libcfs/libcfs/linux/linux-hash.o
In file included from /root/lustre-release/lustre-release/libcfs/libcfs/linux/linux-hash.c:33:
/root/lustre-release/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:70:12: error: conflicting types for &#8216;rhashtable_walk_enter&#8217;
&#160;static int rhashtable_walk_enter(struct rhashtable *ht,
&#160; &#160; &#160; &#160; &#160; &#160; ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:27,
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from /root/lustre-release/lustre-release/libcfs/libcfs/linux/linux-hash.c:33:
include/linux/rhashtable.h:248:6: note: previous declaration of &#8216;rhashtable_walk_enter&#8217; was here
&#160;void rhashtable_walk_enter(struct rhashtable *ht,
&#160; &#160; &#160; ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/lustre-release/lustre-release/libcfs/libcfs/linux/linux-hash.c:33:
/root/lustre-release/lustre-release/libcfs/include/libcfs/linux/linux-hash.h: In function &#8216;rhashtable_walk_enter&#8217;:
/root/lustre-release/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:76:9: error: implicit declaration of function &#8216;rhashtable_walk_init&#8217;; did you mean &#8216;rhashtable_walk_exit&#8217;? [-Werror=implicit-function-declaration]
&#160; return rhashtable_walk_init(ht, iter);
&#160; &#160; &#160; &#160; &#160;^~~~~~~~~~~~~~~~~~~~
&#160; &#160; &#160; &#160; &#160;rhashtable_walk_exit
At top level:
/root/lustre-release/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:70:12: error: &#8216;rhashtable_walk_enter&#8217; defined but not used [-Werror=unused-function]
&#160;static int rhashtable_walk_enter(struct rhashtable *ht,
&#160; &#160; &#160; &#160; &#160; &#160; ^~~~~~~~~~~~~~~~~~~~~&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;rhashtable.h from kernel-devel&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;$ rpm -q --whatprovides /usr/src/kernels/4.18.0-372.9.1.el8.x86_64/include/linux/rhashtable.h
kernel-devel-4.18.0-372.9.1.el8.x86_64&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Kernel version&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;$ uname -r
4.18.0-372.9.1.el8.x86_64&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Steps to reproduce&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;$ git pull
$ sh autogen.sh
$ ./configure
$ make
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Master (Head) is pointing to...&lt;/p&gt;

&lt;p&gt;&#160;&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;18e14c7099065891516b189467c0ff11ec7f470a (origin/master, origin/HEAD, master) LU-16216 tests: Update sanity-lnet for other LNDs
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="73313">LU-16323</key>
            <summary>Build failed with &quot;error: conflicting types for &#8216;rhashtable_walk_enter&#8217;&quot;</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="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Nov 2022 06:40:55 +0000</created>
                <updated>Fri, 18 Nov 2022 07:34:34 +0000</updated>
                            <resolved>Fri, 18 Nov 2022 07:34:34 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="353462" author="arshad512" created="Fri, 18 Nov 2022 06:50:03 +0000"  >&lt;p&gt;from: libcfs/include/libcfs/linux/linux-hash.h &#160;&#160;&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;#ifndef HAVE_RHASHTABLE_WALK_ENTER &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
static int rhashtable_walk_enter(struct rhashtable *ht, &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; struct rhashtable_iter *iter) &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
{ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
#ifdef HAVE_3ARG_RHASHTABLE_WALK_INIT &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;return rhashtable_walk_init(ht, iter, GFP_KERNEL); &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
#else &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;return rhashtable_walk_init(ht, iter); &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
#endif &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
} &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
#endif &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;from: /usr/src/kernels/4.18.0-372.9.1.el8.x86_64/include/linux/rhashtable.h&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;void rhashtable_walk_enter(struct rhashtable *ht, &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &#160; struct rhashtable_iter *iter);&#160; &#160; &#160; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;&lt;/p&gt;</comment>
                            <comment id="353463" author="arshad512" created="Fri, 18 Nov 2022 06:54:11 +0000"  >&lt;p&gt;config.log&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;lb_cv_compile_rhashtable_replace_fast=yes &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
lb_cv_compile_rhashtable_walk_enter=no &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
lb_cv_compile_rhashtable_walk_init=no &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="353469" author="arshad512" created="Fri, 18 Nov 2022 07:33:38 +0000"  >&lt;p&gt;Workaround. Rebooting the VM and doing the cycle of autogen, configure, make correctly detects the function.&lt;/p&gt;

&lt;p&gt;This is not a lustre bug.&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;lb_cv_compile_rhashtable_replace_fast=yes &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;
lb_cv_compile_rhashtable_walk_enter=yes &#160; /* correctly detects the function */&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 
lb_cv_compile_rhashtable_walk_init=no &#160; &#160; &#160; &#160;&#160;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <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|i0361z:</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>