Per the gerrit for the GROUP_AT fix <https://gerrit.openafs.org/#/c/12478/2/acinclude.m4>, we check for gid in struct group_info then define GROUP_AT as
#ifdef STRUCT_GROUP_INFO_HAS_GID /* compat macro for Linux 4.9 */ #define GROUP_AT(gi,x) ((gi)->gid[x]) #endif In the config.log line 8632 we check for it and get a segfault: configure:11205: checking for gid in struct group_info make -C /usr/src/kernels/4.11.0-0.rc7.git0.1.fc26.x86_64 M=/home/randy /rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir modules KBUILD_VERBOSE=1 make: Entering directory '/usr/src/kernels/4.11.0-0.rc7.git0.1.fc26.x86_64' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/.tmp_versions ; rm -f /home/randy/rpmbuild/BUILD/openafs-1.6.20.2 /conftest.dir/.tmp_versions/* make -f ./scripts/Makefile.build obj=/home/randy/rpmbuild/BUILD/openafs-1.6. 20.2/conftest.dir gcc -Wp,-MD,/home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/.conftest.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/7/include -I./arch/x86/ include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps= 1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512= 1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DMODULE -DKBUILD_BASENAME='"conftest"' -DKBUILD_MODNAME='"conftest"' -c -o /home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/conftest.o /home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/conftest.c make: Leaving directory '/usr/src/kernels/4.11.0-0.rc7.git0.1.fc26.x86_64' /home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/conftest.c: In function 'conftest': /home/randy/rpmbuild/BUILD/openafs-1.6.20.2/conftest.dir/conftest.c:48:8: internal compiler *error: Segmentation fault* struct group_info _test; printk("%x\n", &_test.gid); ^~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/cc1n5yQ0.out file, please attach this to your bugreport. make[1]: *** [scripts/Makefile.build:301: /home/randy/rpmbuild/ BUILD/openafs-1.6.20.2/conftest.dir/conftest.o] Error 1 make: *** [Makefile:1496: _module_/home/randy/rpmbuild/BUILD/openafs-1.6. 20.2/conftest.dir] Error 2 configure: failed using Makefile: | EXTRA_CFLAGS += | | obj-m += conftest.o configure: and program was: | /* confdefs.h */ | #define PACKAGE_NAME "OpenAFS" | #define PACKAGE_TARNAME "openafs" | #define PACKAGE_VERSION "1.6.20.2" | #define PACKAGE_STRING "OpenAFS 1.6.20.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "openafs" | #define VERSION "1.6.20.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define ENDIANESS_IN_SYS_PARAM_H 1 | #define PRINTF_TAKES_Z_LEN 1 | #define ENABLE_REDHAT_BUILDSYS 1 | #define HAVE_LINUX_INODE_OPERATIONS_RENAME_TAKES_FLAGS 1 | #define HAVE_LINUX_CRED_H 1 | #define HAVE_LINUX_COMPLETION_H 1 | #define HAVE_LINUX_EXPORTFS_H 1 | #define HAVE_LINUX_FREEZER_H 1 | #define HAVE_LINUX_KEY_TYPE_H 1 | #define HAVE_LINUX_SEMAPHORE_H 1 | #define HAVE_LINUX_SEQ_FILE_H 1 | #define HAVE_LINUX_SCHED_SIGNAL_H 1 | #define HAVE_LINUX_KUID_T 1 | #define STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_WRITE_BEGIN 1 | #define STRUCT_BACKING_DEV_INFO_HAS_NAME 1 | #define STRUCT_CRED_HAS_SESSION_KEYRING 1 | #define STRUCT_DENTRY_HAS_D_U_D_ALIAS 1 | #define STRUCT_DENTRY_OPERATIONS_HAS_D_AUTOMOUNT 1 | /* end confdefs.h */ | #include <linux/module.h> | #include <linux/cred.h> | | void conftest(void) | { | struct group_info _test; printk("%x\n", &_test.gid); | } | | MODULE_LICENSE("http://www.openafs.org/dl/license10.html"); configure:11305: result: no 1) It may be worth submitting the bug report to RedHat per the directions and the preprocessor tmp file above. 2) You can play around with the conftest output above and try to get the test to not segfault. 3) If you wanted to just try something, I'd imagine rolling gcc back might change the segfault outcome we are seeing here. You were using gcc (GCC) 7.0.1 20170309 (Red Hat 7.0.1-0.12) and they did this patch 4 months ago, so it was probably on the gcc 6.3 line. Cheers, Joe