openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.56k stars 1.74k forks source link

SPL linux 4.0.6 and 4.0.1 compatibility #3523

Closed djdunn closed 6 years ago

djdunn commented 9 years ago

checking whether ->count_objects callback exists... configure: error: error

starts happening after 4.0.5, as 4.0.5 is last that works using the .config from 4.0.5 with 4.0.6

gentoo system using spl-9999

Bronek commented 9 years ago

I have no problems building version 0.6.4.1 under kernel 4.0.6 . Using Arch Linux, gcc 5.1.0. Which version of ZFS on Linux do you use?

behlendorf commented 9 years ago

@djdunn this shouldn't be fatal. If it is please include the config.log and build failure.

djdunn commented 9 years ago

Im getting it from GIT update --> repository: https://github.com/zfsonlinux/spl.git at the commit: 3c82160ff2feb86fb7275fd941d203167340a187 branch: master storage directory: "/usr/portage/distfiles/egit-src/spl.git" checkout type: bare repository

here is the build log

checking whether old 3-argument shrinker exists... no checking whether new 2-argument shrinker exists... no checking whether ->count_objects callback exists... configure: error: error

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config.log

djdunn commented 9 years ago

config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by spl configure 0.6.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --docdir=/usr/share/doc/spl-9999 --bindir=/bin --sbindir=/sbin --with-config=all --with-linux=/usr/src/linux --with-linux-obj=/lib/modules/4.1.0/build --disable-debug --disable-debug-log

## --------- ##
## Platform. ##
## --------- ##

hostname = Iris
uname -m = x86_64
uname -r = 4.0.5
uname -s = Linux
uname -v = #5 SMP Thu Jun 25 18:59:02 EDT 2015

