This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by SoftHSM configure 2.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./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 --disable-silent-rules --docdir=/usr/share/doc/softhsm-2.2.0-r2 --htmldir=/usr/share/doc/softhsm-2.2.0-r2/html --libdir=/usr/lib64 --disable-static --with-crypto-backend=openssl --disable-p11-kit --enable-ecc --disable-gost --with-migrate ## --------- ## ## Platform. ## ## --------- ## hostname = mr-fox uname -m = x86_64 uname -r = 4.8.17-hardened-r2 uname -s = Linux uname -v = #1 SMP Mon Jan 16 23:16:35 CET 2017 /usr/bin/uname -p = Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz /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/5.4.0 PATH: /opt/nvidia-cg-toolkit/bin PATH: /opt/aws-as-tools/bin PATH: /opt/aws-rds-tools/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2520: checking for a BSD-compatible install configure:2588: result: /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c configure:2599: checking whether build environment is sane configure:2654: result: yes configure:2805: checking for a thread-safe mkdir -p configure:2844: result: /bin/mkdir -p configure:2851: checking for gawk configure:2867: found /usr/bin/gawk configure:2878: result: gawk configure:2889: checking whether make sets $(MAKE) configure:2911: result: yes configure:2940: checking whether make supports nested variables configure:2957: result: yes configure:3119: checking for x86_64-pc-linux-gnu-gcc configure:3135: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:3146: result: x86_64-pc-linux-gnu-gcc configure:3415: checking for C compiler version configure:3424: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) 5.4.0 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:3435: $? = 0 configure:3424: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,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 5.4.0-r2 p1.2, pie-0.6.5' --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 --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) configure:3435: $? = 0 configure:3424: 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:3435: $? = 1 configure:3424: 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:3435: $? = 1 configure:3455: checking whether the C compiler works configure:3477: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3481: $? = 0 configure:3529: result: yes configure:3532: checking for C compiler default output file name configure:3534: result: a.out configure:3540: checking for suffix of executables configure:3547: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3551: $? = 0 configure:3573: result: configure:3595: checking whether we are cross compiling configure:3603: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3607: $? = 0 configure:3614: ./conftest configure:3618: $? = 0 configure:3633: result: no configure:3638: checking for suffix of object files configure:3660: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3664: $? = 0 configure:3685: result: o configure:3689: checking whether we are using the GNU C compiler configure:3708: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3708: $? = 0 configure:3717: result: yes configure:3726: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3746: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3746: $? = 0 configure:3787: result: yes configure:3804: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3867: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3867: $? = 0 configure:3880: result: none needed configure:3905: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together configure:3927: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3930: $? = 0 configure:3927: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:3930: $? = 0 configure:3942: result: yes configure:3970: checking for style of include used by make configure:3998: result: GNU configure:4024: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4135: result: none configure:4164: checking for x86_64-pc-linux-gnu-g++ configure:4180: found /usr/bin/x86_64-pc-linux-gnu-g++ configure:4191: result: x86_64-pc-linux-gnu-g++ configure:4262: checking for C++ compiler version configure:4271: x86_64-pc-linux-gnu-g++ --version >&5 x86_64-pc-linux-gnu-g++ (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) 5.4.0 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:4282: $? = 0 configure:4271: x86_64-pc-linux-gnu-g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,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 5.4.0-r2 p1.2, pie-0.6.5' --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 --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) configure:4282: $? = 0 configure:4271: x86_64-pc-linux-gnu-g++ -V >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:4282: $? = 1 configure:4271: x86_64-pc-linux-gnu-g++ -qversion >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:4282: $? = 1 configure:4286: checking whether we are using the GNU C++ compiler configure:4305: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native conftest.cpp >&5 configure:4305: $? = 0 configure:4314: result: yes configure:4323: checking whether x86_64-pc-linux-gnu-g++ accepts -g configure:4343: x86_64-pc-linux-gnu-g++ -c -g conftest.cpp >&5 configure:4343: $? = 0 configure:4384: result: yes configure:4409: checking dependency style of x86_64-pc-linux-gnu-g++ configure:4520: result: none configure:4632: checking whether x86_64-pc-linux-gnu-g++ supports C++11 features by default configure:4670: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra conftest.cpp >&5 conftest.cpp:17:7: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++0x-compat] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:32:5: warning: identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat] decltype(a) b; ^ conftest.cpp:17:21: error: expected identifier before 'sizeof' static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:17:21: error: expected ',' or '...' before 'sizeof' conftest.cpp:17:63: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:24:20: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 virtual void f() override {} ^ conftest.cpp:27:10: error: 'unique_ptr' in namespace 'std' does not name a template type std::unique_ptr ptr_to_base; ^ conftest.cpp:29:29: error: '>>' should be '> >' within a nested template argument list typedef check> right_angle_brackets; ^ conftest.cpp:32:13: error: expected constructor, destructor, or type conversion before '(' token decltype(a) b; ^ conftest.cpp:36:15: error: expected unqualified-id before '&&' token check_type&& cr = static_cast(c); ^ conftest.cpp:38:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto d = a; ^ conftest.cpp:38:10: error: 'd' does not name a type auto d = a; ^ conftest.cpp:39:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto l = [](){}; ^ conftest.cpp:39:10: error: 'l' does not name a type auto l = [](){}; ^ configure:4670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | /* end confdefs.h. */ | | #include | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | struct Base { | virtual void f() {} | }; | struct Child : public Base { | virtual void f() override {} | }; | | std::unique_ptr ptr_to_base; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | auto d = a; | auto l = [](){}; | configure:4677: result: no configure:4688: checking whether x86_64-pc-linux-gnu-g++ supports C++11 features with -std=c++11 configure:4728: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra -std=c++11 conftest.cpp >&5 configure:4728: $? = 0 configure:4737: result: yes configure:4774: checking for dlopen configure:4774: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/temp/ccKlZSac.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:4774: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case declares dlopen. | For example, HP-UX 11i declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef dlopen | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char dlopen (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_dlopen || defined __stub___dlopen | choke me | #endif | | int | main () | { | return dlopen (); | ; | return 0; | } configure:4774: result: no configure:4781: checking for dlopen in -ldl configure:4806: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:4806: $? = 0 configure:4815: result: yes configure:4850: checking how to run the C preprocessor configure:4881: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4881: $? = 0 configure:4895: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4895: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include configure:4920: result: x86_64-pc-linux-gnu-gcc -E configure:4940: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4940: $? = 0 configure:4954: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4954: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | /* end confdefs.h. */ | #include configure:4983: checking for grep that handles long lines and -e configure:5041: result: /bin/grep configure:5046: checking for egrep configure:5108: result: /bin/grep -E configure:5113: checking for ANSI C header files configure:5133: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5133: $? = 0 configure:5206: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:5206: $? = 0 configure:5206: ./conftest configure:5206: $? = 0 configure:5217: result: yes configure:5230: checking for sys/types.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for sys/stat.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for stdlib.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for string.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for memory.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for strings.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for inttypes.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for stdint.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5230: checking for unistd.h configure:5230: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5230: $? = 0 configure:5230: result: yes configure:5244: checking pthread.h usability configure:5244: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:5244: $? = 0 configure:5244: result: yes configure:5244: checking pthread.h presence configure:5244: x86_64-pc-linux-gnu-gcc -E conftest.c configure:5244: $? = 0 configure:5244: result: yes configure:5244: checking for pthread.h configure:5244: result: yes configure:5268: checking for ECC support configure:5271: result: yes configure:5299: checking for GOST support configure:5310: result: no configure:5332: checking for FIPS 140-2 mode configure:5343: result: no configure:5367: checking for crypto backend configure:5371: result: OpenSSL configure:5548: checking what are the OpenSSL includes configure:5551: result: -I/usr/local/include configure:5554: checking what are the OpenSSL libs configure:5557: result: -L/usr/local/lib -lcrypto configure:5568: checking openssl/ssl.h usability configure:5568: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include conftest.c >&5 configure:5568: $? = 0 configure:5568: result: yes configure:5568: checking openssl/ssl.h presence configure:5568: x86_64-pc-linux-gnu-gcc -E -I/usr/local/include conftest.c configure:5568: $? = 0 configure:5568: result: yes configure:5568: checking for openssl/ssl.h configure:5568: result: yes configure:5580: checking for BN_new in -lcrypto configure:5605: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -L/usr/local/lib -lcrypto -ldl >&5 configure:5605: $? = 0 configure:5614: result: yes configure:5628: checking for OpenSSL version configure:5663: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -L/usr/local/lib -lcrypto -ldl >&5 configure:5663: $? = 0 configure:5663: ./conftest configure:5663: $? = 0 configure:5665: result: >= 1.0.0 configure:5699: checking for OpenSSL ECC support configure:5740: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -L/usr/local/lib -lcrypto -ldl >&5 configure:5740: $? = 0 configure:5740: ./conftest configure:5740: $? = 0 configure:5742: result: Found P256, P384, and P521 configure:5955: checking OpenSSL EVP interface for AES key wrapping configure:5984: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -L/usr/local/lib -lcrypto -ldl >&5 conftest.c: In function 'main': conftest.c:32:5: warning: implicit declaration of function 'EVP_aes_128_wrap' [-Wimplicit-function-declaration] EVP_aes_128_wrap(); ^ /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/temp/cccuw9cf.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `EVP_aes_128_wrap' collect2: error: ld returned 1 exit status configure:5984: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | #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_PTHREAD_H 1 | #define WITH_ECC /**/ | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_LIBCRYPTO 1 | /* end confdefs.h. */ | | | #include | int main() | { | EVP_aes_128_wrap(); | return 1; | } | | configure:5994: result: RFC 3394 is not supported configure:6001: checking OpenSSL EVP interface for AES key wrapping with pad configure:6016: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -L/usr/local/lib -lcrypto -ldl >&5 conftest.c: In function 'main': conftest.c:32:5: warning: implicit declaration of function 'EVP_aes_128_wrap_pad' [-Wimplicit-function-declaration] EVP_aes_128_wrap_pad(); ^ /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/temp/ccZYn80o.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `EVP_aes_128_wrap_pad' collect2: error: ld returned 1 exit status configure:6016: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | #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_PTHREAD_H 1 | #define WITH_ECC /**/ | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_LIBCRYPTO 1 | /* end confdefs.h. */ | | | #include | int main() | { | EVP_aes_128_wrap_pad(); | return 1; | } | | configure:6026: result: RFC 5649 is not supported configure:6676: checking for non-paged memory for secure storage configure:6680: result: enabled configure:6689: checking sys/mman.h usability configure:6689: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:6689: $? = 0 configure:6689: result: yes configure:6689: checking sys/mman.h presence configure:6689: x86_64-pc-linux-gnu-gcc -E conftest.c configure:6689: $? = 0 configure:6689: result: yes configure:6689: checking for sys/mman.h configure:6689: result: yes configure:6700: checking the maximum size that may be locked into memory configure:6703: result: 64 configure:6732: WARNING: ====================================================================== SoftHSM has been configured to store sensitive data in non-page RAM (i.e. memory that is not swapped out to disk). This is the default and most secure configuration. Your system, however, is not configured to support this model in non-privileged accounts (i.e. user accounts). You can check the setting on your system by running the following command in a shell: ulimit -l If this does not return "unlimited" and you plan to run SoftHSM from non-privileged accounts then you should edit the configuration file /etc/security/limits.conf (on most systems). You will need to add the following lines to this file: # * - memlock unlimited Alternatively, you can elect to disable this feature of SoftHSM by re-running configure with the option "--disable-non-paged-memory". Please be advised that this may seriously degrade the security of SoftHSM. ====================================================================== configure:6777: checking if building with softhsm2-migrate configure:6780: result: yes configure:6786: checking for sched_yield in -lrt configure:6811: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -Wl,-O1 -Wl,--as-needed conftest.c -lrt -ldl >&5 configure:6811: $? = 0 configure:6820: result: yes configure:6869: checking sched.h usability configure:6869: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra conftest.c >&5 configure:6869: $? = 0 configure:6869: result: yes configure:6869: checking sched.h presence configure:6869: x86_64-pc-linux-gnu-gcc -E conftest.c configure:6869: $? = 0 configure:6869: result: yes configure:6869: checking for sched.h configure:6869: result: yes configure:6899: checking if building database object store backend configure:6910: result: no configure:6923: checking if SQLite3 required configure:6926: result: yes configure:6989: checking for sqlite3 configure:7007: found /usr/bin/sqlite3 configure:7019: result: /usr/bin/sqlite3 configure:7040: checking what are the SQLite3 includes configure:7043: result: -I/usr/local/include configure:7046: checking what are the SQLite3 libs configure:7049: result: -L/usr/local/lib -lsqlite3 configure:7060: checking sqlite3.h usability configure:7060: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include conftest.c >&5 configure:7060: $? = 0 configure:7060: result: yes configure:7060: checking sqlite3.h presence configure:7060: x86_64-pc-linux-gnu-gcc -E -I/usr/local/include conftest.c configure:7060: $? = 0 configure:7060: result: yes configure:7060: checking for sqlite3.h configure:7060: result: yes configure:7072: checking for sqlite3_prepare_v2 in -lsqlite3 configure:7097: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -I/usr/local/include -Wl,-O1 -Wl,--as-needed conftest.c -lsqlite3 -ldl -L/usr/local/lib -lsqlite3 >&5 configure:7097: $? = 0 configure:7106: result: yes configure:7171: checking for p11-kit integration configure:7230: result: no configure:7258: checking for x86_64-pc-linux-gnu-pkg-config configure:7276: found /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:7288: result: /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:7356: checking pkg-config is at least version 0.9.0 configure:7359: result: yes configure:7369: checking for CPPUNIT configure:7376: $PKG_CONFIG --exists --print-errors "cppunit" configure:7379: $? = 0 configure:7393: $PKG_CONFIG --exists --print-errors "cppunit" configure:7396: $? = 0 configure:7434: result: yes configure:7455: checking for getpwuid_r configure:7455: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:7455: $? = 0 configure:7455: result: yes configure:7547: checking build system type configure:7561: result: x86_64-pc-linux-gnu configure:7581: checking host system type configure:7594: result: x86_64-pc-linux-gnu configure:7635: checking how to print strings configure:7662: result: printf configure:7683: checking for a sed that does not truncate output configure:7747: result: /bin/sed configure:7765: checking for fgrep configure:7827: result: /bin/grep -F configure:7862: checking for ld used by x86_64-pc-linux-gnu-gcc configure:7929: result: /usr/x86_64-pc-linux-gnu/bin/ld configure:7936: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld configure:7951: result: yes configure:7963: checking for BSD- or MS-compatible name lister (nm) configure:8017: result: /usr/bin/x86_64-pc-linux-gnu-nm -B configure:8147: checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface configure:8154: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:8157: /usr/bin/x86_64-pc-linux-gnu-nm -B "conftest.o" configure:8160: output 0000000000000000 B some_variable configure:8167: result: BSD nm configure:8170: checking whether ln -s works configure:8174: result: yes configure:8182: checking the maximum length of command line arguments configure:8313: result: 1572864 configure:8361: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:8401: result: func_convert_file_noop configure:8408: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:8428: result: func_convert_file_noop configure:8435: checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files configure:8442: result: -r configure:8476: checking for x86_64-pc-linux-gnu-objdump configure:8492: found /usr/bin/x86_64-pc-linux-gnu-objdump configure:8503: result: x86_64-pc-linux-gnu-objdump configure:8575: checking how to recognize dependent libraries configure:8775: result: pass_all configure:8820: checking for x86_64-pc-linux-gnu-dlltool configure:8850: result: no configure:8860: checking for dlltool configure:8890: result: no configure:8920: checking how to associate runtime and link libraries configure:8947: result: printf %s\n configure:8963: checking for x86_64-pc-linux-gnu-ar configure:8979: found /usr/bin/x86_64-pc-linux-gnu-ar configure:8990: result: x86_64-pc-linux-gnu-ar configure:9071: checking for archiver @FILE support configure:9088: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:9088: $? = 0 configure:9091: x86_64-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5 configure:9094: $? = 0 configure:9099: 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:9102: $? = 1 configure:9114: result: @ configure:9132: checking for x86_64-pc-linux-gnu-strip configure:9148: found /usr/bin/x86_64-pc-linux-gnu-strip configure:9159: result: x86_64-pc-linux-gnu-strip configure:9231: checking for x86_64-pc-linux-gnu-ranlib configure:9247: found /usr/bin/x86_64-pc-linux-gnu-ranlib configure:9258: result: x86_64-pc-linux-gnu-ranlib configure:9400: checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object configure:9553: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:9556: $? = 0 configure:9560: /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:9563: $? = 0 configure:9629: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -Wl,-O1 -Wl,--as-needed conftest.c conftstm.o >&5 conftest.c:29:20: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] {"nm_test_func", (void *) &nm_test_func}, ^ configure:9632: $? = 0 configure:9670: result: ok configure:9717: checking for sysroot configure:9747: result: no configure:9754: checking for a working dd configure:9792: result: /bin/dd configure:9796: checking how to truncate binary pipes configure:9811: result: /bin/dd bs=4096 count=1 configure:9947: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:9950: $? = 0 configure:10100: checking for x86_64-pc-linux-gnu-mt configure:10130: result: no configure:10140: checking for mt configure:10156: found /usr/sbin/mt configure:10167: result: mt configure:10190: checking if mt is a manifest tool configure:10196: mt '-?' usage: mt [-v] [--version] [-h] [ -f device ] command [ count ] configure:10204: result: no configure:10878: checking for dlfcn.h configure:10878: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:10878: $? = 0 configure:10878: result: yes configure:11144: checking for objdir configure:11159: result: .libs configure:11423: checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:11441: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:11445: $? = 0 configure:11458: result: no configure:11816: checking for x86_64-pc-linux-gnu-gcc option to produce PIC configure:11823: result: -fPIC -DPIC configure:11831: checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works configure:11849: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -fPIC -DPIC -DPIC conftest.c >&5 configure:11853: $? = 0 configure:11866: result: yes configure:11895: checking if x86_64-pc-linux-gnu-gcc static flag -static works configure:11923: result: yes configure:11938: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:11959: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -o out/conftest2.o conftest.c >&5 configure:11963: $? = 0 configure:11985: result: yes configure:11993: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:12040: result: yes configure:12073: 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:13332: result: yes configure:13369: checking whether -lc should be explicitly linked in configure:13377: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden conftest.c >&5 configure:13380: $? = 0 configure:13395: 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:13398: $? = 0 configure:13412: result: no configure:13572: checking dynamic linker characteristics configure:14166: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden -Wl,-O1 -Wl,--as-needed -Wl,-rpath -Wl,/foo conftest.c -ldl >&5 configure:14166: $? = 0 configure:14403: result: GNU/Linux ld.so configure:14525: checking how to hardcode library paths into programs configure:14550: result: immediate configure:15098: checking whether stripping libraries is possible configure:15103: result: yes configure:15138: checking if libtool supports shared libraries configure:15140: result: yes configure:15143: checking whether to build shared libraries configure:15168: result: yes configure:15171: checking whether to build static libraries configure:15175: result: no configure:15198: checking how to run the C++ preprocessor configure:15225: x86_64-pc-linux-gnu-g++ -E conftest.cpp configure:15225: $? = 0 configure:15239: x86_64-pc-linux-gnu-g++ -E conftest.cpp conftest.cpp:45:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:15239: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | #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_PTHREAD_H 1 | #define WITH_ECC /**/ | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_LIBCRYPTO 1 | #define WITH_OPENSSL /**/ | #define SENSITIVE_NON_PAGE /**/ | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SQLITE3_H 1 | #define HAVE_LIBSQLITE3 1 | #define CRYPTOKI_VISIBILITY 1 | #define HAVE_GETPWUID_R 1 | #define VERSION_MAJOR 2 | #define VERSION_MINOR 2 | #define MAX_PIN_LEN 255 | #define MIN_PIN_LEN 4 | #define DEFAULT_SOFTHSM2_CONF "/etc/softhsm2.conf" | #define DEFAULT_TOKENDIR "/var/lib/lib/softhsm/tokens/" | #define DEFAULT_OBJECTSTORE_BACKEND "file" | #define DEFAULT_LOG_LEVEL "INFO" | #define DEFAULT_PKCS11_LIB "/usr/lib64/softhsm/libsofthsm2.so" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:15264: result: x86_64-pc-linux-gnu-g++ -E configure:15284: x86_64-pc-linux-gnu-g++ -E conftest.cpp configure:15284: $? = 0 configure:15298: x86_64-pc-linux-gnu-g++ -E conftest.cpp conftest.cpp:45:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:15298: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "SoftHSM" | #define PACKAGE_TARNAME "softhsm" | #define PACKAGE_VERSION "2.2.0" | #define PACKAGE_STRING "SoftHSM 2.2.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "softhsm" | #define VERSION "2.2.0" | #define HAVE_CXX11 1 | #define HAVE_DLOPEN 1 | #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_PTHREAD_H 1 | #define WITH_ECC /**/ | #define HAVE_OPENSSL_SSL_H 1 | #define HAVE_LIBCRYPTO 1 | #define WITH_OPENSSL /**/ | #define SENSITIVE_NON_PAGE /**/ | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SQLITE3_H 1 | #define HAVE_LIBSQLITE3 1 | #define CRYPTOKI_VISIBILITY 1 | #define HAVE_GETPWUID_R 1 | #define VERSION_MAJOR 2 | #define VERSION_MINOR 2 | #define MAX_PIN_LEN 255 | #define MIN_PIN_LEN 4 | #define DEFAULT_SOFTHSM2_CONF "/etc/softhsm2.conf" | #define DEFAULT_TOKENDIR "/var/lib/lib/softhsm/tokens/" | #define DEFAULT_OBJECTSTORE_BACKEND "file" | #define DEFAULT_LOG_LEVEL "INFO" | #define DEFAULT_PKCS11_LIB "/usr/lib64/softhsm/libsofthsm2.so" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:15460: checking for ld used by x86_64-pc-linux-gnu-g++ configure:15527: result: /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 configure:15534: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld configure:15549: result: yes configure:15604: checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries configure:16677: result: yes configure:16713: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden conftest.cpp >&5 configure:16716: $? = 0 configure:17197: checking for x86_64-pc-linux-gnu-g++ option to produce PIC configure:17204: result: -fPIC -DPIC configure:17212: checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works configure:17230: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden -fPIC -DPIC -DPIC conftest.cpp >&5 configure:17234: $? = 0 configure:17247: result: yes configure:17270: checking if x86_64-pc-linux-gnu-g++ static flag -static works configure:17298: result: yes configure:17310: checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o configure:17331: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden -o out/conftest2.o conftest.cpp >&5 configure:17335: $? = 0 configure:17357: result: yes configure:17362: checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o configure:17409: result: yes configure:17439: checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries configure:17479: result: yes configure:17620: checking dynamic linker characteristics configure:18378: result: GNU/Linux ld.so configure:18443: checking how to hardcode library paths into programs configure:18468: result: immediate configure:18643: checking that generated files are newer than configure configure:18649: result: done configure:18708: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by SoftHSM config.status 2.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on mr-fox config.status:1233: creating Makefile config.status:1233: creating softhsm2.module config.status:1233: creating src/Makefile config.status:1233: creating src/lib/Makefile config.status:1233: creating src/lib/common/Makefile config.status:1233: creating src/lib/common/softhsm2.conf config.status:1233: creating src/lib/common/softhsm2.conf.5 config.status:1233: creating src/lib/crypto/Makefile config.status:1233: creating src/lib/crypto/test/Makefile config.status:1233: creating src/lib/data_mgr/Makefile config.status:1233: creating src/lib/data_mgr/test/Makefile config.status:1233: creating src/lib/object_store/Makefile config.status:1233: creating src/lib/object_store/test/Makefile config.status:1233: creating src/lib/session_mgr/Makefile config.status:1233: creating src/lib/session_mgr/test/Makefile config.status:1233: creating src/lib/slot_mgr/Makefile config.status:1233: creating src/lib/slot_mgr/test/Makefile config.status:1233: creating src/lib/handle_mgr/Makefile config.status:1233: creating src/lib/handle_mgr/test/Makefile config.status:1233: creating src/lib/test/Makefile config.status:1233: creating src/lib/test/softhsm2.conf config.status:1233: creating src/lib/test/softhsm2-alt.conf config.status:1233: creating src/lib/test/tokens/dummy config.status:1233: creating src/bin/Makefile config.status:1233: creating src/bin/common/Makefile config.status:1233: creating src/bin/dump/Makefile config.status:1233: creating src/bin/keyconv/Makefile config.status:1233: creating src/bin/migrate/Makefile config.status:1233: creating src/bin/util/Makefile config.status:1233: creating config.h config.status:1462: executing depfiles commands config.status:1462: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -march=native -Wall' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPPUNIT_CFLAGS_set= ac_cv_env_CPPUNIT_CFLAGS_value= ac_cv_env_CPPUNIT_LIBS_set= ac_cv_env_CPPUNIT_LIBS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -pipe -march=native' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' 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_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib64/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_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_func_dlopen=no ac_cv_func_getpwuid_r=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_pthread_h=yes ac_cv_header_sched_h=yes ac_cv_header_sqlite3_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_mman_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_lib_crypto_BN_new=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_rt_sched_yield=yes ac_cv_lib_sqlite3_sqlite3_prepare_v2=yes 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_PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config ac_cv_path_SED=/bin/sed ac_cv_path_SQLITE3=/usr/bin/sqlite3 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_CXX=x86_64-pc-linux-gnu-g++ ac_cv_prog_CXXCPP='x86_64-pc-linux-gnu-g++ -E' 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_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__std_cpp11=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_LDCXX='/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64' 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_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=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' pkg_cv_CPPUNIT_CFLAGS= pkg_cv_CPPUNIT_LIBS=-lcppunit ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='x86_64-pc-linux-gnu-ar' AUTOCONF='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/missing autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/missing autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/missing automake-1.15' AWK='gawk' BOTAN_INCLUDES='' BOTAN_LIBS='' BOTAN_VERSION_MINOR='' BUILD_MIGRATE_FALSE='#' BUILD_MIGRATE_TRUE='' BUILD_OBJECTSTORE_BACKEND_DB_FALSE='' BUILD_OBJECTSTORE_BACKEND_DB_TRUE='#' CC='x86_64-pc-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-O2 -pipe -march=native -Wall -pedantic -Wall -Wextra -fvisibility=hidden' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' CPPUNIT_CFLAGS='' CPPUNIT_LIBS='-lcppunit' CRYPTO_INCLUDES='-I/usr/local/include' CRYPTO_LIBS='-L/usr/local/lib -lcrypto' CXX='x86_64-pc-linux-gnu-g++' CXXCPP='x86_64-pc-linux-gnu-g++ -E' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -pipe -march=native -Wall -Wextra -std=c++11 -fvisibility=hidden' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' HAVE_CXX11='1' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS=' -ldl' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/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' OPENSSL_INCLUDES='-I/usr/local/include' OPENSSL_LIBS='-L/usr/local/lib -lcrypto' OTOOL64='' OTOOL='' P11KIT_PATH='' PACKAGE='softhsm' PACKAGE_BUGREPORT='' PACKAGE_NAME='SoftHSM' PACKAGE_STRING='SoftHSM 2.2.0' PACKAGE_TARNAME='softhsm' PACKAGE_URL='' PACKAGE_VERSION='2.2.0' PATH_SEPARATOR=':' PKGCONFIG='' PKG_CONFIG='/usr/bin/x86_64-pc-linux-gnu-pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/usr/lib64/pkgconfig' RANLIB='x86_64-pc-linux-gnu-ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' SQLITE3='/usr/bin/sqlite3' SQLITE3_INCLUDES='-I/usr/local/include' SQLITE3_LIBS='-L/usr/local/lib -lsqlite3' STRIP='x86_64-pc-linux-gnu-strip' VERSION='2.2.0' VERSION_INFO='2:2:1' WITH_BOTAN_FALSE='' WITH_BOTAN_TRUE='#' WITH_ECC_FALSE='#' WITH_ECC_TRUE='' WITH_GOST_FALSE='' WITH_GOST_TRUE='#' WITH_OPENSSL_FALSE='#' WITH_OPENSSL_TRUE='' WITH_P11KIT_FALSE='' WITH_P11KIT_TRUE='#' YIELD_LIB='-lrt' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_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='${exec_prefix}/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' default_softhsm2_conf='/etc/softhsm2.conf' default_softhsm2_lib='/usr/lib64/softhsm/libsofthsm2.so' docdir='/usr/share/doc/softhsm-2.2.0-r2' dvidir='${docdir}' exec_prefix='${prefix}' 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='/usr/share/doc/softhsm-2.2.0-r2/html' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/dev-libs/softhsm-2.2.0-r2/work/softhsm-2.2.0/install-sh' libdir='/usr/lib64/softhsm' 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='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' softhsmtokendir='/var/lib/lib/softhsm/tokens/' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "SoftHSM" #define PACKAGE_TARNAME "softhsm" #define PACKAGE_VERSION "2.2.0" #define PACKAGE_STRING "SoftHSM 2.2.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "softhsm" #define VERSION "2.2.0" #define HAVE_CXX11 1 #define HAVE_DLOPEN 1 #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_PTHREAD_H 1 #define WITH_ECC /**/ #define HAVE_OPENSSL_SSL_H 1 #define HAVE_LIBCRYPTO 1 #define WITH_OPENSSL /**/ #define SENSITIVE_NON_PAGE /**/ #define HAVE_SYS_MMAN_H 1 #define HAVE_SQLITE3_H 1 #define HAVE_LIBSQLITE3 1 #define CRYPTOKI_VISIBILITY 1 #define HAVE_GETPWUID_R 1 #define VERSION_MAJOR 2 #define VERSION_MINOR 2 #define MAX_PIN_LEN 255 #define MIN_PIN_LEN 4 #define DEFAULT_SOFTHSM2_CONF "/etc/softhsm2.conf" #define DEFAULT_TOKENDIR "/var/lib/lib/softhsm/tokens/" #define DEFAULT_OBJECTSTORE_BACKEND "file" #define DEFAULT_LOG_LEVEL "INFO" #define DEFAULT_PKCS11_LIB "/usr/lib64/softhsm/libsofthsm2.so" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 0