[Gluster-devel] Compilation with gcc 7.x

Amar Tumballi atumball at redhat.com
Wed Jul 5 07:15:11 UTC 2017


Csaba,

Thanks for looking into this.

On Tue, Jul 4, 2017 at 5:30 PM, Csaba Henk <chenk at redhat.com> wrote:

> Hi list,
>
> I've compiled glusterfs with gcc 7.x (to be precise, with 7.1.1),
> which is soon to get its prime time as the C compiler of
> Fedora 26.
>
> The Release Notes (https://gcc.gnu.org/gcc-7/changes.html)
> give account of a broad list of new and improved warnings...
> and that shows. While with gcc 6.x the only warning I had
> is "lchmod is not implemented and will always fail", with
> gcc 7.x I got 218 warnings alltogether. For reference, I
> attach the excerpted warnings from the compilation output.
>
> Went through the logs, and I see it is in project's interest to fix them.

Technically, fixing these warnings would be good to reduce our coverity
warnings too in many cases. I am all for it.


> Are you aware of this? Is there any plan what to do about it?
>
>
I was not aware of it. Thanks for pointing it out. I propose we to fix it
before 4.0 release branch out, and start having  gcc7.x job compiling as
part of smoke.

We can keep the smoke job non-voting till some time, and can turn the knob
ON someday, say October 15th for start voting -1 on any warnings. Others,
any comments?

Csaba, please open a github issue for it, also attach the log there. Thanks

Regards,
Amar


> Csaba
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-devel
>



-- 
Amar Tumballi (amarts)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170705/c0682a7b/attachment.html>


More information about the Gluster-devel mailing list