/usr/bin/uname -p = AMD FX(tm)-8350 Eight-Core Processor
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/portage/python3.4/ebuild-helpers/xattr
PATH: /usr/lib/portage/python3.4/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5
PATH: /usr/lib64/subversion/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2107: loading site script /usr/share/config.site
| #!/bin/sh
| # Copyright 2009-2014 Gentoo Foundation
| # Distributed under the terms of the GNU General Public License v2
| 
| TOPDIR=/usr/share/crossdev/include/site
| 
| config_site_arch() {
|   local host="${CHOST%%-*}"
| 
|   case ${host} in
|   arm*b*)  host=armeb ;;
|   arm*)    host=arm ;;
|   mips*l*) host=mipsel ;;
|   mips*)   host=mips ;;
|   esac
| 
|   echo "${host}"
| }
| 
| config_site_names() {
|   local site_arch="$(config_site_arch)"
|   local sites=""
|   local x
| 
|   case ${CHOST} in
|   *-linux-*)           sites="${sites} linux ${site_arch}-linux" ;;
|   *-darwin*)           sites="${sites} darwin ${site_arch}-darwin" ;;
|   esac
| 
|   case ${CHOST} in
|   *-linux-uclibc*)     sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;;
|   *-linux-gnu*)        sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;;
|   esac
| 
|   case ${CHOST} in
|   *-linux-uclibceabi*) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;;
|   *-linux-gnueabi*)    sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;;
|   esac
| 
|   for x in ${sites} ${CHOST}; do
|       [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}"
|   done
| }
| 
| # Only kick in for cross-compiles so we don't break native builds #427184
| if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ] ; then
|   sites="$(config_site_names)"
|   if [ -n "${sites}" ] ; then
|       for site in ${sites}; do
|           echo "${0##*/}: loading site script ${site}"
|           . "${site}"
|       done
|   fi
|   unset site sites
| fi
configure:2214: checking for gawk
configure:2230: found /usr/bin/gawk
configure:2241: result: gawk
configure:2252: checking metadata
configure:2376: result: git describe
configure:2414: checking build system type
configure:2428: result: x86_64-pc-linux-gnu
configure:2448: checking host system type
configure:2461: result: x86_64-pc-linux-gnu
configure:2481: checking target system type
configure:2494: result: x86_64-pc-linux-gnu
configure:2522: checking whether to enable maintainer-specific portions of Makefiles
configure:2531: result: no
configure:2555: checking whether make supports nested variables
configure:2572: result: yes
configure:2599: checking for a BSD-compatible install
configure:2667: result: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
configure:2678: checking whether build environment is sane
configure:2733: result: yes
configure:2884: checking for a thread-safe mkdir -p
configure:2923: result: /bin/mkdir -p
configure:2926: checking whether make sets $(MAKE)
configure:2948: result: yes
configure:3093: checking for x86_64-pc-linux-gnu-gcc
configure:3109: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3120: result: x86_64-pc-linux-gnu-gcc
configure:3389: checking for C compiler version
configure:3398: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 4.8.5 p1.0, pie-0.6.1) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3409: $? = 0
configure:3398: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.8.5/work/gcc-4.8.5/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/python --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.5 p1.0, pie-0.6.1' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --enable-libsanitizer
Thread model: posix
gcc version 4.8.5 (Gentoo 4.8.5 p1.0, pie-0.6.1) 
configure:3409: $? = 0
configure:3398: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3409: $? = 1
configure:3398: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3409: $? = 1
configure:3429: checking whether the C compiler works
configure:3451: x86_64-pc-linux-gnu-gcc -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c  >&5
configure:3455: $? = 0
configure:3503: result: yes
configure:3506: checking for C compiler default output file name
configure:3508: result: a.out
configure:3514: checking for suffix of executables
configure:3521: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c  >&5
configure:3525: $? = 0
configure:3547: result: 
configure:3569: checking whether we are cross compiling
configure:3577: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c  >&5
configure:3581: $? = 0
configure:3588: ./conftest
configure:3592: $? = 0
configure:3607: result: no
configure:3612: checking for suffix of object files
configure:3634: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:3638: $? = 0
configure:3659: result: o
configure:3663: checking whether we are using the GNU C compiler
configure:3682: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:3682: $? = 0
configure:3691: result: yes
configure:3700: checking whether x86_64-pc-linux-gnu-gcc accepts -g
configure:3720: x86_64-pc-linux-gnu-gcc -c -g  conftest.c >&5
configure:3720: $? = 0
configure:3761: result: yes
configure:3778: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89
configure:3841: x86_64-pc-linux-gnu-gcc  -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:3841: $? = 0
configure:3854: result: none needed
configure:3879: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together
configure:3901: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:3904: $? = 0
configure:3901: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:3904: $? = 0
configure:3916: result: yes
configure:3944: checking for style of include used by make
configure:3972: result: GNU
configure:3998: checking dependency style of x86_64-pc-linux-gnu-gcc
configure:4109: result: none
configure:4170: checking how to print strings
configure:4197: result: printf
configure:4218: checking for a sed that does not truncate output
configure:4282: result: /bin/sed
configure:4300: checking for grep that handles long lines and -e
configure:4358: result: /bin/grep
configure:4363: checking for egrep
configure:4425: result: /bin/grep -E
configure:4430: checking for fgrep
configure:4492: result: /bin/grep -F
configure:4527: checking for ld used by x86_64-pc-linux-gnu-gcc
configure:4594: result: /usr/x86_64-pc-linux-gnu/bin/ld
configure:4601: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld
configure:4616: result: yes
configure:4628: checking for BSD- or MS-compatible name lister (nm)
configure:4682: result: /usr/bin/x86_64-pc-linux-gnu-nm -B
configure:4812: checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface
configure:4819: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:4822: /usr/bin/x86_64-pc-linux-gnu-nm -B "conftest.o"
configure:4825: output
0000000000000000 B some_variable
configure:4832: result: BSD nm
configure:4835: checking whether ln -s works
configure:4839: result: yes
configure:4847: checking the maximum length of command line arguments
configure:4978: result: 1572864
configure:5026: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:5066: result: func_convert_file_noop
configure:5073: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:5093: result: func_convert_file_noop
configure:5100: checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files
configure:5107: result: -r
configure:5141: checking for x86_64-pc-linux-gnu-objdump
configure:5157: found /usr/bin/x86_64-pc-linux-gnu-objdump
configure:5168: result: x86_64-pc-linux-gnu-objdump
configure:5240: checking how to recognize dependent libraries
configure:5440: result: pass_all
configure:5485: checking for x86_64-pc-linux-gnu-dlltool
configure:5501: found /usr/bin/x86_64-pc-linux-gnu-dlltool
configure:5512: result: x86_64-pc-linux-gnu-dlltool
configure:5585: checking how to associate runtime and link libraries
configure:5612: result: printf %s\n
configure:5629: checking for x86_64-pc-linux-gnu-ar
configure:5645: found /usr/bin/x86_64-pc-linux-gnu-ar
configure:5656: result: x86_64-pc-linux-gnu-ar
configure:5737: checking for archiver @FILE support
configure:5754: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:5754: $? = 0
configure:5757: x86_64-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5
configure:5760: $? = 0
configure:5765: x86_64-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5
x86_64-pc-linux-gnu-ar: conftest.o: No such file or directory
configure:5768: $? = 1
configure:5780: result: @
configure:5798: checking for x86_64-pc-linux-gnu-strip
configure:5814: found /usr/bin/x86_64-pc-linux-gnu-strip
configure:5825: result: x86_64-pc-linux-gnu-strip
configure:5897: checking for x86_64-pc-linux-gnu-ranlib
configure:5913: found /usr/bin/x86_64-pc-linux-gnu-ranlib
configure:5924: result: x86_64-pc-linux-gnu-ranlib
configure:6066: checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object
configure:6219: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:6222: $? = 0
configure:6226: /usr/bin/x86_64-pc-linux-gnu-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6229: $? = 0
configure:6295: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c conftstm.o >&5
configure:6298: $? = 0
configure:6336: result: ok
configure:6383: checking for sysroot
configure:6413: result: no
configure:6420: checking for a working dd
configure:6458: result: /bin/dd
configure:6462: checking how to truncate binary pipes
configure:6477: result: /bin/dd bs=4096 count=1
configure:6613: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:6616: $? = 0
configure:6766: checking for x86_64-pc-linux-gnu-mt
configure:6796: result: no
configure:6806: checking for mt
configure:6836: result: no
configure:6856: checking if : is a manifest tool
configure:6862: : '-?'
configure:6870: result: no
configure:7547: checking how to run the C preprocessor
configure:7578: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:7578: $? = 0
configure:7592: x86_64-pc-linux-gnu-gcc -E  conftest.c
conftest.c:17:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7592: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7617: result: x86_64-pc-linux-gnu-gcc -E
configure:7637: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:7637: $? = 0
configure:7651: x86_64-pc-linux-gnu-gcc -E  conftest.c
conftest.c:17:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:7651: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7680: checking for ANSI C header files
configure:7700: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7700: $? = 0
configure:7773: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c  >&5
configure:7773: $? = 0
configure:7773: ./conftest
configure:7773: $? = 0
configure:7784: result: yes
configure:7797: checking for sys/types.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for sys/stat.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for stdlib.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for string.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for memory.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for strings.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for inttypes.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for stdint.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7797: checking for unistd.h
configure:7797: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7797: $? = 0
configure:7797: result: yes
configure:7811: checking for dlfcn.h
configure:7811: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:7811: $? = 0
configure:7811: result: yes
configure:8067: checking for objdir
configure:8082: result: .libs
configure:8346: checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions
configure:8364: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8368: $? = 0
configure:8381: result: no
configure:8739: checking for x86_64-pc-linux-gnu-gcc option to produce PIC
configure:8746: result: -fPIC -DPIC
configure:8754: checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works
configure:8772: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  -fPIC -DPIC -DPIC conftest.c >&5
configure:8776: $? = 0
configure:8789: result: yes
configure:8818: checking if x86_64-pc-linux-gnu-gcc static flag -static works
configure:8846: result: yes
configure:8861: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o
configure:8882: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  -o out/conftest2.o conftest.c >&5
configure:8886: $? = 0
configure:8908: result: yes
configure:8916: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o
configure:8963: result: yes
configure:8996: checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries
configure:10255: result: yes
configure:10292: checking whether -lc should be explicitly linked in
configure:10300: x86_64-pc-linux-gnu-gcc -c -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4  conftest.c >&5
configure:10303: $? = 0
configure:10318: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:10321: $? = 0
configure:10335: result: no
configure:10495: checking dynamic linker characteristics
configure:11089: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11089: $? = 0
configure:11326: result: GNU/Linux ld.so
configure:11448: checking how to hardcode library paths into programs
configure:11473: result: immediate
configure:12021: checking whether stripping libraries is possible
configure:12026: result: yes
configure:12061: checking if libtool supports shared libraries
configure:12063: result: yes
configure:12066: checking whether to build shared libraries
configure:12091: result: yes
configure:12094: checking whether to build static libraries
configure:12098: result: yes
configure:12137: checking spl author
configure:12139: result: OpenZFS on Linux
configure:12142: checking spl license
configure:12144: result: GPL
configure:12149: checking linux distribution
configure:12174: result: gentoo
configure:12178: checking default package type
configure:12194: result: tgz
configure:12202: checking whether rpm is available
configure:12214: result: no
configure:12219: checking whether rpmbuild is available
configure:12231: result: no
configure:12254: checking whether spec files are available
configure:12256: result: yes (rpm/generic/*.spec.in)
configure:12281: checking whether dpkg is available
configure:12293: result: no
configure:12298: checking whether dpkg-buildpackage is available
configure:12311: result: no
configure:12327: checking whether alien is available
configure:12339: result: no
configure:12365: checking spl config
configure:12367: result: all
configure:14958: checking kernel source directory
configure:14984: result: /usr/src/linux
configure:14993: checking kernel build directory
configure:15008: result: /lib/modules/4.1.0/build
configure:15011: checking kernel source version
configure:15047: result: 4.1.0
configure:15060: checking kernel file name for module symbols
configure:15079: result: Module.symvers
configure:15094: checking whether debugging is enabled
configure:15120: result: no
configure:15147: checking whether basic kmem accounting is enabled
configure:15149: result: yes
configure:15176: checking whether detailed kmem tracking is enabled
configure:15178: result: no
configure:15181: checking whether modules can be built
configure:15204: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration   M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: warning: SSE instruction set disabled, using 387 arithmetics [enabled by default]
 /* confdefs.h */
 ^
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.mod.c:1:0: warning: SSE instruction set disabled, using 387 arithmetics [enabled by default]
 #include <linux/module.h>
 ^
configure:15207: $? = 0
configure:15209: test -s build/conftest.o
configure:15212: $? = 0
configure:15215: result: yes
configure:15262: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4   conftest.c  >&5
configure:15262: $? = 0
configure:15262: ./conftest
configure:15262: $? = 0
configure:15308: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration   M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: warning: SSE instruction set disabled, using 387 arithmetics [enabled by default]
 /* confdefs.h */
 ^
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.mod.c:1:0: warning: SSE instruction set disabled, using 387 arithmetics [enabled by default]
 #include <linux/module.h>
 ^
configure:15311: $? = 0
configure:15313: test -s build/conftest.o
configure:15316: $? = 0
configure:15370: checking whether atomic types use spinlocks
configure:15372: result: no
configure:15375: checking whether kernel defines atomic64_t
configure:15377: result: yes
configure:15383: checking whether old 2-argument shrinker exists
configure:15416: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror  M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
 /* confdefs.h */
 ^
cc1: all warnings being treated as errors
make[1]: *** [/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.o] Error 1
make: *** [_module_/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build] Error 2
configure:15419: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_KMEM 1
| #define SPL_IS_GPL_COMPATIBLE 1
| #define HAVE_ATOMIC64_T 1
| 
| 
|       #include <linux/mm.h>
| 
|       int shrinker_cb(int nr_to_scan, gfp_t gfp_mask);
| 
| int
| main (void)
| {
| 
|       struct shrinker cache_shrinker = {
|           .shrink = shrinker_cb,
|           .seeks = DEFAULT_SEEKS,
|       };
|       register_shrinker(&cache_shrinker);
| 
|   ;
|   return 0;
| }
| 
configure:15437: result: no
configure:15439: checking whether old 3-argument shrinker exists
configure:15473: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror  M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
 /* confdefs.h */
 ^
cc1: all warnings being treated as errors
make[1]: *** [/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.o] Error 1
make: *** [_module_/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build] Error 2
configure:15476: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_KMEM 1
| #define SPL_IS_GPL_COMPATIBLE 1
| #define HAVE_ATOMIC64_T 1
| 
| 
|           #include <linux/mm.h>
| 
|           int shrinker_cb(struct shrinker *, int nr_to_scan,
|                   gfp_t gfp_mask);
| 
| int
| main (void)
| {
| 
|           struct shrinker cache_shrinker = {
|               .shrink = shrinker_cb,
|               .seeks = DEFAULT_SEEKS,
|           };
|           register_shrinker(&cache_shrinker);
| 
|   ;
|   return 0;
| }
| 
configure:15494: result: no
configure:15496: checking whether new 2-argument shrinker exists
configure:15530: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror  M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
 /* confdefs.h */
 ^
cc1: all warnings being treated as errors
make[1]: *** [/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.o] Error 1
make: *** [_module_/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build] Error 2
configure:15533: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_KMEM 1
| #define SPL_IS_GPL_COMPATIBLE 1
| #define HAVE_ATOMIC64_T 1
| 
| 
|               #include <linux/mm.h>
| 
|               int shrinker_cb(struct shrinker *,
|                       struct shrink_control *sc);
| 
| int
| main (void)
| {
| 
|               struct shrinker cache_shrinker = {
|                   .shrink = shrinker_cb,
|                   .seeks = DEFAULT_SEEKS,
|               };
|               register_shrinker(&cache_shrinker);
| 
|   ;
|   return 0;
| }
| 
configure:15551: result: no
configure:15553: checking whether ->count_objects callback exists
configure:15589: cp conftest.c build && make modules -C /lib/modules/4.1.0/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -Werror  M=/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build 
/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
 /* confdefs.h */
 ^
cc1: all warnings being treated as errors
make[1]: *** [/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build/conftest.o] Error 1
make: *** [_module_/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/build] Error 2
configure:15592: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "spl"
| #define PACKAGE_TARNAME "spl"
| #define PACKAGE_VERSION "0.6.4"
| #define PACKAGE_STRING "spl 0.6.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define SPL_META_NAME "spl"
| #define SPL_META_VERSION "0.6.4"
| #define SPL_META_RELEASE "11_g3c82160"
| #define SPL_META_LICENSE "GPL"
| #define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
| #define SPL_META_AUTHOR "OpenZFS on Linux"
| #define PACKAGE "spl"
| #define VERSION "0.6.4"
| #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 HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define DEBUG_KMEM 1
| #define SPL_IS_GPL_COMPATIBLE 1
| #define HAVE_ATOMIC64_T 1
| 
| 
|                   #include <linux/mm.h>
| 
|                   unsigned long shrinker_cb(
|                       struct shrinker *,
|                       struct shrink_control *sc);
| 
| int
| main (void)
| {
| 
|                   struct shrinker cache_shrinker = {
|                       .count_objects = shrinker_cb,
|                       .scan_objects = shrinker_cb,
|                       .seeks = DEFAULT_SEEKS,
|                   };
|                   register_shrinker(&cache_shrinker);
| 
|   ;
|   return 0;
| }
| 
configure:15610: error: error

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=x86_64-pc-linux-gnu-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E'
ac_cv_prog_DLLTOOL=x86_64-pc-linux-gnu-dlltool
ac_cv_prog_OBJDUMP=x86_64-pc-linux-gnu-objdump
ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib
ac_cv_prog_STRIP=x86_64-pc-linux-gnu-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
am_cv_CC_dependencies_compiler_type=none
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/x86_64-pc-linux-gnu/bin/ld
lt_cv_path_NM='/usr/bin/x86_64-pc-linux-gnu-nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/missing aclocal-1.15'
ALIEN='alien'
ALIEN_VERSION=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='x86_64-pc-linux-gnu-ar'
AUTOCONF='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/missing autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/missing autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/missing automake-1.15'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE='depmode=none'
CFLAGS='-O2 -march=native -mtune=native -pipe -mfpmath=sse -mfma4'
CONFIG_KERNEL_FALSE=''
CONFIG_KERNEL_TRUE=''
CONFIG_USER_FALSE=''
CONFIG_USER_TRUE=''
CPP='x86_64-pc-linux-gnu-gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_CFLAGS='-DNDEBUG'
DEBUG_KMEM='_with_debug_kmem'
DEBUG_KMEM_TRACKING='_without_debug_kmem_tracking'
DEBUG_SPL='_without_debug'
DEFAULT_PACKAGE='tgz'
DEFS=''
DEPDIR='.deps'
DLLTOOL='x86_64-pc-linux-gnu-dlltool'
DPKG='dpkg'
DPKGBUILD='dpkg-buildpackage'
DPKGBUILD_VERSION=''
DPKG_VERSION=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
HAVE_ALIEN='no'
HAVE_DPKG='no'
HAVE_DPKGBUILD='no'
HAVE_RPM='no'
HAVE_RPMBUILD='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
KERNELCPPFLAGS=' -Wstrict-prototypes -DNDEBUG -DDEBUG_KMEM'
KERNELMAKE_PARAMS=' O=/lib/modules/4.1.0/build'
LD='/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LINUX='/usr/src/linux'
LINUX_OBJ='/lib/modules/4.1.0/build'
LINUX_SYMBOLS='Module.symvers'
LINUX_VERSION='4.1.0'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/x86_64-pc-linux-gnu-nm -B'
NMEDIT=''
OBJDUMP='x86_64-pc-linux-gnu-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='spl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='spl'
PACKAGE_STRING='spl 0.6.4'
PACKAGE_TARNAME='spl'
PACKAGE_URL=''
PACKAGE_VERSION='0.6.4'
PATH_SEPARATOR=':'
RANLIB='x86_64-pc-linux-gnu-ranlib'
RELEASE='11_g3c82160'
RPM='rpm'
RPMBUILD='rpmbuild'
RPMBUILD_VERSION=''
RPM_DEFINE_COMMON='--define "$(DEBUG_SPL) 1" --define "$(DEBUG_KMEM) 1" --define "$(DEBUG_KMEM_TRACKING) 1"'
RPM_DEFINE_DKMS=''
RPM_DEFINE_KMOD='--define "kernels $(LINUX_VERSION)"'
RPM_DEFINE_UTIL=''
RPM_SPEC_DIR='rpm/generic'
RPM_VERSION=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SPL_CONFIG='all'
SPL_META_ALIAS='spl-0.6.4-11_g3c82160'
SPL_META_AUTHOR='OpenZFS on Linux'
SPL_META_DATA=''
SPL_META_LICENSE='GPL'
SPL_META_LT_AGE=''
SPL_META_LT_CURRENT=''
SPL_META_LT_REVISION=''
SPL_META_NAME='spl'
SPL_META_RELEASE='11_g3c82160'
SPL_META_VERSION='0.6.4'
SRPM_DEFINE_COMMON='--define "build_src_rpm 1"'
SRPM_DEFINE_DKMS=''
SRPM_DEFINE_KMOD=''
SRPM_DEFINE_UTIL=''
STRIP='x86_64-pc-linux-gnu-strip'
VENDOR='gentoo'
VERSION='0.6.4'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/spl-9999'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "spl"
#define PACKAGE_TARNAME "spl"
#define PACKAGE_VERSION "0.6.4"
#define PACKAGE_STRING "spl 0.6.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define SPL_META_NAME "spl"
#define SPL_META_VERSION "0.6.4"
#define SPL_META_RELEASE "11_g3c82160"
#define SPL_META_LICENSE "GPL"
#define SPL_META_ALIAS "spl-0.6.4-11_g3c82160"
#define SPL_META_AUTHOR "OpenZFS on Linux"
#define PACKAGE "spl"
#define VERSION "0.6.4"
#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 HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define DEBUG_KMEM 1
#define SPL_IS_GPL_COMPATIBLE 1
#define HAVE_ATOMIC64_T 1

configure: exit 1
djdunn commented 9 years ago

some of my buildinfo

Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.5, glibc-2.20-r2, 4.0.5 x86_64)

