Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622976 - sys-kernel/spl- fails to build with GCC 7.1.0
Summary: sys-kernel/spl- fails to build with GCC 7.1.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
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: ---

patch to apply the above mentioned commit to (spl-,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 (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 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
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).

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

I just pushed zfs 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.

- Jonathan