Discussion:
[OpenAFS-devel] OpenAFS fails to build with GCC 7 when building for Linux 4.9+
Bastian Beischer
2017-05-30 11:35:30 UTC
Permalink
Dear all,

Just a heads up: Due to a compiler bug OpenAFS fails to build with GCC 7
when building for Linux 4.9+. There is a compiler crash which causes the
check for the "gid" member of the "group_info" struct in "cred.h" to fail,
even though it shouldn't. As a consequence STRUCT_GROUP_INFO_HAS_GID is not
defined and thus GROUP_AT isn't either, which causes the build of the
kernel module to fail.

The GCC bug is tracked here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80919

Cheers
Bastian

Loading...