zfs/lib/libzpool
Brian Behlendorf 7fa6f8b93a Restrict usage of -fstack-check option
The stack check implementation in older versions of gcc has
a fairly low default limit on STACK_CHECK_MAX_FRAME_SIZE of
roughly 4096.  This results in numerous warning when it is
used with code which was designed to run in user space and
thus may be relatively stack heavy.  The avoid these warnings,
which are fatal with -Werror, this patch targets the use of
-fstack-check to libraries which are compiled in both user
space and kernel space.  The only utility which uses this
flag is ztest which is designed to simulate running in the
kernel and must meet the -fstack-check requirements.  All
other user space utilities do not use -fstack-check.

  warning: frame size too large for reliable stack checking
  warning: try reducing the number of local variables
2010-07-23 10:38:07 -07:00
..
include Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-07-21 10:08:25 -07:00
Makefile.am Restrict usage of -fstack-check option 2010-07-23 10:38:07 -07:00
kernel.c Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-29 10:55:38 -07:00
taskq.c Add fix-pthreads topic branch 2010-06-14 16:20:44 -07:00
util.c Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-05-28 15:34:57 -07:00