<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:49 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-4669] compile error on ppc64: __ksymtab_ldiskfs_ext_pblock causes a section type conflict</title>
                <link>https://jira.whamcloud.com/browse/LU-4669</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While compiling Lustre master branch against kernel 2.6.32-431.5.1.el6 on RHEL6.5/ppc64 by using lbuild, I hit the following errors:&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;/root/lustre-release/build/BUILD/lustre-2.5.55/ldiskfs/extents.c:4832: error: __ksymtab_ldiskfs_ext_pblock causes a section type conflict
/root/lustre-release/build/BUILD/lustre-2.5.55/ldiskfs/extents.c:4832: error: __ksymtab_ldiskfs_ext_pblock causes a section type conflict
/root/lustre-release/build/BUILD/lustre-2.5.55/ldiskfs/extents.c:4829: error: __ksymtab_ldiskfs_ext_store_pblock causes a section type conflict
/root/lustre-release/build/BUILD/lustre-2.5.55/ldiskfs/extents.c:4829: error: __ksymtab_ldiskfs_ext_store_pblock causes a section type conflict
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The lbuild log &quot;lbuild.ppc64.log&quot; is attached.&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
Lustre Build: &lt;a href=&quot;http://build.whamcloud.com/job/lustre-master/1909/&quot;&gt;http://build.whamcloud.com/job/lustre-master/1909/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL6.5/ppc64&lt;br/&gt;
</environment>
        <key id="23282">LU-4669</key>
            <summary>compile error on ppc64: __ksymtab_ldiskfs_ext_pblock causes a section type conflict</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Feb 2014 15:50:11 +0000</created>
                <updated>Mon, 10 Nov 2014 15:52:18 +0000</updated>
                            <resolved>Tue, 2 Sep 2014 01:40:56 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="77819" author="yujian" created="Tue, 25 Feb 2014 16:08:25 +0000"  >&lt;p&gt;This is because the static functions in ldiskfs/ldiskfs_extents.h are exported in ldiskfs/extents.c, which is not allowed by gcc.&lt;/p&gt;

&lt;p&gt;ldiskfs/ldiskfs_extents.h:&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-keyword&quot;&gt;static&lt;/span&gt; inline ldiskfs_fsblk_t ldiskfs_ext_pblock(struct ldiskfs_extent *ex)
&lt;span class=&quot;code-comment&quot;&gt;//......
&lt;/span&gt;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline void ldiskfs_ext_store_pblock(struct ldiskfs_extent *ex,
                                         ldiskfs_fsblk_t pb)
&lt;span class=&quot;code-comment&quot;&gt;//......&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;ldiskfs/extents.c:&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;EXPORT_SYMBOL(ldiskfs_ext_store_pblock);
EXPORT_SYMBOL(ldiskfs_ext_pblock);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The above EXPORT_SYMBOL codes were introduced in ldiskfs/kernel_patches/patches/rhel6.4/ext4-misc.patch by patch &lt;a href=&quot;http://review.whamcloud.com/4804&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4804&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="77890" author="yujian" created="Wed, 26 Feb 2014 06:41:05 +0000"  >&lt;p&gt;Besides ldiskfs/extents.c, those exported functions are used in:&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;ldiskfs/move_extent.c
lustre/osd-ldiskfs/osd_io.c
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since the functions are static inline functions, and ldiskfs/ldiskfs_extents.h is included in lustre/osd-ldiskfs/osd_io.c. I&apos;m going to remove those EXPORT_SYMBOL(...)s from ldiskfs/kernel_patches/patches/rhel6.4/ext4-misc.patch. &lt;/p&gt;</comment>
                            <comment id="77915" author="yujian" created="Wed, 26 Feb 2014 15:57:37 +0000"  >&lt;p&gt;Here is the patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/9401&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9401&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Patch &lt;a href=&quot;http://review.whamcloud.com/9810&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9810&lt;/a&gt; fixes the following compile errors:&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;cc1: warnings being treated as errors
/root/lustre-release/build/BUILD/lustre-2.5.55/lustre/lmv/lmv_obd.c:2329: error: &apos;lmv_adjust_dirpages&apos; defined but not used
make[6]: *** [/root/lustre-release/build/BUILD/lustre-2.5.55/lustre/lmv/lmv_obd.o] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Patch &lt;a href=&quot;http://review.whamcloud.com/9811&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9811&lt;/a&gt; fixes the following compile errors:&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;cc1: warnings being treated as errors
../../lustre/ldlm/ldlm_request.c: In function &apos;ldlm_cli_enqueue_fini&apos;:
../../lustre/ldlm/ldlm_request.c:614: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 5 has type &apos;__u64&apos;
../../lustre/ldlm/ldlm_request.c: In function &apos;ldlm_cli_enqueue&apos;:
../../lustre/ldlm/ldlm_request.c:925: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 4 has type &apos;__u64&apos;
../../lustre/ldlm/ldlm_request.c:925: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 3 has type &apos;__u64&apos;
make[4]: *** [libptlrpc_a-ldlm_request.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
../../lustre/ldlm/ldlm_flock.c: In function &apos;ldlm_flock_destroy&apos;:
../../lustre/ldlm/ldlm_flock.c:142: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 5 has type &apos;__u64&apos;
../../lustre/ldlm/ldlm_flock.c:142: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 4 has type &apos;__u64&apos;
../../lustre/ldlm/ldlm_flock.c: In function &apos;ldlm_process_flock_lock&apos;:
../../lustre/ldlm/ldlm_flock.c:312: error: format &apos;%#llx&apos; expects type &apos;long long unsigned int&apos;, but argument 3 has type &apos;__u64&apos;
../../lustre/ldlm/ldlm_flock.c: In function &apos;ldlm_flock_completion_ast&apos;:
../../lustre/ldlm/ldlm_flock.c:676: error: format &apos;%llx&apos; expects type &apos;long long unsigned int&apos;, but argument 3 has type &apos;__u64&apos;
make[4]: *** [libptlrpc_a-ldlm_flock.o] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="89443" author="yujian" created="Fri, 18 Jul 2014 00:47:33 +0000"  >&lt;p&gt;All of the patches in this ticket were landed on master branch.&lt;/p&gt;</comment>
                            <comment id="97528" author="yujian" created="Mon, 27 Oct 2014 07:49:38 +0000"  >&lt;p&gt;Here are the back-ported patches for Lustre b2_5 branch:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12431&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12431&lt;/a&gt; (from patch #9401)&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12432&lt;/a&gt; (from patch #9811)&lt;/p&gt;

&lt;p&gt;The issue fixed &lt;a href=&quot;http://review.whamcloud.com/9810&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9810&lt;/a&gt; does not exist on Lustre b2_5 branch.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14169" name="lbuild.ppc64.log" size="1821742" author="yujian" created="Tue, 25 Feb 2014 15:50:11 +0000"/>
                    </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|hzwfsf:</customfieldvalue>

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