<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:01:03 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-6534] Build issue with gcc 4.9.2, v2_7_52, in sendfile_copy</title>
                <link>https://jira.whamcloud.com/browse/LU-6534</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Building with gcc 4.9.2 on Ubuntu 15.04 I get the following build error:&lt;/p&gt;

&lt;p&gt;libtool: link: gcc -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -o llapi_fid_test llapi_fid_test.o  ../../lustre/utils/liblustreapi.a&lt;br/&gt;
gcc -DHAVE_CONFIG_H -I. -I../..  -D_LARGEFILE64_SOURCE=1 -I/opt/lam/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS -include /home/king/lustre/no-deb-build/lustre-release/config.h -I/home/king/lustre/no-deb-build/lustre-release/libcfs/include -I/home/king/lustre/no-deb-build/lustre-release/lnet/include -I/home/king/lustre/no-deb-build/lustre-release/lustre/include  -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror -MT sendfile_grouplock.o -MD -MP -MF .deps/sendfile_grouplock.Tpo -c -o sendfile_grouplock.o sendfile_grouplock.c&lt;br/&gt;
In file included from /usr/include/fcntl.h:279:0,&lt;br/&gt;
                 from sendfile_grouplock.c:60:&lt;br/&gt;
In function &#8216;open&#8217;,&lt;br/&gt;
    inlined from &#8216;sendfile_copy&#8217; at sendfile_grouplock.c:229:9:&lt;br/&gt;
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to &#8216;__open_missing_mode&#8217; declared with attribute error: open with O_CREAT in second argument needs 3 arguments&lt;br/&gt;
    __open_missing_mode ();&lt;br/&gt;
    ^&lt;br/&gt;
Makefile:1195: recipe for target &apos;sendfile_grouplock.o&apos; failed&lt;/p&gt;

&lt;p&gt;I&apos;m guessing that the newer versions of gcc are more pedantic and catching this open + O_CREATE without mode flag issue.&lt;/p&gt;

&lt;p&gt;Attached is a patch to fix this build issue.&lt;/p&gt;</description>
                <environment>Ubuntu Vivid 15.04</environment>
        <key id="29746">LU-6534</key>
            <summary>Build issue with gcc 4.9.2, v2_7_52, in sendfile_copy</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="bogl">Bob Glossman</assignee>
                                    <reporter username="colinianking">Colin Ian King</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 28 Apr 2015 13:53:48 +0000</created>
                <updated>Tue, 28 Mar 2017 16:19:01 +0000</updated>
                            <resolved>Tue, 12 May 2015 23:14:37 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="113638" author="pjones" created="Tue, 28 Apr 2015 17:13:25 +0000"  >&lt;p&gt;Hi Colin&lt;/p&gt;

&lt;p&gt;thanks for the contribution - we&apos;re getting a lot of interest in running Lustre clients on Ubuntu atm so this is most welcome&lt;/p&gt;

&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Can you please take care of this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="113639" author="gerrit" created="Tue, 28 Apr 2015 17:13:48 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14631&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14631&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6534&quot; title=&quot;Build issue with gcc 4.9.2, v2_7_52, in sendfile_copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6534&quot;&gt;&lt;del&gt;LU-6534&lt;/del&gt;&lt;/a&gt; tests: Fix build issue, missing mode on an open with O_CREAT&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 90f66105f61838f218b38570677821e6a269a004&lt;/p&gt;</comment>
                            <comment id="115107" author="gerrit" created="Tue, 12 May 2015 22:18:10 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/14631/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14631/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6534&quot; title=&quot;Build issue with gcc 4.9.2, v2_7_52, in sendfile_copy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6534&quot;&gt;&lt;del&gt;LU-6534&lt;/del&gt;&lt;/a&gt; tests: Fix build issue, missing mode on an open with O_CREAT&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 96f566ea1c6fccac9d427f7dc8c25ed4c3893299&lt;/p&gt;</comment>
                            <comment id="115118" author="pjones" created="Tue, 12 May 2015 23:14:37 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17607" name="0001-Fix-build-issue-missing-mode-on-an-open-with-O_CREAT.patch" size="1392" author="colinianking" created="Tue, 28 Apr 2015 13:53:49 +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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>test</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxbxr:</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>