This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by tpm2-tss configure 3.0.3, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-crypto=ossl --disable-doxygen-doc --disable-defaultflags --disable-fapi ## --------- ## ## Platform. ## ## --------- ## hostname = gcc159.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.9.0-16-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.9.272-2 (2021-07-19) /usr/bin/uname -p = unknown /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: /home/buildroot/autobuild/instance-1/output-1/host/bin/ PATH: /home/buildroot/autobuild/instance-1/output-1/host/sbin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2724: looking for aux files: ltmain.sh compile config.guess config.sub missing install-sh configure:2737: trying ./ configure:2766: ./ltmain.sh found configure:2766: ./compile found configure:2766: ./config.guess found configure:2766: ./config.sub found configure:2766: ./missing found configure:2748: ./install-sh found configure:2896: checking for a BSD-compatible install configure:2969: result: /usr/bin/install -c configure:2980: checking whether build environment is sane configure:3035: result: yes configure:3091: checking for riscv32-buildroot-linux-gnu-strip configure:3123: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-strip configure:3194: checking for a race-free mkdir -p configure:3238: result: /bin/mkdir -p configure:3245: checking for gawk configure:3266: found /usr/bin/gawk configure:3277: result: gawk configure:3288: checking whether make sets $(MAKE) configure:3311: result: yes configure:3341: checking whether make supports nested variables configure:3359: result: yes configure:3507: checking whether make supports nested variables configure:3525: result: yes configure:3553: checking build system type configure:3568: result: x86_64-pc-linux-gnu configure:3588: checking host system type configure:3602: result: riscv32-buildroot-linux-gnu configure:3640: checking whether to enable debugging configure:3705: result: no configure:3758: checking for riscv32-buildroot-linux-gnu-gcc configure:3790: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc configure:4188: checking for C compiler version configure:4197: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc --version >&5 riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:4208: $? = 0 configure:4197: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/riscv32-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv32-buildroot-linux-gnu/10.2.0/lto-wrapper Target: riscv32-buildroot-linux-gnu Configured with: ./configure --prefix=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1/etc --enable-static --target=riscv32-buildroot-linux-gnu --with-sysroot=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1/riscv32-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv32imafd --with-abi=ilp32d --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1/riscv32-buildroot-linux-gnu/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv32-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/:/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/lib/:/home/buildroot/autobuild/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/lib/:/home/buildroot/autobuild/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4208: $? = 1 configure:4197: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -V >&5 riscv32-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:4208: $? = 1 configure:4197: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -qversion >&5 riscv32-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:4208: $? = 1 configure:4197: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -version >&5 riscv32-linux-gcc.br_real: error: unrecognized command-line option '-version' configure:4208: $? = 1 configure:4228: checking whether the C compiler works configure:4250: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4254: $? = 0 configure:4304: result: yes configure:4307: checking for C compiler default output file name configure:4309: result: a.out configure:4315: checking for suffix of executables configure:4322: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4326: $? = 0 configure:4349: result: configure:4371: checking whether we are cross compiling configure:4409: result: yes configure:4414: checking for suffix of object files configure:4437: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4441: $? = 0 configure:4463: result: o configure:4467: checking whether the compiler supports GNU C configure:4487: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4487: $? = 0 configure:4497: result: yes configure:4508: checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc accepts -g configure:4529: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4529: $? = 0 configure:4573: result: yes configure:4593: checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc option to enable C11 features configure:4608: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:168:3: error: #error "Compiler does not advertise C11 conformance" 168 | # error "Compiler does not advertise C11 conformance" | ^~~~~ conftest.c:199:12: error: 'syntax' undeclared here (not in a function) 199 | #define u8 syntax error! | ^~~~~~ conftest.c:200:29: note: in expansion of macro 'u8' 200 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c:199:19: error: expected ',' or ';' before 'error' 199 | #define u8 syntax error! | ^~~~~ conftest.c:200:29: note: in expansion of macro 'u8' 200 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ configure:4608: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "your preprocessor is broken" | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static bool | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str = ""; | int number = 0; | float fnumber = 0; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:4608: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -std=gnu11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:168:3: error: #error "Compiler does not advertise C11 conformance" 168 | # error "Compiler does not advertise C11 conformance" | ^~~~~ conftest.c:199:12: error: 'syntax' undeclared here (not in a function) 199 | #define u8 syntax error! | ^~~~~~ conftest.c:200:29: note: in expansion of macro 'u8' 200 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ conftest.c:199:19: error: expected ',' or ';' before 'error' 199 | #define u8 syntax error! | ^~~~~ conftest.c:200:29: note: in expansion of macro 'u8' 200 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | ^~ configure:4608: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "your preprocessor is broken" | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static bool | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str = ""; | int number = 0; | float fnumber = 0; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:4621: result: unsupported configure:4639: checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc option to enable C99 features configure:4654: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4654: $? = 0 configure:4672: result: none needed configure:4742: checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc understands -c and -o together configure:4765: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c conftest.c -o conftest2.o configure:4768: $? = 0 configure:4765: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c conftest.c -o conftest2.o configure:4768: $? = 0 configure:4780: result: yes configure:4800: checking whether make supports the include directive configure:4815: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3' make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3' this is the am__doit target configure:4818: $? = 0 configure:4837: result: yes (GNU style) configure:4863: checking dependency style of /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc configure:4975: result: none configure:4990: checking whether ln -s works configure:4994: result: yes configure:5006: checking for stdio.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for stdlib.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for string.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for inttypes.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for stdint.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for strings.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for sys/stat.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for sys/types.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for unistd.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for wchar.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5006: $? = 0 configure:5006: result: yes configure:5006: checking for minix/config.h configure:5006: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:50:10: fatal error: minix/config.h: No such file or directory 50 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5006: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5006: result: no configure:5037: checking whether it is safe to define __EXTENSIONS__ configure:5056: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5056: $? = 0 configure:5064: result: yes configure:5067: checking whether _XOPEN_SOURCE should be defined configure:5089: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5089: $? = 0 configure:5116: result: no configure:5219: checking how to print strings configure:5246: result: printf configure:5267: checking for a sed that does not truncate output configure:5337: result: /bin/sed configure:5355: checking for grep that handles long lines and -e configure:5419: result: /bin/grep configure:5424: checking for egrep configure:5492: result: /bin/grep -E configure:5497: checking for fgrep configure:5565: result: /bin/grep -F configure:5601: checking for ld used by /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc configure:5669: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld configure:5676: checking if the linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld) is GNU ld configure:5692: result: yes configure:5704: checking for BSD- or MS-compatible name lister (nm) configure:5759: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm configure:5899: checking the name lister (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm) interface configure:5907: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5910: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm "conftest.o" configure:5913: output 00000000 B some_variable configure:5920: result: BSD nm configure:5924: checking the maximum length of command line arguments configure:6056: result: 1572864 configure:6104: checking how to convert x86_64-pc-linux-gnu file names to riscv32-buildroot-linux-gnu format configure:6145: result: func_convert_file_noop configure:6152: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:6173: result: func_convert_file_noop configure:6180: checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld option to reload object files configure:6188: result: -r configure:6222: checking for riscv32-buildroot-linux-gnu-objdump configure:6254: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-objdump configure:6331: checking how to recognize dependent libraries configure:6532: result: pass_all configure:6577: checking for riscv32-buildroot-linux-gnu-dlltool configure:6612: result: no configure:6622: checking for dlltool configure:6657: result: no configure:6687: checking how to associate runtime and link libraries configure:6715: result: printf %s\n configure:6731: checking for riscv32-buildroot-linux-gnu-ar configure:6763: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar configure:6849: checking for archiver @FILE support configure:6867: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6867: $? = 0 configure:6871: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar cru libconftest.a @conftest.lst >&5 configure:6874: $? = 0 configure:6879: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar cru libconftest.a @conftest.lst >&5 /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar: conftest.o: No such file or directory configure:6882: $? = 1 configure:6894: result: @ configure:6912: checking for riscv32-buildroot-linux-gnu-strip configure:6944: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-strip configure:7021: checking for riscv32-buildroot-linux-gnu-ranlib configure:7053: result: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ranlib configure:7200: checking command to parse /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm output from /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc object configure:7354: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7357: $? = 0 configure:7361: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm 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:7364: $? = 0 configure:7430: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:7433: $? = 0 configure:7471: result: ok configure:7518: checking for sysroot configure:7549: result: no configure:7556: checking for a working dd configure:7600: result: /bin/dd configure:7604: checking how to truncate binary pipes configure:7620: result: /bin/dd bs=4096 count=1 configure:7912: checking for riscv32-buildroot-linux-gnu-mt configure:7947: result: no configure:7957: checking for mt configure:7978: found /bin/mt configure:7989: result: mt configure:8001: WARNING: using cross tools not prefixed with host triplet configure:8012: checking if mt is a manifest tool configure:8019: mt '-?' configure:8027: result: no configure:8753: checking for dlfcn.h configure:8753: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8753: $? = 0 configure:8753: result: yes configure:9012: checking for objdir configure:9028: result: .libs configure:9292: checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc supports -fno-rtti -fno-exceptions configure:9311: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:9315: $? = 0 configure:9328: result: no configure:9686: checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc option to produce PIC configure:9694: result: -fPIC -DPIC configure:9702: checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc PIC flag -fPIC -DPIC works configure:9721: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:9725: $? = 0 configure:9738: result: yes configure:9767: checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc static flag -static works configure:9796: result: yes configure:9811: checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o configure:9833: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:9837: $? = 0 configure:9859: result: yes configure:9867: checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o configure:9915: result: yes configure:9948: checking whether the /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld) supports shared libraries configure:11214: result: yes configure:11251: checking whether -lc should be explicitly linked in configure:11260: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:11263: $? = 0 configure:11278: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11281: $? = 0 configure:11295: result: no configure:11455: checking dynamic linker characteristics configure:12037: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12037: $? = 0 configure:12276: result: GNU/Linux ld.so configure:12398: checking how to hardcode library paths into programs configure:12423: result: immediate configure:12975: checking whether stripping libraries is possible configure:12980: result: yes configure:13015: checking if libtool supports shared libraries configure:13017: result: yes configure:13020: checking whether to build shared libraries configure:13045: result: yes configure:13048: checking whether to build static libraries configure:13052: result: no configure:13089: checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc options needed to detect all undeclared functions configure:13111: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:45:8: error: 'strchr' undeclared (first use in this function) 45 | (void) strchr; | ^~~~~~ conftest.c:1:1: note: 'strchr' is defined in header ''; did you forget to '#include '? 1 | /* confdefs.h */ conftest.c:45:8: note: each undeclared identifier is reported only once for each function it appears in 45 | (void) strchr; | ^~~~~~ configure:13111: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | int | main (void) | { | (void) strchr; | ; | return 0; | } configure:13138: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13138: $? = 0 configure:13155: result: none needed configure:13182: checking for library containing dlopen configure:13212: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: /tmp/cc8kt21T.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:13212: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* 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. */ | char dlopen (); | int | main (void) | { | return dlopen (); | ; | return 0; | } configure:13212: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 configure:13212: $? = 0 configure:13232: result: -ldl configure:13322: checking for dlerror configure:13322: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl -ldl >&5 configure:13322: $? = 0 configure:13322: result: yes configure:13334: checking for shl_load configure:13334: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldl >&5 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: /tmp/ccFXPj86.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `shl_load' collect2: error: ld returned 1 exit status configure:13334: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | /* end confdefs.h. */ | /* Define shl_load to an innocuous variant, in case declares shl_load. | For example, HP-UX 11i declares gettimeofday. */ | #define shl_load innocuous_shl_load | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char shl_load (); below. */ | | #include | #undef shl_load | | /* 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 shl_load (); | /* 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_shl_load || defined __stub___shl_load | choke me | #endif | | int | main (void) | { | return shl_load (); | ; | return 0; | } configure:13334: result: no configure:13342: checking for shl_load in -ldld configure:13365: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldld -ldl >&5 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -ldld collect2: error: ld returned 1 exit status configure:13365: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | /* end confdefs.h. */ | | /* 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. */ | char shl_load (); | int | main (void) | { | return shl_load (); | ; | return 0; | } configure:13375: result: no configure:13421: checking for dld_link in -ldld configure:13444: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ldld -ldl >&5 /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/../../../../riscv32-buildroot-linux-gnu/bin/ld: cannot find -ldld collect2: error: ld returned 1 exit status configure:13444: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "tpm2-tss" | #define PACKAGE_TARNAME "tpm2-tss" | #define PACKAGE_VERSION "3.0.3" | #define PACKAGE_STRING "tpm2-tss 3.0.3" | #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" | #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" | #define PACKAGE "tpm2-tss" | #define VERSION "3.0.3" | #define NDEBUG /**/ | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define STDC_HEADERS 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define __EXTENSIONS__ 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | /* end confdefs.h. */ | | /* 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. */ | char dld_link (); | int | main (void) | { | return dld_link (); | ; | return 0; | } configure:13454: result: no configure:13781: checking pkg-config is at least version 0.9.0 configure:13784: result: yes configure:13899: checking for strndup configure:13899: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13899: $? = 0 configure:13899: result: yes configure:13907: checking for reallocarray configure:13907: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13907: $? = 0 configure:13907: result: yes configure:13986: checking for LIBCRYPTO configure:13993: $PKG_CONFIG --exists --print-errors "libcrypto" configure:13996: $? = 0 configure:14010: $PKG_CONFIG --exists --print-errors "libcrypto" configure:14013: $? = 0 configure:14071: result: yes ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99' ac_cv_env_CMOCKA_CFLAGS_set= ac_cv_env_CMOCKA_CFLAGS_value= ac_cv_env_CMOCKA_LIBS_set= ac_cv_env_CMOCKA_LIBS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CURL_CFLAGS_set= ac_cv_env_CURL_CFLAGS_value= ac_cv_env_CURL_LIBS_set= ac_cv_env_CURL_LIBS_value= ac_cv_env_DOXYGEN_PAPER_SIZE_set= ac_cv_env_DOXYGEN_PAPER_SIZE_value= ac_cv_env_JSONC_CFLAGS_set= ac_cv_env_JSONC_CFLAGS_value= ac_cv_env_JSONC_LIBS_set= ac_cv_env_JSONC_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBCRYPTO_CFLAGS_set= ac_cv_env_LIBCRYPTO_CFLAGS_value= ac_cv_env_LIBCRYPTO_LIBS_set= ac_cv_env_LIBCRYPTO_LIBS_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_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config 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=riscv32-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv32-buildroot-linux-gnu ac_cv_func_calloc_0_nonnull=yes ac_cv_func_dlerror=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_reallocarray=yes ac_cv_func_shl_load=no ac_cv_func_strndup=yes ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_minix_config_h=no ac_cv_header_stdint_h=yes ac_cv_header_stdio_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_header_wchar_h=yes ac_cv_host=riscv32-buildroot-linux-gnu ac_cv_lbl_unaligned_fail=yes ac_cv_lib_dld_dld_link=no ac_cv_lib_dld_shl_load=no 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/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc ac_cv_prog_OBJDUMP=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-objdump ac_cv_prog_RANLIB=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ranlib ac_cv_prog_STRIP=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c11=no ac_cv_prog_cc_c99= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_dlopen=-ldl ac_cv_should_define__xopen_source=no am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gl_cv_func_malloc_0_nonnull=yes libltdl_cv_lib_dl_dlopen=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=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld lt_cv_path_NM=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm 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=no 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_lib_search_path_spec= 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_LIBCRYPTO_CFLAGS= pkg_cv_LIBCRYPTO_LIBS='-L/home/buildroot/autobuild/instance-1/output-1/host/bin/../riscv32-buildroot-linux-gnu/sysroot/usr/lib -lcrypto ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/missing'\'' aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ar' AUTOCONF='${SHELL} '\''/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/missing'\'' autoconf' AUTOCONF_CODE_COVERAGE_2019_01_06_FALSE='' AUTOCONF_CODE_COVERAGE_2019_01_06_TRUE='' AUTOHEADER='${SHELL} '\''/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/missing'\'' automake-1.16' AWK='gawk' CC='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99' CMOCKA_CFLAGS='' CMOCKA_LIBS='' CODE_COVERAGE_CFLAGS='' CODE_COVERAGE_CPPFLAGS='' CODE_COVERAGE_CXXFLAGS='' CODE_COVERAGE_ENABLED='' CODE_COVERAGE_ENABLED_FALSE='' CODE_COVERAGE_ENABLED_TRUE='' CODE_COVERAGE_LDFLAGS='' CODE_COVERAGE_LIBS='' CODE_COVERAGE_RULES='' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CSCOPE='cscope' CTAGS='ctags' CURL_CFLAGS='' CURL_LIBS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DEVICEDESTRUCTIVE_FALSE='' DEVICEDESTRUCTIVE_TRUE='#' DEVICEMANDATORY_FALSE='#' DEVICEMANDATORY_TRUE='' DEVICEOPTIONAL_FALSE='' DEVICEOPTIONAL_TRUE='#' DISTCHECK_CONFIGURE_FLAGS=' '\''--target=riscv32-buildroot-linux-gnu'\'' '\''--host=riscv32-buildroot-linux-gnu'\'' '\''--build=x86_64-pc-linux-gnu'\'' '\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\'' '\''--sysconfdir=/etc'\'' '\''--localstatedir=/var'\'' '\''--program-prefix='\'' '\''--disable-gtk-doc'\'' '\''--disable-gtk-doc-html'\'' '\''--disable-doc'\'' '\''--disable-docs'\'' '\''--disable-documentation'\'' '\''--with-xmlto=no'\'' '\''--with-fop=no'\'' '\''--disable-dependency-tracking'\'' '\''--enable-ipv6'\'' '\''--disable-nls'\'' '\''--disable-static'\'' '\''--enable-shared'\'' '\''--with-crypto=ossl'\'' '\''--disable-doxygen-doc'\'' '\''--disable-defaultflags'\'' '\''--disable-fapi'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=riscv32-buildroot-linux-gnu'\'' '\''target_alias=riscv32-buildroot-linux-gnu'\'' '\''CC=/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-gcc'\'' '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2 -std=c99'\'' '\''LDFLAGS='\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' '\''PKG_CONFIG=/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config'\''' DLLTOOL='false' DOT_PATH='' DOXYGEN_PAPER_SIZE='' DOXYMAN_FALSE='' DOXYMAN_TRUE='' DSYMUTIL='' DUMPBIN='' DX_CONFIG='' DX_DOCDIR='' DX_DOT='' DX_DOXYGEN='' DX_DVIPS='' DX_EGREP='' DX_ENV='' DX_FLAG_chi='' DX_FLAG_chm='' DX_FLAG_doc='' DX_FLAG_dot='' DX_FLAG_html='' DX_FLAG_man='' DX_FLAG_pdf='' DX_FLAG_ps='' DX_FLAG_rtf='' DX_FLAG_xml='' DX_HHC='' DX_LATEX='' DX_MAKEINDEX='' DX_PDFLATEX='' DX_PERL='' DX_PROJECT='' DX_RULES='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_FUZZING_FALSE='' ENABLE_FUZZING_TRUE='' ENABLE_INTEGRATION='' ENABLE_INTEGRATION_FALSE='' ENABLE_INTEGRATION_TRUE='' ENABLE_TCTI_CMD_FALSE='#' ENABLE_TCTI_CMD_TRUE='' ENABLE_TCTI_DEVICE_FALSE='#' ENABLE_TCTI_DEVICE_TRUE='' ENABLE_TCTI_FUZZING_FALSE='' ENABLE_TCTI_FUZZING_TRUE='#' ENABLE_TCTI_MSSIM_FALSE='#' ENABLE_TCTI_MSSIM_TRUE='' ENABLE_TCTI_SWTPM_FALSE='#' ENABLE_TCTI_SWTPM_TRUE='' ENABLE_VALGRIND_drd='' ENABLE_VALGRIND_helgrind='' ENABLE_VALGRIND_memcheck='' ENABLE_VALGRIND_sgcheck='' ESYS_FALSE='#' ESYS_MBED_FALSE='' ESYS_MBED_TRUE='#' ESYS_OSSL_FALSE='#' ESYS_OSSL_TRUE='' ESYS_TRUE='' ETAGS='etags' EXEEXT='' EXTRA_CFLAGS='' EXTRA_LDFLAGS='' FAPI_FALSE='' FAPI_TRUE='#' FGREP='/bin/grep -F' FUZZ_LDFLAGS='' GCOV='' GENERATE_CHI='' GENERATE_HTML='' GENERATE_HTMLHELP='' GENERATE_LATEX='' GENERATE_MAN='' GENERATE_RTF='' GENERATE_XML='' GENHTML='' GREP='/bin/grep' HAVE_DOT='' HAVE_LD_VERSION_SCRIPT_FALSE='' HAVE_LD_VERSION_SCRIPT_TRUE='' HHC_PATH='' HOSTOS='Linux' HOSTOS_LINUX_FALSE='#' HOSTOS_LINUX_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTEGRATION_ARGS='' INTEGRATION_TCTI='' JSONC_CFLAGS='' JSONC_LIBS='' LCOV='' LD='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ld' LDFLAGS='' LIBADD_DL='-ldl ' LIBADD_DLD_LINK='' LIBADD_DLOPEN='-ldl' LIBADD_SHL_LOAD='' LIBCRYPTO_CFLAGS='' LIBCRYPTO_LIBS='-L/home/buildroot/autobuild/instance-1/output-1/host/bin/../riscv32-buildroot-linux-gnu/sysroot/usr/lib -lcrypto ' LIBOBJS='' LIBS='' LIBSOCKET_LDFLAGS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_DLLOADERS=' dlopen.la' LT_DLPREOPEN='-dlpreopen dlopen.la ' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} '\''/home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/missing'\'' makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-nm' NMEDIT='' NO_DL_FALSE='' NO_DL_TRUE='#' OBJDUMP='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='tpm2-tss' PACKAGE_BUGREPORT='https://github.com/tpm2-software/tpm2-tss/issues' PACKAGE_NAME='tpm2-tss' PACKAGE_STRING='tpm2-tss 3.0.3' PACKAGE_TARNAME='tpm2-tss' PACKAGE_URL='https://github.com/tpm2-software/tpm2-tss' PACKAGE_VERSION='3.0.3' PAPER_SIZE='' PATH='/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH_SEPARATOR=':' PERL_PATH='' PKG_CONFIG='/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PROJECT='' RANLIB='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-ranlib' SANITIZER_CFLAGS='' SANITIZER_LDFLAGS='' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SRCDIR='' STRIP='/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv32-linux-strip' TESTDEVICE_FALSE='' TESTDEVICE_TRUE='#' TSS2_ESYS_CFLAGS_CRYPTO='' TSS2_ESYS_LDFLAGS_CRYPTO='-L/home/buildroot/autobuild/instance-1/output-1/host/bin/../riscv32-buildroot-linux-gnu/sysroot/usr/lib -lcrypto ' UNIT_FALSE='' UNIT_TRUE='#' VALGRIND='' VALGRIND_CHECK_RULES='' VALGRIND_ENABLED='' VALGRIND_ENABLED_FALSE='' VALGRIND_ENABLED_TRUE='' VERSION='3.0.3' WITH_UDEVRULESPREFIX_FALSE='' WITH_UDEVRULESPREFIX_TRUE='#' 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='${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='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv32-buildroot-linux-gnu' host_alias='riscv32-buildroot-linux-gnu' host_cpu='riscv32' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/autobuild/instance-1/output-1/build/tpm2-tss-3.0.3/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfigdir='${libdir}/pkgconfig' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' result_awk='' result_basename='' result_cat='' result_dirname='' result_doxygen='' result_echo='' result_env='' result_expr='' result_grep='' result_kill='' result_mktemp='' result_od='' result_realpath='' result_rm='' result_sleep='' result_sockstat='' result_ss='' result_stdbuf='' result_swtpm='' result_tpm_server='' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' sysusersdir='/etc/sysusers.d' target_alias='riscv32-buildroot-linux-gnu' tmpfilesdir='/etc/tmpfiles.d' udevrulesdir='${exec_prefix}/lib/udev/rules.d' udevrulesprefix='' userstatedir='.local/share' valgrind_enabled_tools='' valgrind_tools='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "tpm2-tss" #define PACKAGE_TARNAME "tpm2-tss" #define PACKAGE_VERSION "3.0.3" #define PACKAGE_STRING "tpm2-tss 3.0.3" #define PACKAGE_BUGREPORT "https://github.com/tpm2-software/tpm2-tss/issues" #define PACKAGE_URL "https://github.com/tpm2-software/tpm2-tss" #define PACKAGE "tpm2-tss" #define VERSION "3.0.3" #define NDEBUG /**/ #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_WCHAR_H 1 #define STDC_HEADERS 1 #define _ALL_SOURCE 1 #define _DARWIN_C_SOURCE 1 #define _GNU_SOURCE 1 #define _HPUX_ALT_XOPEN_SOCKET_API 1 #define _NETBSD_SOURCE 1 #define _OPENBSD_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 #define __STDC_WANT_LIB_EXT2__ 1 #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 #define _TANDEM_SOURCE 1 #define __EXTENSIONS__ 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_LIBDLLOADER 1 #define SYSCONFDIR "/etc" #define HAVE_REALLOCARRAY 1 #define OSSL 1 #define TCTI_DEVICE 1 #define TCTI_MSSIM 1 #define TCTI_SWTPM 1 #define TCTI_CMD 1 configure: exit 2