freebsd-nq/config
Nikolay Borisov 4b9dddf430 Add handling for kernel 4.7's CONFIG_TRIM_UNUSED_KSYMS
Kernel 4.7 added the option to trim the unused exported symbols. In
my testing this showed to be problematic since the PDE_DATA function
was considered unused and as such was trimmed. This in turn caused the
respective test during spl's configure stage to falsely detect that
PDE_DATA is not defined, which in turn caused build failures later.

Handle this situation by adding detection whether CONFIG_TRIM_UNUSED_KSYMS
is enabled and refuse to build against a kernel which has it enabled

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #565
2016-08-01 12:43:01 -07:00
..
.gitignore Add config/compile to config/.gitignore 2014-10-31 16:26:44 -07:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
deb.am Add --bump=0 to alien 2013-04-24 16:18:11 -07:00
rpm.am Support parallel build trees (VPATH builds) 2015-07-17 12:53:11 -07:00
Rules.am build: use CPPFLAGS 2013-04-02 11:07:11 -07:00
spl-build.m4 Add handling for kernel 4.7's CONFIG_TRIM_UNUSED_KSYMS 2016-08-01 12:43:01 -07:00
spl-meta.m4 Make license compatibility checks consistent 2014-10-17 15:07:28 -07:00
tgz.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00