<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:48 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-4668] compile error on ppc64: asm/stacktrace.h: No such file or directory</title>
                <link>https://jira.whamcloud.com/browse/LU-4668</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/libcfs/libcfs/linux/linux-debug.c:188:28: error: asm/stacktrace.h: No such file or directory
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:220: error: variable &apos;print_trace_ops&apos; has initializer but incomplete type
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: unknown field &apos;stack&apos; specified in initializer
cc1: warnings being treated as errors
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: excess elements in struct initializer
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: (near initialization for &apos;print_trace_ops&apos;)
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: unknown field &apos;address&apos; specified in initializer
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: excess elements in struct initializer
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: (near initialization for &apos;print_trace_ops&apos;)
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c: In function &apos;libcfs_debug_dumpstack&apos;:
/root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:241: error: implicit declaration of function &apos;dump_trace&apos;
&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="23281">LU-4668</key>
            <summary>compile error on ppc64: asm/stacktrace.h: No such file or directory</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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:19:56 +0000</created>
                <updated>Mon, 10 Mar 2014 17:50:10 +0000</updated>
                            <resolved>Mon, 10 Mar 2014 17:50:10 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="77815" author="yujian" created="Tue, 25 Feb 2014 15:41:36 +0000"  >&lt;p&gt;This is because patch &lt;a href=&quot;http://review.whamcloud.com/5403&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5403&lt;/a&gt; removed LIBCFS_FUNC_DUMP_TRACE test.&lt;/p&gt;

&lt;p&gt;Since dump_trace is not supported by powerpc arch, we need restore the test. Here is the patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/9381&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9381&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="77823" author="simmonsja" created="Tue, 25 Feb 2014 16:27:17 +0000"  >&lt;p&gt;We ran into the same problem for the ARM client support. Can you try patch&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/8872&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8872&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If that patch works for you can this ticket be linked to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4199&quot; title=&quot;Lustre client support for ARM platform&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4199&quot;&gt;&lt;del&gt;LU-4199&lt;/del&gt;&lt;/a&gt; since the same problem overlaps.&lt;/p&gt;</comment>
                            <comment id="77887" author="yujian" created="Wed, 26 Feb 2014 06:03:53 +0000"  >&lt;p&gt;Hi James,&lt;/p&gt;

&lt;p&gt;Thank you for the info. I just tried patch #8872 and got the following compile error on ppc64:&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.56/libcfs/libcfs/linux/linux-debug.c:188:28: error: asm/stacktrace.h: No such file or directory
make[6]: *** [/root/lustre-release/build/BUILD/lustre-2.5.56/libcfs/libcfs/linux/linux-debug.o] Error 1
make[6]: *** Waiting for unfinished jobs....
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is because:&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;# pwd
/root/kernel/rpmbuild/SOURCES/linux-2.6.32-431.5.1.el6/arch

# find ./arm -name stacktrace.h
./arm/include/asm/stacktrace.h

# find ./powerpc -name stacktrace.h
#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The stacktrace.h is supported by arm (although it does not support dump_trace), but not by powerpc.&lt;br/&gt;
So, a check is still needed before &quot;#include &amp;lt;asm/stacktrace.h&amp;gt;&quot; in libcfs/libcfs/linux/linux-debug.c.&lt;/p&gt;</comment>
                            <comment id="77899" author="simmonsja" created="Wed, 26 Feb 2014 13:44:04 +0000"  >&lt;p&gt;Since we are only support dump_trace on X86 anyways this means we can move stacktrace.h and nmi.h to the CONFIG_X86 section of the patch. I pushed a new version of the patch to handle this.&lt;/p&gt;</comment>
                            <comment id="78212" author="simmonsja" created="Mon, 3 Mar 2014 13:53:01 +0000"  >&lt;p&gt;Jian does the updated patch at &lt;a href=&quot;http://review.whamcloud.com/#/c/8872&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8872&lt;/a&gt; fix your build issue now?&lt;/p&gt;</comment>
                            <comment id="78215" author="yujian" created="Mon, 3 Mar 2014 14:19:56 +0000"  >&lt;p&gt;Hi James, I was intended to verify the updated patch but did not find time.&lt;/p&gt;

&lt;p&gt;Just verified that the compile error was resolved with the patch applied on the master branch. Thanks, James.&lt;/p&gt;</comment>
                            <comment id="78898" author="jlevi" created="Mon, 10 Mar 2014 17:50:10 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="21816">LU-4199</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14168" name="lbuild.ppc64.log" size="1821742" author="yujian" created="Tue, 25 Feb 2014 15:19:56 +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|hzwfs7:</customfieldvalue>

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