<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19:58 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-1821] build errors with newer gcc</title>
                <link>https://jira.whamcloud.com/browse/LU-1821</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;newer gcc checks stricter about C99 VLA and set-but-unused variables.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15667">LU-1821</key>
            <summary>build errors with newer gcc</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="keith">Keith Mannthey</assignee>
                                    <reporter username="bergwolf">Peng Tao</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 4 Sep 2012 06:42:11 +0000</created>
                <updated>Thu, 18 Apr 2013 20:15:54 +0000</updated>
                            <resolved>Wed, 3 Oct 2012 08:54:41 +0000</resolved>
                                                    <fixVersion>Lustre 2.3.0</fixVersion>
                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="44117" author="bergwolf" created="Tue, 4 Sep 2012 06:43:24 +0000"  >&lt;p&gt;VLA error:&lt;/p&gt;

&lt;p&gt;    drivers/incore/fs_incore.c:340:54: error: variably modified&lt;br/&gt;
    &#8216;incore_dir_template&#8217; at file scope &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;$gcc --version&lt;br/&gt;
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)&lt;br/&gt;
Copyright (C) 2011 Free Software Foundation, Inc.&lt;br/&gt;
This is free software; see the source for copying conditions.  There is NO&lt;br/&gt;
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/p&gt;</comment>
                            <comment id="44118" author="bergwolf" created="Tue, 4 Sep 2012 06:44:42 +0000"  >&lt;p&gt;patch submitted:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/3856&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3856&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44264" author="bergwolf" created="Thu, 6 Sep 2012 02:03:20 +0000"  >&lt;p&gt;Another error after rebasing my code...&lt;/p&gt;

&lt;p&gt;make&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;: Entering directory `/home/bergwolf/src/linux-2.6&apos;&lt;/p&gt;

&lt;p&gt;  WARNING: Symbol version dump /home/bergwolf/src/linux-2.6/Module.symvers&lt;br/&gt;
           is missing; modules will have no dependencies and modversions.&lt;/p&gt;

&lt;p&gt;  CC &lt;span class=&quot;error&quot;&gt;&amp;#91;M&amp;#93;&lt;/span&gt;  /home/bergwolf/rpmbuild/BUILD/lustre-2.3.50/lustre/osc/osc_request.o&lt;br/&gt;
cc1: warnings being treated as errors&lt;br/&gt;
/home/bergwolf/rpmbuild/BUILD/lustre-2.3.50/lustre/osc/osc_request.c: In function &#8216;osc_setup&#8217;:&lt;br/&gt;
/home/bergwolf/rpmbuild/BUILD/lustre-2.3.50/lustre/osc/osc_request.c:3581: error: ignoring return value of &#8216;PTR_ERR&#8217;, declared with attribute warn_unused_result&lt;/p&gt;

&lt;p&gt;$gcc --version&lt;br/&gt;
gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)&lt;br/&gt;
Copyright (C) 2010 Free Software Foundation, Inc.&lt;br/&gt;
This is free software; see the source for copying conditions.  There is NO&lt;br/&gt;
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/p&gt;


&lt;p&gt;patch submitted to&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/3884&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3884&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44272" author="simmonsja" created="Thu, 6 Sep 2012 07:24:33 +0000"  >&lt;p&gt;This is the same problem we seen on SLES11 SP2. Please take a look at &lt;a href=&quot;http://review.whamcloud.com/#change,3734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3734&lt;/a&gt; for jira ticket &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1691&quot; title=&quot;kernel update [SLES11 SP2 3.0.34-0.7.9]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1691&quot;&gt;&lt;del&gt;LU-1691&lt;/del&gt;&lt;/a&gt;. This is really a duplicate of that ticket.&lt;/p&gt;</comment>
                            <comment id="44275" author="bergwolf" created="Thu, 6 Sep 2012 07:38:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1691&quot; title=&quot;kernel update [SLES11 SP2 3.0.34-0.7.9]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1691&quot;&gt;&lt;del&gt;LU-1691&lt;/del&gt;&lt;/a&gt; doesn&apos;t address the VLA error. Shall I abandon this ticket (and the two patches) and let Yang Sheng fold the VLA part into &lt;a href=&quot;http://review.whamcloud.com/#change,3734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3734&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="44276" author="simmonsja" created="Thu, 6 Sep 2012 07:47:52 +0000"  >&lt;p&gt;Look at the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1691&quot; title=&quot;kernel update [SLES11 SP2 3.0.34-0.7.9]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1691&quot;&gt;&lt;del&gt;LU-1691&lt;/del&gt;&lt;/a&gt; patch and your two patches I would suggest the easiest path is to fold your changes into one patch and make it dependent on the patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1691&quot; title=&quot;kernel update [SLES11 SP2 3.0.34-0.7.9]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1691&quot;&gt;&lt;del&gt;LU-1691&lt;/del&gt;&lt;/a&gt; since they over lap. You are right your patch adds even more fixes that are needed beyond SLES11 SP2 support.&lt;/p&gt;</comment>
                            <comment id="44290" author="bergwolf" created="Thu, 6 Sep 2012 10:59:49 +0000"  >&lt;p&gt;I agree. I&apos;ll just abandon &lt;a href=&quot;http://review.whamcloud.com/#change,3884&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3884&lt;/a&gt; and reduce &lt;a href=&quot;http://review.whamcloud.com/#change,3856&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3856&lt;/a&gt; to just fix VLA error. There is no need to depend on patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1691&quot; title=&quot;kernel update [SLES11 SP2 3.0.34-0.7.9]&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1691&quot;&gt;&lt;del&gt;LU-1691&lt;/del&gt;&lt;/a&gt; because VLA fix is independent. Thanks.&lt;/p&gt;</comment>
                            <comment id="45918" author="pjones" created="Wed, 3 Oct 2012 08:54:41 +0000"  >&lt;p&gt;Landed for 2.3&lt;/p&gt;</comment>
                            <comment id="46193" author="simmonsja" created="Mon, 8 Oct 2012 14:33:23 +0000"  >&lt;p&gt;Found another problem. Could we reopen and keep this ticket around? We will continue to have gcc build errors from time to time.&lt;/p&gt;</comment>
                            <comment id="46196" author="pjones" created="Mon, 8 Oct 2012 14:47:00 +0000"  >&lt;p&gt;James&lt;/p&gt;

&lt;p&gt;It makes it much easier to track which fix is in which release if we have one ticket per issue rather than reused tickets (and I bet it takes less time to open a new ticket than to find the existing one to reuse&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; ). My preference would be for us to look into ways that we can catch introducing these problems &lt;em&gt;before&lt;/em&gt; they land. Perhaps we can discuss ideas on how we could accomplish this on the next CDWG call?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="46197" author="simmonsja" created="Mon, 8 Oct 2012 14:49:35 +0000"  >&lt;p&gt;Okay. Its under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2111&quot; title=&quot;echo_client does return proper error code when it fails.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2111&quot;&gt;&lt;del&gt;LU-2111&lt;/del&gt;&lt;/a&gt;&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|hzv5on:</customfieldvalue>

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