<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:22 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-1293] SLES10 patchless client compilation error</title>
                <link>https://jira.whamcloud.com/browse/LU-1293</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Trying to build patchless client for SLES 10 x64.&lt;/p&gt;

&lt;p&gt;Build fails with error:&lt;br/&gt;
/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_nfs.c: In function &apos;ll_get_name&apos;:&lt;br/&gt;
/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_nfs.c:244: warning: passing argument 3 of &apos;ll_readdir&apos;.&lt;br/&gt;
from incompatible pointer type&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;8&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_nfs.o&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;

&lt;p&gt;or, without -Werror:&lt;br/&gt;
/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_nfs.c: In function &apos;ll_get_name&apos;:&lt;br/&gt;
/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_nfs.c:244: error: passing argument 3 of &apos;ll_readdir&apos; from incompatible pointer type&lt;br/&gt;
/storage/asl/sles10/workdir/BUILD/lustre-2.0.66/lustre/llite/llite_internal.h:607: note: expected &apos;filldir_t&apos; but argument is of type &apos;int (void *, const char *, int, loff_t, u64, unsigned int)&apos;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13915">LU-1293</key>
            <summary>SLES10 patchless client compilation error</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="cheng_shao">Cheng Shao</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Apr 2012 13:23:25 +0000</created>
                <updated>Mon, 16 Apr 2012 19:40:47 +0000</updated>
                            <resolved>Mon, 16 Apr 2012 19:40:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="34300" author="adilger" created="Mon, 9 Apr 2012 14:06:13 +0000"  >&lt;p&gt;Why are you trying to build 2.0.66?  What is the prototype for filldir_t on SLES10?  What specific kernel version is being used?&lt;/p&gt;</comment>
                            <comment id="34301" author="cheng_shao" created="Mon, 9 Apr 2012 15:11:41 +0000"  >&lt;p&gt;Sorry about the confusion. The problem exists with the latest Lustre version as well. &lt;/p&gt;

&lt;p&gt;There are a couple of issues when compiling lustre with old kernel versions. Specifically,&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For 2.6.18 and earlier, filldir_t is defined as below, with fourth argument type of ino_t,&lt;br/&gt;
    typedef int (*filldir_t)(void *, const char *, int, loff_t, ino_t, unsigned);&lt;br/&gt;
  It was changed to u64 in later kernel versions.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For 2.6.17 and earlier, address_space_operations-&amp;gt;migratepage() takes two args instead of three&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;For 2.6.18 and earlier, there is no bool type.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We have the above issue fixed in our repo and will get it landed on WC via this ticket.&lt;/p&gt;</comment>
                            <comment id="34848" author="pjones" created="Mon, 16 Apr 2012 19:40:47 +0000"  >&lt;p&gt;Note that SLES10 clients are not supported for master&lt;/p&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|hzvh3z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6421</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>