OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-413-gcc7f942
Gerrit Code Review
Sat, 3 Aug 2019 01:31:02 -0400
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Wed Jul 10 23:40:55 2019 -0500
LINUX: Disable kernel fortuna large frame errors
The rand-fortuna.c we get from Heimdal's hcrypto currently sometimes
causes a warning on LINUX when building in the kernel, because
fortuna_reseed() has a (potentially) large stack size:
.../src/libafs/MODLOAD-.../rand-fortuna-kernel.c:549:1: error: the frame size of 1032 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
Currently this does not cause the build to fail, even with
--enable-checking, since -Werror is not given in the CFLAGS when
building our kernel module. But if -Werror is passed in CFLAGS (in a
future commit), this would cause the build to fail.
Since this is an external source file, we cannot change it directly.
At least for now, just prevent this warning from breaking the build by
passing -Wno-error=frame-larger-than= into the CFLAGS for that file.
Tested-by: BuildBot <email@example.com>
Reviewed-by: Benjamin Kaduk <firstname.lastname@example.org>
src/libafs/MakefileProto.LINUX.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
OpenAFS Master Repository