System uname: Linux-4.0.5-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 16304020 total, 9129288 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Mon, 29 Jun 2015 00:45:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25 p1.2) 2.25 app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo dev-util/cmake: 3.2.3::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25-r1::gentoo sys-devel/gcc: 4.7.4::gentoo, 4.8.5::gentoo, 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo

drescherjm commented 9 years ago

I have not had this problem on gentoo. I have a few systems using the 9999 builds and gentoo-sources-4.0.6 or gentoo-sources-4.1.0. Here is one:

vm_gentoo ~ # uname -a Linux vm_gentoo 4.1.0-gentoo-vm_gentoo-20150627 #4 SMP Sat Jun 27 00:07:00 EDT 2015 x86_64 Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz GenuineIntel GNU/Linux vm_gentoo ~ # cat /sys/module/{zfs,spl}/version 0.6.4-126_ga254ecf 0.6.4-11_g3c82160 vm_gentoo ~ # equery l zfs spl zfs-kmod

behlendorf commented 9 years ago

@djdunn it appears your hitting a surprising warning in the configure check which is causing the failure. Is there anything particularly special / exotic about your hardware which might have triggered this?

build/conftest.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]

In the meanwhile I suspect you'll be able to build with the following small patch to the SPL. You'll need to be sure to run sh autogen.sh again before configure.

diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 9999d48..148b60d 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -740,8 +740,6 @@ AC_DEFUN([SPL_AC_ATOMIC_SPINLOCK], [
 ])

 AC_DEFUN([SPL_AC_SHRINKER_CALLBACK],[
-       tmp_flags="$EXTRA_KCFLAGS"
-       EXTRA_KCFLAGS="-Werror"
        dnl #
        dnl # 2.6.23 to 2.6.34 API change
        dnl # ->shrink(int nr_to_scan, gfp_t gfp_mask)
@@ -840,7 +838,6 @@ AC_DEFUN([SPL_AC_SHRINKER_CALLBACK],[
                        ])
                ])
        ])
-       EXTRA_KCFLAGS="$tmp_flags"
 ])

 dnl #
djdunn commented 9 years ago

Perhaps -mfpmath=sse flag? I compile my kernel with -march=native maybe?

djdunn commented 9 years ago

Most definitly having the -mfpmath=sse flag in the kernel makefile did it

behlendorf commented 9 years ago

@djdunn was that something you added to the kernel makefile?

djdunn commented 9 years ago

@behlendorf Yes it was, most of the kernel source disables sse math even if you set it explicitly, and spits out that sse disabled error, using 387 arithmetic error, I really wouldn't consider it an error tho more of a warning

behlendorf commented 9 years ago

@djdunn ahh I see. Normally it is a warning, but the configure checks promote all warnings to errors since we want to be strict about the interface we're using. If we could suppress the warning with gcc that would resolve things.