Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622976 - sys-kernel/spl-0.6.5.10 fails to build with GCC 7.1.0
Summary: sys-kernel/spl-0.6.5.10 fails to build with GCC 7.1.0
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL: https://github.com/zfsonlinux/spl/iss...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-06-29 03:00 UTC by Patrick McMunn
Modified: 2018-02-01 15:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to apply the above mentioned commit to 0.6.5.10 (spl-0.6.5.10-gcc7-fix.patch,1.29 KB, patch)
2017-07-01 15:26 UTC, Patrick McMunn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2017-06-29 03:00:26 UTC
spl 0.6.5.10 (and possibly other versions) fail to build with GCC 7.1.0. One possible solution is to remove the -Werror compiler flag which causes a warning to be treated as an error. Another solution is to apply commit https://github.com/zfsonlinux/spl/commit/4f8e643afe9d8cc558566e1dda05ef597cb2526e which prevents the warning from occurring.

Reproducible: Always
Comment 1 Patrick McMunn 2017-07-01 15:26:38 UTC
Created attachment 478922 [details, diff]
patch to apply the above mentioned commit to 0.6.5.10
Comment 2 Jonathan Vasquez (RETIRED) gentoo-dev 2017-07-01 16:00:54 UTC
Hey Patrick,

Thanks for reporting. Currently Richard Yao and I are discussing which solution to go with. I think we most likely will apply the patch that's in upstream (Which seems to be also what you have attached).

Thanks!
Comment 3 Jonathan Vasquez (RETIRED) gentoo-dev 2017-07-11 01:59:39 UTC
Hey Patrick,

I just pushed zfs 0.6.5.11 to the tree. This upstream release includes GCC 7.1 build fixes. Please try that version (in about 30 minutes+) and let us know if it works for you.

https://github.com/zfsonlinux/zfs/pull/6253

- Jonathan