OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-413-gcc7f942
Gerrit Code Review
gerrit@openafs.org
Sat, 3 Aug 2019 01:31:02 -0400
The following commit has been merged in the master branch:
commit cc7f942a81a3bbdc8154f511d054a2a018b39ce5
Author: Andrew Deason <adeason@sinenomine.net>
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.
Change-Id: Ieefdf2dbc318fdcd559435e5f329eef5cf9bb9ba
Reviewed-on: https://gerrit.openafs.org/13684
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/libafs/MakefileProto.LINUX.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository